正在加载视频...

视频加载失败

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:

63,331 次观看 • 8 个月前 •via X (Twitter)

28 条评论

Karol 的头像
Karol8 个月前

Plot twist: it was Sebastian all along distilling opus

Sebastian Raschka 的头像
Sebastian Raschka8 个月前

Nah. Open weights: Less drama, better karma 😆

Chiz 的头像
Chiz8 个月前

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."

Sebastian Raschka 的头像
Sebastian Raschka8 个月前

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

Chiz 的头像
Chiz8 个月前

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

Hiruna 的头像
Hiruna8 个月前

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

Martin Szerment | Practical AI 的头像
Martin Szerment | Practical AI8 个月前

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

TimNito 的头像
TimNito8 个月前

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

Sebastian Raschka 的头像
Sebastian Raschka8 个月前

Halfway done! ETA ~2 weeks

Bojan Jakimovski 的头像
Bojan Jakimovski8 个月前

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 😂

Sebastian Raschka 的头像
Sebastian Raschka8 个月前

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

Shivasurya 的头像
Shivasurya8 个月前

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

Sebastian Raschka 的头像
Sebastian Raschka8 个月前

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

Shivasurya 的头像
Shivasurya8 个月前

Lol! Thank you 🎉 looking forward to it.

Wise Tech 的头像
Wise Tech8 个月前

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.

dnu 的头像
dnu8 个月前

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?

Sebastian Raschka 的头像
Sebastian Raschka8 个月前

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.

Nova 的头像
Nova8 个月前

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

Denis Wachter 的头像
Denis Wachter8 个月前

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.

Gregor 的头像
Gregor8 个月前

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.

Mariusz Kurman 的头像
Mariusz Kurman8 个月前

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

Strakyo 的头像
Strakyo8 个月前

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

M.en 的头像
M.en8 个月前

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

Snibby 的头像
Snibby8 个月前

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

toni 的头像
toni8 个月前

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.

LightShift Studio 的头像
LightShift Studio8 个月前

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

Colin Darling 的头像
Colin Darling8 个月前

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.

Clinker 的头像
Clinker8 个月前

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.

相关视频