#328 · Primary category: Education & Research
tiny-universe
Tiny-Universe: A fully hand-crafted, white-box guide to building large models.
Project last updated:02/12/26
GitHub Stars
5.0K
Forks
477
Contributors
14
License
Other
Why we included this project
Tiny-Universe is a hands-on guide to building large language model systems from the ground up, written for developers who already use LLM tooling but want to understand what happens inside it. The project walks through implementing a minimal Transformer, pretraining a small Llama-style model on about 2GB of VRAM, building RAG and GraphRAG pipelines from scratch, assembling a minimal agent, adding an evaluation setup, and even training a diffusion model for image generation. Everything is plain PyTorch with heavily commented code, so you can follow each step without reaching for a high-level framework. The modules are self-contained, which makes it easy to jump straight to the part you care about, whether that is attention mechanics, evaluating model outputs, or tracing a query through a GraphRAG pipeline. If you have basic deep learning knowledge and have only ever called these systems through an API, this is a solid way to see the machinery underneath.
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