Loading video...

Video Failed to Load

Go Home

Ex-NVIDIA engineer who built Unsloth explained RL, kernels, reasoning, quantization, and agents in 2 hours 42 minutes - better than $5000 fine-tuning bootcamps. pick the base model -> write triton kernels for 2x faster fine-tune -> quantize to 4-bit -> run GRPO/DPO -> ship a reasoning model on your...

497,378 views • 3 months ago •via X (Twitter)

34 Comments

Daniel Han's profile picture
Daniel Han3 months ago

Thanks for the support! We did another 3 hour one at AIE last week! Look out for the recording on YT hopefully in weeks!

Akumu's profile picture
Akumu3 months ago

@danielhanchen YouTube link:

Tony Ge's profile picture
Tony Ge3 months ago

@grok can you find the video on youtube

Preston Badeer's profile picture
Preston Badeer3 months ago

Source:

Kirtan's profile picture
Kirtan3 months ago

YT link:

leopardracer's profile picture
leopardracer3 months ago

This is the kind of talk that’s worth watching all the way through instead of just reading the highlights

Lee Penkman's profile picture
Lee Penkman3 months ago

love unsloth team very cracked

Arindam Majumder 𝕏's profile picture
Arindam Majumder 𝕏3 months ago

I also wrote an article on Loop Engineering:

May Contain Nuts's profile picture
May Contain Nuts3 months ago

I tuned into a Gemini live stream that featured Daniel a couple months ago. It was that stream that convinced me that AI is the real deal. When obviously-smart MFs like him are pursuing this stuff, it's like wildfire.

Dmitrii Malakhov's profile picture
Dmitrii Malakhov3 months ago

Spent a month debugging browser automation edge cases before my agent stopped breaking in production. No bootcamp preps you for that.

Alexander Benz's profile picture
Alexander Benz3 months ago

been self-taught my whole life. the 2h42m from someone who actually shipped it > any bootcamp

ViceSol's profile picture
ViceSol3 months ago

This is a solid overview of the modern open-source fine-tuning stack. Understanding the concepts matters more than memorizing the tools

Diam's profile picture
Diam3 months ago

Crazy that this is becoming something you can just try at home.

anvxxr's profile picture
anvxxr3 months ago

@grok what video means?

Poetica's profile picture
Poetica3 months ago

the goat

arpit bansal's profile picture
arpit bansal3 months ago

Oh this is the last year's session. Have they does this year's one?

Swarup Das's profile picture
Swarup Das3 months ago

Solid overview of the single-GPU stack. Just finished fine-tuning a Qwen model with Unsloth last week-2x speed really holds up.

Harry Tandy's profile picture
Harry Tandy3 months ago

unsloth makes fine-tuning accessible without a massive gpu cluster

Rodds's profile picture
Rodds3 months ago

Most people are learning how to use AI. The real leverage comes from learning how to build and fine-tune it. That's the difference between being a user and becoming a builder.

ro's profile picture
ro3 months ago

@ycombinator TIL there are fine-tuning boot camps 😂

Akshaya Kumawat's profile picture
Akshaya Kumawat3 months ago

Game-changing approach! Who else is excited to ditch the $5000 bootcamps and optimize their workflow with Unsloth?

Prince does AI's profile picture
Prince does AI3 months ago

the single GPU line is what got me

Nabeel K.'s profile picture
Nabeel K.3 months ago

The pipeline is real, but the sequence is backwards for most people. Quantize-then-GRPO only makes sense once you already know your reward signal is stable at full precision. Debug RL at 4-bit and you cannot tell if the policy collapsed or the quantization did.

ContextFirstAI's profile picture
ContextFirstAI3 months ago

It's refreshing to see someone explain the full pipeline instead of just sharing another fine-tuning tutorial. Understanding why each step exists makes a huge difference.

Silverrock's profile picture
Silverrock3 months ago

This is gold! Been waiting for a no-BS deep dive on GRPO + Unsloth stack. Watching tonight and shipping my first reasoning model on one GPU. Legend work @danielhanchen 🔥

bk's profile picture
bk3 months ago

do you think you will get another community notes saying the quoted article is not related to the speech unsloth founder gave?

Ujjawal Sahay's profile picture
Ujjawal Sahay3 months ago

Excellent resource. Practical insights into fine tuning, optimization, and AI agents are exactly what the community needs as open-source AI continues to evolve. Thanks for sharing. A follow back would be greatly appreciated. Looking forward to learning from your future posts!```

Jabir | AI Systems's profile picture
Jabir | AI Systems3 months ago

Great stuff

yb's profile picture
yb3 months ago

Also recommend this tool that helps you manage your loop

Julley Thai's profile picture
Julley Thai3 months ago

that kernel optimization part is the real differentiator because most people just import hf and pray it works

0xSurdo.ETH's profile picture
0xSurdo.ETH3 months ago

bootcamps are just tax

Technomechanicus's profile picture
Technomechanicus3 months ago

Fine tune for what? Been hearing it for ages. I want to see what people have created after fine tuning.

Ian Channing 🦈@ianchanning@mastodon.social's profile picture
Ian Channing 🦈@[email protected]3 months ago

This is one of the most amazing introductions I've ever seen to a technical talk. Such unpretentious wonderful excitement and enthusiasm. Love it.

Adel Bucetta's profile picture
Adel Bucetta3 months ago

because the hard part was never writing kernels, it's optimizing performance without sacrificing reasoning

Related Videos

New Course: Reinforcement Fine-Tuning LLMs with GRPO! Learn to use reinforcement learning to improve your LLM performance in this short course, built in collaboration with Predibase by Rubrik, and taught by Travis Addair, its Co-Founder and CTO, and Arnav Garg, its Senior Engineer and Machine Learning Lead. Reasoning models have been one of the most important developments in LLMs. Reinforcement Fine-Tuning (RFT) uses rewards to encourage LLMs to find solutions to multi-step reasoning tasks such as solving math problems and debugging code - without needing pre-existing training examples like in traditional supervised fine-tuning. Group Relative Policy Optimization (GRPO) is a reinforcement fine-tuning algorithm gaining rapid adoption. Developed by the DeepSeek team and used to train the R1 reasoning model, GRPO uses reward functions that you can write in Python to assign rewards to model responses. It’s beneficial for tasks with verifiable outcomes and can work well even with fewer than 100 training examples. It can also significantly improve the reasoning ability of smaller LLMs, making applications faster and more cost effective. In this course, you’ll take a technical deep dive into RFT with GRPO. You’ll learn to build reward functions that you can use in the GRPO training process to guide an LLM toward better performance on multi-step reasoning tasks. In detail, you’ll: - Learn when reinforcement fine-tuning is a better fit than supervised fine-tuning, especially for tasks involving multi-step reasoning or limited labeled data. - Understand how GRPO uses programmable reward functions as a more scalable alternative to the human feedback required for other reinforcement learning algorithms, such as RLHF and DPO. - Frame the Wordle game as a reinforcement fine-tuning problem and see how an LLM can learn to plan, analyze feedback, and improve its strategy over time. - Design reward functions that power the reinforcement fine-tuning process. - Learn techniques for evaluating more subjective tasks, such as rating the quality of a text summary, using an LLM as a judge. - Understand why reward hacking happens and how to avoid it by adding penalty functions to discourage undesirable behaviors. - Learn the four key components of the loss calculation in the GRPO algorithm: token probability distribution ratios, advantages, clipping, and KL-divergence. - Launch reinforcement fine-tuning jobs using Predibase’s hosted training services. By the end of this course, you’ll be able to build and fine-tune LLMs using reinforcement learning to improve reasoning without relying on large labeled datasets or subjective human feedback. Please sign up here:

Andrew Ng

86,697 views • 1 year ago