Sebastian Raschka
Sebastian Raschka
@sebastianraschka·88.6K subscribers·306 videos

Build an LLM from Scratch 6: Finetuning for Classification

Posted

April 4, 2025

Views

26,952

Likes

611

Comments

39

Engagement

2.41%

Search the Record

Indexed

Every 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

Chapters

YouTube Description

as posted by the channel

Links 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

Build an LLM from Scratch 6Manning LinkGitHub AdditionalUser InterfaceInteract WithGPT-based Spam Classifier

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.

Build an LLM from Scratch 6: Finetuning for Classification · Sebastian Raschka · Sentinel