Comparison
LLMs-from-scratch vs AI-Compass
Verdict
Pick LLMs-from-scratch when lLMs-from-scratch is primarily Jupyter Notebook; AI-Compass is Python; pick AI-Compass when aI-Compass is primarily Python; LLMs-from-scratch is Jupyter Notebook.
Markdown twin · LLMs-from-scratch alternatives · AI-Compass alternatives
GraphCanon updated today
vs
Trust & integrity
| Signal | LLMs-from-scratch | AI-Compass |
|---|---|---|
| Maintenance | Steady (38d since push) As of 1d · github_public_v1 | Very active (1d since push) As of 1d · github_public_v1 |
| Provenance | Not a fork · Personal account As of 1d · github_public_v1 | Not a fork · Personal account As of 1d · github_public_v1 |
| Security (OSV) | No lockfile As of 1d · none | No lockfile As of 1d · none |
Tagline
- LLMs-from-scratch
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
- AI-Compass
- “AI-Compass”将为社区指引在 AI 技术海洋中航行的方向,无论你是初学者还是进阶开发者,都能在这里找到通往 AI 各大方向的路径。旨在帮助开发者系统性地了解 AI 的核心概念、主流技术、前沿趋势,并通过实践掌握从理论到落地的全过程。
Stars
- LLMs-from-scratch
- 99k
- AI-Compass
- 845
Forks
- LLMs-from-scratch
- 15k
- AI-Compass
- 109
Open issues
- LLMs-from-scratch
- 4
- AI-Compass
- 1
Language
- LLMs-from-scratch
- Jupyter Notebook
- AI-Compass
- Python
Adopt for
- LLMs-from-scratch
- LLMs-from-scratch is a project-oriented repository aimed at building PyTorch-based language models from the ground up, with detailed step-by-step instructions.
- AI-Compass
- -
Persona
- LLMs-from-scratch
- -
- AI-Compass
- -
Runtime
- LLMs-from-scratch
- -
- AI-Compass
- -
License
- LLMs-from-scratch
- Other
- AI-Compass
- -
Last pushed
- LLMs-from-scratch
- Jun 2, 2026
- AI-Compass
- Jul 10, 2026
Categories
- LLMs-from-scratch
- LLM Frameworks, Model Training
- AI-Compass
- AI Agents, LLM Frameworks, Model Training
Trust and health
Maintenance
- LLMs-from-scratch
- Steady (60%)
- AI-Compass
- Very active (96%)
Days since push
- LLMs-from-scratch
- 38d
- AI-Compass
- 1d
Open issues (now)
- LLMs-from-scratch
- 4
- AI-Compass
- 1
Full report
- LLMs-from-scratch
- Trust report
- AI-Compass
- Trust report
Choose LLMs-from-scratch if…
- LLMs-from-scratch is primarily Jupyter Notebook; AI-Compass is Python.
- Tags unique to LLMs-from-scratch: artificial-intelligence, attention mechanism, deep-learning, finetuning.
- - You are an advanced practitioner aiming to fully understand the underpinnings of LLMs using PyTorch as your primary framework.
When NOT to use LLMs-from-scratch
- - If you are looking for a rapid deployment of an LLM without understanding its intricate structure - this tool requires extensive manual and conceptual work.
- - You prefer frameworks with automatic model generation or other high-level abstractions that simplify the process. This repository emphasizes manual creation, which is more time-consuming but offers
- a deeper learning experience.
Choose AI-Compass if…
- AI-Compass is primarily Python; LLMs-from-scratch is Jupyter Notebook.
- Tags unique to AI-Compass: agent, llm, llm-inference, llm-training.
- Also covers AI Agents.
When NOT to use AI-Compass
- AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism.
- LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.
- Model Training: Try prompting and RAG first; fine-tuning is the answer to style/format, not missing knowledge.
Explore
Sources
Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.
- GitHub stars (rasbt/LLMs-from-scratch) · observed Jul 11, 2026
- GitHub forks (rasbt/LLMs-from-scratch) · observed Jul 11, 2026
- Last push (rasbt/LLMs-from-scratch) · observed Jun 2, 2026
- License file (Other) · observed Jul 11, 2026
- Decision facts (enrichment) · observed Jul 11, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
- GitHub stars (tingaicompass/AI-Compass) · observed Jul 11, 2026
- GitHub forks (tingaicompass/AI-Compass) · observed Jul 11, 2026
- Last push (tingaicompass/AI-Compass) · observed Jul 10, 2026
- License file (unknown) · observed Jul 11, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
GitHub stars on cards: LLMs-from-scratch 99k · AI-Compass 845 (synced Jul 11, 2026).
Common questions
- What is the difference between LLMs-from-scratch and AI-Compass?
- LLMs-from-scratch: Implement a ChatGPT-like LLM in PyTorch from scratch, step by step. AI-Compass: “AI-Compass”将为社区指引在 AI 技术海洋中航行的方向,无论你是初学者还是进阶开发者,都能在这里找到通往 AI 各大方向的路径。旨在帮助开发者系统性地了解 AI 的核心概念、主流技术、前沿趋势,并通过实践掌握从理论到落地的全过程。. See the comparison table for live GitHub stats and shared categories.
- When should I choose LLMs-from-scratch over AI-Compass?
- Choose LLMs-from-scratch over AI-Compass when LLMs-from-scratch is primarily Jupyter Notebook; AI-Compass is Python; Tags unique to LLMs-from-scratch: artificial-intelligence, attention mechanism, deep-learning, finetuning; - You are an advanced practitioner aiming to fully understand the underpinnings of LLMs using PyTorch as your primary framework.
- When should I choose AI-Compass over LLMs-from-scratch?
- Choose AI-Compass over LLMs-from-scratch when AI-Compass is primarily Python; LLMs-from-scratch is Jupyter Notebook; Tags unique to AI-Compass: agent, llm, llm-inference, llm-training; Also covers AI Agents.
- When should I avoid LLMs-from-scratch?
- - If you are looking for a rapid deployment of an LLM without understanding its intricate structure - this tool requires extensive manual and conceptual work. - You prefer frameworks with automatic model generation or other high-level abstractions that simplify the process. This repository emphasizes manual creation, which is more time-consuming but offers a deeper learning experience.
- When should I avoid AI-Compass?
- AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism. LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves. Model Training: Try prompting and RAG first; fine-tuning is the answer to style/format, not missing knowledge.
- Is LLMs-from-scratch or AI-Compass more popular on GitHub?
- LLMs-from-scratch has more GitHub stars (98,899 vs 845). Stars measure visibility, not whether either tool fits your constraints.
- Are LLMs-from-scratch and AI-Compass open source?
- Yes - both are open-source projects on GitHub.
- Where can I find alternatives to LLMs-from-scratch or AI-Compass?
- GraphCanon lists graph-backed alternatives at LLMs-from-scratch alternatives and AI-Compass alternatives (LLMs-from-scratch markdown twin, AI-Compass markdown twin), ranked by typed relationship edges rather than popularity votes.
- Is there a machine-readable version of this comparison?
- Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
- Which is better maintained, LLMs-from-scratch or AI-Compass?
- LLMs-from-scratch: Steady. AI-Compass: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
- Where are the full trust reports for LLMs-from-scratch and AI-Compass?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: LLMs-from-scratch trust report; AI-Compass trust report.