Build an LLM from Scratch 6: Finetuning for Classification
April 4, 2025
26,952
611
39
2.41%
Search the Record
IndexedEvery word spoken in this episode is indexed. Type any phrase to jump straight to the moment it was said.
Type any word or phrase that may have been spoken. Click a result to seek the player to that exact moment.
Try a name, a topic, or a quoted line
Sebastian Raschka Episodes Around April 4, 2025
See what was published immediately before and after this episode.
2:15:29Now PlayingBuild an LLM from Scratch 6: Finetuning for Classification
Chapters
YouTube Description
as posted by the channelLinks to the book:
Link to the GitHub repository
This is a supplementary video explaining how to finetune an LLM as a classifier (here using a spam classification example) as a gentle introduction to fine-tuning, before instruction finetuning the LLM in the next video.
You can find additional bonus materials on GitHub:
Additional experiments finetuning different layers and using larger models,
Finetuning different models on 50k IMDB movie review dataset,
Building a User Interface to Interact With the GPT-based Spam Classifier,
Guests & Subjects Covered
Sentinel Indexing in Progress
Metadata and chapters are available. Claim extraction for this episode is pending.
All video content is delivered via YouTube embedded players in accordance with the YouTube Terms of Service. Sentinel provides research tools that promote discovery and accountability across political media.









