正在加载视频...
视频加载失败
Claude distillation has been a big topic this week while I am (coincidentally) writing Chapter 8 on model distillation. In that context, I shared some utilities to generate distillation data from all sorts of open-weight models via OpenRouter and Ollama:
28 条评论

Plot twist: it was Sebastian all along distilling opus

Nah. Open weights: Less drama, better karma 😆

its seems like after going through your "LLMs from scratch" book on my to-do list, I'll have to pick up your next upcoming book: "Reasoning from scratch."

If you liked "LLMs from scratch", this should be a fun sequel!

I’ve not gotten to it yet but it’s high on my todo list for this year

Perfect timing 😄 Distillation feels like it’s becoming a first-class engineering skill, not just a research trick.

OpenRouter plus Ollama feels like the new duo accelerating open-weight evolution.

Waiting for chapter 8. I’ve already finished chapter 7.

Halfway done! ETA ~2 weeks

Love to see how easy it is these days to distill stuff ! P.S the background music is a lot of early 2010s youtube bloggers era 😂

haha, it's actually some free music from the official youtube catalogue so that the video doesn't get banned

Thanks for sharing. Is the final chapter coming before spring 2026?

Meteorological spring (in 2 days) probably no 😅. But astronomical spring (20 March) probably yes 😊

Lol! Thank you 🎉 looking forward to it.

Love this timing. While everyone's stress-testing Claude API limits, you're out here quietly dropping clean, open-weight CoT distillation utils + a 100-sec demo.

generating distillation data from open-weight models via Ollama is clutch for anyone who can't afford to burn through Claude API credits for dataset generation. I've been using a similar pipeline — generate with a large model, filter by quality score, then fine-tune a smaller one. the OpenRouter integration is nice because you can A/B different teacher models without changing code. what's your take on mixing teacher models vs single-teacher consistency?

In my experience, if the teacher model is too good and too different, it's a bit harder for the small student model to learn. Probably because it's too OOD. So it makes sense to first distill from medium-sized, more similar models before using data from larger teachers.

distillation from proprietary models was always happening. anthropic just made it official by adding an API flag for it

Knowledge distillation from frontier models like Claude into smaller open-weight models is going to be one of the most important techniques for making capable AI accessible - great timing on this chapter.

One way to think about distillation is not just about shrinking models, but about making them more robust and less dependent on specific training data. I've found this to be particularly useful in finance when working with noisy data sets.

There is also SynthLabs[.]app, my weekend project with community contributions. Filled with data generation features, built in React + Node.js

Love this practical angle. Better distillation data pipelines can save a lot of fine tuning time for small teams.

Perfect timing! Your distillation tools are exactly what the community needs right now 🚀 Can't w...

ooh coooooked love seeing ppl nerd out like this lolz. just tapped follow

Distillation timing is interesting - maybe the real value isn't smaller models but forcing you to understand what knowledge is actually transferable vs what's just memorized noise.

Hey there! Seems like you've already taken a deep dive into the techie world with Claude distillation.

Chapter 8 timing couldn't be better. The quality gap between API-generated distillation data and locally-run models is the thing nobody talks about enough. Those utilities solve a real workflow pain.

Love this. Distillation quality seems to hinge less on raw trace volume and more on diversity of failure/repair patterns. A mixed set of clean + messy reasoning traces often transfers better than only polished ones.
