#361 · Primary category: Education & Research
llm-internals
Learn LLM internals step by step - from tokenization to attention to inference optimization.
Project last updated:08/19/26
GitHub Stars
1.5K
Forks
174
Contributors
1
License
Apache-2.0
Why we included this project
This series explains how large language models work from the inside, starting with tokenization and Byte Pair Encoding and moving through the math behind Query, Key, and Value attention, causal masking, backpropagation, cross-entropy loss, and the Transformer architecture. Each post works through a concrete numeric example, and every topic has a video or written tutorial, so you can pick the format you prefer. It assumes you already have some machine learning background and want the mechanics spelled out rather than skimmed over. The author keeps adding new material, which makes the repository a useful index for self-study, whether you are learning the pieces in order or jumping straight to the part you need before training or optimizing your own models.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI