Library / Artificial Intelligence
Build Your Own ChatGPT: LLM & Transformers From Scratch
On Udemy
About this course
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.
Who this course is for:
- Developers who use LLMs and want to understand how they really work
Students and data scientists moving into AI and NLPAnyone curious about the technology behind ChatGPTRequirements: basic Python. Familiarity with high school math helps, and everything else is taught along the way.
By the end, you won't just use AI. You'll know how to build it.
Enroll now and start building your own ChatGPT today.
Ready to start? Continue on Udemy to enroll.
Start learning on Udemy (opens in a new tab)Prices, discounts and availability are set by Udemy. We may earn a commission when you purchase through links on this site.
0 courses
Udemy: 2026-10-22 · Coursera: 2026-10-22 · O'Reilly: 2026-10-22 · 365 Data Science: 2026-10-22
Prices and discounts are shown on each provider's site.
No courses found.
Try fewer words or clear your filters.