anuj0456/OpenArch
PyTorch implementations of modern open-source LLM architectures (Llama, Qwen, DeepSeek, Gemma, GPT-OSS, Kimi, and more) — written from scratch for readability and learning, based on Sebastian Raschka's LLM Architecture Gallery.
About the project
Educational PyTorch implementations of modern open-source LLM architectures (Llama, Qwen, DeepSeek, Gemma, GPT-OSS, Kimi, and more), written from scratch with one readable file per model for comparing architectural choices.
Useful for
- Study how attention, MoE, and normalization work in a specific model from a single file
- Compare architectural choices across LLMs side by side for an article or talk
- Contribute an implementation of an uncovered model from the LLM Architecture Gallery
README summarized by DeepSeek V4.1 Flash. Details may be inaccurate.
Why it’s trending
- 7 stars so far today, about 9 expected by the end of the day.
- The spike has held for 3 days in a row — not a one-off blip.
- Hacker News: “OpenArch – PyTorch implementations of modern LLM architectures” — 139 points, 4 days ago.
- Recent forks include notable developers: @ccckmit (675 followers), @pjt3591oo (382 followers).
Stars per day
Bars are daily stars, the line is the usual pace. Red marks spike days.
Numbers
- Total stars
- 397
- Stars in a day
- 9
- Forks
- 34
- Issues and pull requests
- 17
- Watchers
- 4
- Language
- Python
- License
- MIT
- Created
- May 27, 2026
- Last push
- September 18, 2026
Star trust
Growth looks organic: forks and discussion are in line with active projects, and stars arrive unevenly, the way people give them.
These are heuristics, not a verdict: we judge by the repository’s behavior, not by a list of stargazers.
Hacker News discussions
- OpenArch – PyTorch implementations of modern LLM architectures139 points, September 14, 2026
Spotted in
- September 18, 2026Spotted on Hacker News
- September 17, 2026Spotted on Hacker News
- September 16, 2026Spotted on Hacker News
- September 15, 2026Spotted on Hacker News
- September 14, 2026Spotted on Hacker News
Similar projects
-
8.6
TheoLeeCJ/SemIf
An open reproduction of the Jev-style semantic decision interface: reads typed option probabilities directly from a 4B model's logits without generating text. Runs on a single RTX 3090.
-
7.1
vinnylarouge/jevlike
A small trainable model that picks one option from a changing list of text options in a single forward pass, an open alternative to TypeSafe's Jev. Aimed at developers who need fast classification or menu selection…
-
6.9
Continuum-AI-Corp/OrcaBonsai-27B-Uncensored
A tool for runtime refusal ablation in the compressed Ternary Bonsai 2 27B LLM: it projects the residual stream to remove the refusal direction without modifying or re-quantizing weights. Runs on Apple Silicon via MLX.
-
6.6
TianyuCodings/NanoJev
A nano replica of Jev built on Qwen3-0.6B that outputs probability distributions over candidates in a single forward pass with no token decoding, plus a training pipeline and game demos (maze, Snake).
-
6.3
zhengkid/Dream-RSI
Research project on recursive self-improvement: past discovery histories become a replay simulator used to evaluate and refine exploration policies. Code is still being prepared; paper and demo are available.
-
4.9
ekzhang/openjev-sglang
HTTP server implementing the TypeSafe/Jev API for structured text classification on Qwen3.6-35B-A3B via SGLang; returns answer probabilities without generating a chain of thought.