mmastrac

Joined 19 years ago

Karma
50,064
Submissions
4,682
Member since
Jul 3
Matt Mastracci

Playing with fun tech.

  Mastodon: @[email protected] (https://hachyderm.io/@mmastrac)
  Email me: [email protected]
  LinkedIn: https://www.linkedin.com/in/matthewmastracci/
View on Hacker News

Recent submissions

Comment · 5 days ago
(this is just made up tokenization but it's close enough to the real world)

If the user types <tool_call>, you get < (token id = 32), tool_call (41), > (102). It never decodes to <tool_call>, which is spicy number 12345, for example.

The tool call tokens are _always_ composed of multiple real tokens, so you can never get them from normal text.

Seeing <tool_call> is a bit misleading because that's just a debug rendering if anything. The front-end sees a special number and knows it's a toolcall. The chat template uses that text form because it's easier than writing the spicy numbers there, but it also has a special parsing mode for those.

Comment · 5 days ago
They are a special token that you can't just type out in text. It _renders_ as text, but cannot be input into the system as text. The model understands the difference between the textual toolcall token and the "special" one that's really just a spicy number.
Comment · 5 days ago
Yes, absolutely. The problem is integrating it into the inference engine. Not impossible, just _very hard_.
Comment · 5 days ago
Amusingly constrained decoding is the same approach we use to turn an AR model into a /v1/systemone endpoint (I worked on the vLLM feature).

Tool calling is fraught with peril, especially because there's nothing that necessarily says that a models tools are fixed in place for the life of its run. In some cases, tools are added mid-run to avoid a giant prefix miss and (at least last time I checked!), the industry has not settled on OpenAI-style chat message formats for tool call updates.

I would absolutely prefer to run in a fully-constrained tool call environment, and would love if we hadn't YOLO'd the whole thing! The PTC-style tools sort of fix this by punting tool calling to JavaScript, but that's even harder to enforce, and models not trained on the style might take a turn of failed tool calls to get it right.

Comment · 23 days ago
There are some interesting gaps in the proofs. Where did 045 go?
Comment · 1 month ago
That's not true. I ran Cerebras as an experimental ultrafast Jev and it was faster.
Comment · 1 month ago
Nice. I saw some git-on-durable-objects projects but I'd so much prefer a straight object storage option.
Comment · 1 month ago
I'd be interested to see if using DiffusionGemma-as-Jev helps as you can feed the image directly into the model and it'll make decisions based on the image embeddings.
Comment · 1 month ago
I suspect you could get interesting results, but DiffusionGemma has a lot of knowledge that may be challenging to train into the smaller models. The advantage of pulling a fully-trained diffusion model off the shelf is that it already knows all of this, has been trained as a MoE, etc.

What I think these models actually need is a structured decision thinking mode. As it stands now, the only way to think about the answers with DiffusionGemma is to diffuse a thinking block, but giving the model an auto-regressive thinking space to reason, even just lightly, could drastically improve performance.

Comment · 1 month ago
I believe you get better answers by diffusing each question together, but the PR's server gives you finer control over that. If each question is independent, you can get better parallelism.
Comment · 1 month ago
Comment · 1 month ago
That's a rough place to land on a spark. It seems unlikely to be memory bandwidth at this model size, but maybe just lack of tuned kernels? The chip is missing some CUDA features but with tuning you should be able to hit way more than that even without a drafter.
Comment · 1 month ago
Send me an email- it's not public just yet
Comment · 1 month ago
I've been working with an automatic incremental context compactor enabled and it's been surprisingly helpful. It was particularly effective with DS41f - I think I was running at an effective session length of 5M, with the model running around 300k-400k and it was holding on both speed and intelligence.

TBH I also ran the 400tok/s preview and that was just nuts. I just let the thing compact over and over over the course of a day attacking a couple of tough problems

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton