Shelf 13 · AI
Build a Large Language Model (From Scratch)
Builds a GPT-style language model in PyTorch, making each major component explicit. Follows the implementation through text preparation, attention, pretraining, and fine-tuning for classification and instruction following.
- 01LLM development stages
- 02Tokenization
- 03Training batches
- 04Token and positional embeddings
- 05Self-attention
- 06Causal and multi-head attention
- 07GPT architecture
- 08Pretraining and loss evaluation
- 09Text generation
- 10Loading pretrained weights
- 11Classification fine-tuning
- 12Instruction fine-tuning
