LLMs-from-scratch Repository Surpasses 100k GitHub Stars
rasbt · x · 2026-08-07
Sebastian Raschka announced that his open-source tutorial project LLMs-from-scratch has surpassed 100,000 stars on GitHub. The project is designed to help developers understand and build large language models from the ground up.
Key highlights of the repository include:
- Complete From-Scratch Code Path: Covers tokenization, attention mechanisms, pretraining, classification, and instruction fine-tuning.
- Mainstream Architecture Implementations: From-scratch implementations of smaller variants of Llama, Qwen, Gemma, and Olmo that run locally.
- Cutting-Edge Techniques: Includes implementations of GQA, MLA, sliding-window attention, DeepSeek Sparse Attention, cross-layer KV sharing, and MoE.
- Engineering Practices: Covers KV caching, training performance, memory-efficient weight loading, DPO, evaluation, and LoRA.
Raschka also teased a larger applied custom “small” LLM project he is currently working on, promising to share more soon.
Related event: "LLMs-from-scratch" Open-Source Tutorial Surpasses 100k GitHub Stars(2 posts)→
More from Research
- Pedro Domingos dismisses 'read the world model, skip RL' paper with a blunt 'TL;DR: No' — pmddomingos · 2026-11-30
- Microsoft's Minsu Kim to Give NUS Talk on Revisiting Value Learning in LLM Post-Training — xuanalogue · 2026-11-30
- Why distilling from DeepSeek-R1 beats older teachers: full reasoning traces — DavidSHolz · 2026-11-30
- Peter Shor says he sees no real evidence behind rumors AI found a fast factoring algorithm — GiorgioPatrini · 2026-11-30
- Chess Transformer hits 2545 Elo after 260x training speedup — realSharonZhou · 2026-11-30
- Claude Broke Post-Quantum Signature Scheme HAWK in 60 Hours, Prompting Withdrawal — r0ck3t23 · 2026-11-30