Train Your Own Tiny LLM on Your PC In Just A Few Hours
How to train your own 10M parameter LLM | Get started with SerpApi using 250 free credits: https://serpapi.com/?utm_source=youtube&utm_campaign=garyexplains_july_2026
Here is everything you need to train your own 10 million parameter LLM using the complete works of Shakespeare. It works on a PC with or without a GPU.
---
LLM Links:
- https://github.com/angelos-p/llm-from-scratch/tree/main
- https://github.com/garyexplains/examples/tree/master/tinynanogpt_chartok
- https://github.com/garyexplains/examples/tree/master/tinystoriesgpt
- https://huggingface.co/datasets/roneneldan/TinyStories/tree/main
- https://huggingface.co/datasets/next-token/clean-PD-16000-books3
This video was sponsored by SerpApi.
00:00 Intro
02:07 10M parameter LLM trained on Shakespeare
07:40 24M parameter LLM trained on Tiny Stories
11:15 Wrap
X: https://twitter.com/garyexplains
GitHub: https://github.com/garyexplains
#garyexplains
Gary Explains
Gary tries his best to explain how stuff works....