Source
https://www.udemy.com/course/build-your-own-chatgpt-llm-transformers-from-scratch/
Category
File Size
1.0 GB
Publisher
Vaibhav Kumar Singh
Updated
October 7, 2026
Description
This course contains the use of artificial intelligence. Ever wondered what really happens inside ChatGPT? In this course, you’ll find out by building one yourself. Build Your Own ChatGPT takes you from zero to a working GPT-style language model, written in Python. No black boxes and no shortcuts. You’ll write every line and understand why it works.
What you’ll build, step by step:
- A tokenizer: use byte-pair encoding to turn raw text into tokens and numbers
- Embeddings: represent tokens as vectors the model can learn from
- Self-attention: queries, keys, values, causal masking and multi-head attention
- The transformer: feed-forward layers, residual connections and layer normalization
- Training: train your model on real text and watch the loss fall
- Text generation: sample from your model and chat with your own GPT
Every concept is explained visually first and then coded from scratch, so the math becomes clear and the code makes sense.
Preview
1 image Download File






