Source

GitHub · LLM101n: LLM101n: Let's build a Storyteller

Open the source

Karpathy outlines a planned course in which learners build a Storyteller AI large language model and turn it into a functioning ChatGPT-like web app. He teaches LLMs end-to-end from basic language modeling through training, optimization, inference, finetuning, deployment, and multimodal systems, using Python, C, and CUDA with minimal prerequisites.

- Learners build a Storyteller LLM that can create, refine, and illustrate short stories. - The course builds every component from scratch and culminates in a functioning web application similar to ChatGPT. - The progression begins with bigram and n-gram language models before introducing attention and transformers. - Later chapters address practical efficiency through devices, mixed precision, distributed optimization, caching, and quantization. - The syllabus covers the full model lifecycle, including datasets, supervised finetuning, reinforcement learning, inference, and deployment. - The intended outcome is a relatively deep understanding of AI, LLMs, and deep learning more generally.

Based on Andrej Karpathy's public content. Not affiliated with or endorsed by Andrej Karpathy.

Supports these rules

Quotes from this video

“We are going to build everything end-to-end from basics to a functioning web app similar to ChatGPT, from scratch in Python, C and CUDA, and with minimal computer science prerequisites.”

“In this course we will build a Storyteller AI Large Language Model (LLM).”

“Hand in hand, you'll be able to create, refine and illustrate little [stories](https://huggingface.co/datasets/roneneldan/TinyStories) with the”

“Chapter 01 **Bigram Language Model** (language modeling)”

“Chapter 05 **Transformer** (transformer, residual, layernorm, GPT-2)”

“Chapter 16 **Deployment** (API, web app)”

Topics