AI: Local AI & Model Types
Build a language model from scratch
Advanced
11 views
Course overview
Understand every line, from tokeniser and attention to the training loop, by building and training a small GPT yourself.
Level: Advanced · Mode: Part-time
Who this course is for
Engineers who want to understand language models from the inside.
What you will learn
- Write a tokeniser
- Implement self-attention and a transformer block
- Pre-train a small language model
- Instruction-tune it to follow requests
Syllabus
- Module 1: Tokenisation
- Module 2: Embeddings and positions
- Module 3: Self-attention
- Module 4: The transformer block
- Module 5: Pre-training
- Module 6: Instruction tuning
Final project
Every module ends in hands-on practice, and the course ends with a project you build and present. Your certificate names that project.
Before you start
Deep learning.
Open-source tools you will use
Uses open code from rasbt/LLMs-from-scratch (Apache-2.0) and nanoGPT (MIT). The accompanying book is sold separately.