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

Build an LLM from Scratch 2: Working with text data

Posted

March 2, 2025

Views

92,014

Likes

1,702

Comments

112

Engagement

1.97%

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 going over text data preparations steps (tokenization, byte pair encoding, data loaders, etc.) for LLM training.

You can find additional bonus materials on GitHub:

Byte Pair Encoding (BPE) Tokenizer From Scratch,

Comparing Various Byte Pair Encoding (BPE) Implementations,

Understanding the Difference Between Embedding Layers and Linear Layers,

Data sampling with a sliding window with number data,

A video on the effect of random seeds

Guests & Subjects Covered

Build an LLM from Scratch 2Manning LinkDifference Between Embedding LayersLinear Layers Data

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 2: Working with text data · Sebastian Raschka · Sentinel