Comparison
LLMs-from-scratch vs ai-engineering-from-scratch
Verdict
Pick LLMs-from-scratch if 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; pick ai-engineering-from-scratch if specifically designed for individuals looking to build a comprehensive understanding of AI tools and frameworks from the ground up.
Markdown twin · LLMs-from-scratch alternatives · ai-engineering-from-scratch alternatives
GraphCanon updated 6d
Trust & integrity
| Signal | LLMs-from-scratch | ai-engineering-from-scratch |
|---|---|---|
| Maintenance | Very active (5d since push) As of 1w · github_public_v1 | Very active (6d since push) As of 6d · github_public_v1 |
| Provenance | Not a fork · Personal account As of 1w · github_public_v1 | Not a fork · Personal account As of 6d · github_public_v1 |
| OSV dependency advisories | No lockfile (source not queried) As of 1mo · osv@v1 | Published findings As of 3w · osv@v1 |
| deps.dev advisories | Not queried deps.dev@v1 | Not queried deps.dev@v1 |
| OpenSSF Scorecard | Not queried openssf-scorecard@v1 | Not queried openssf-scorecard@v1 |
Tagline
- LLMs-from-scratch
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
- ai-engineering-from-scratch
- Learn it. Build it. Ship it for others.
Stars
- LLMs-from-scratch
- 103k
- ai-engineering-from-scratch
- 47k
Forks
- LLMs-from-scratch
- 16k
- ai-engineering-from-scratch
- 8.2k
Open issues
- LLMs-from-scratch
- 2
- ai-engineering-from-scratch
- 107
Language
- LLMs-from-scratch
- Jupyter Notebook
- ai-engineering-from-scratch
- 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-engineering-from-scratch
- Specifically designed for individuals looking to build a comprehensive understanding of AI tools and frameworks from the ground up.
Persona
- LLMs-from-scratch
- -
- ai-engineering-from-scratch
- -
Runtime
- LLMs-from-scratch
- -
- ai-engineering-from-scratch
- -
License
- LLMs-from-scratch
- Other
- ai-engineering-from-scratch
- MIT
Last pushed
- LLMs-from-scratch
- Aug 10, 2026
- ai-engineering-from-scratch
- Aug 10, 2026
Categories
- LLMs-from-scratch
- LLM Frameworks, Model Training
- ai-engineering-from-scratch
- AI Agents, Computer Vision, Developer Tools, LLM Frameworks
Trust and health
Days since push
- LLMs-from-scratch
- 5d
- ai-engineering-from-scratch
- 6d
Open issues (now)
- LLMs-from-scratch
- 2
- ai-engineering-from-scratch
- 107
Stars delta
- LLMs-from-scratch
- +3.5k (30d)
- ai-engineering-from-scratch
- +8.3k (30d)
Open issues delta
- LLMs-from-scratch
- -1 (30d)
- ai-engineering-from-scratch
- +9 (30d)
OSV dependency advisories
- LLMs-from-scratch
- No lockfile (source not queried)
- ai-engineering-from-scratch
- Published findings
Full report
- LLMs-from-scratch
- Trust report
- ai-engineering-from-scratch
- Trust report
Typed relationship
Choose LLMs-from-scratch if…
- LLMs-from-scratch is primarily Jupyter Notebook; ai-engineering-from-scratch is Python.
- License: LLMs-from-scratch is Other, ai-engineering-from-scratch is MIT.
- 'ai-engineering-from-scratch' and 'LLMs-from-scratch' both aim at teaching how to build AI models from scratch, though they have a focus on different sets of tools or methods.
- Tags unique to LLMs-from-scratch: ai, artificial-intelligence, attention-mechanism, finetuning.
- Also covers Model Training.
- - 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-engineering-from-scratch if…
- ai-engineering-from-scratch is primarily Python; LLMs-from-scratch is Jupyter Notebook.
- License: ai-engineering-from-scratch is MIT, LLMs-from-scratch is Other.
- Pricing: The `ai-engineering-from-scratch` repository is free and open-source under an MIT license, but for full access to additional resources or support, a paid option may be provided. Consult official or up.
- 'ai-engineering-from-scratch' and 'LLMs-from-scratch' both aim at teaching how to build AI models from scratch, though they have a focus on different sets of tools or methods.
- Tags unique to ai-engineering-from-scratch: agents, ai-engineering, computer-vision, llm.
- Also covers AI Agents, Computer Vision, Developer Tools.
- When you want to start with foundational knowledge and learn the intricacies behind AI systems.
When NOT to use ai-engineering-from-scratch
- If you are looking for a quick setup or ready-to-go solution without diving into the foundational understanding.
- When your project requires immediate practical application with less emphasis on self-implemented solutions from scratch.
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 Aug 16, 2026
- GitHub forks (rasbt/LLMs-from-scratch) · observed Aug 16, 2026
- Last push (rasbt/LLMs-from-scratch) · observed Aug 10, 2026
- License file (Other) · observed Aug 16, 2026
- Decision facts (enrichment) · observed Jul 11, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
- GitHub stars (rohitg00/ai-engineering-from-scratch) · observed Aug 16, 2026
- GitHub forks (rohitg00/ai-engineering-from-scratch) · observed Aug 16, 2026
- Last push (rohitg00/ai-engineering-from-scratch) · observed Aug 10, 2026
- License file (MIT) · observed Aug 16, 2026
- Decision facts (enrichment) · observed Jul 11, 2026
- Trust scan (lockfile / OSV) · observed Aug 2, 2026
GitHub stars on cards: LLMs-from-scratch 103k · ai-engineering-from-scratch 47k (synced Aug 16, 2026).
Common questions
- What is the difference between LLMs-from-scratch and ai-engineering-from-scratch?
- LLMs-from-scratch: Implement a ChatGPT-like LLM in PyTorch from scratch, step by step. ai-engineering-from-scratch: Learn it. Build it. Ship it for others.. See the comparison table for live GitHub stats and shared categories.
- When should I choose LLMs-from-scratch over ai-engineering-from-scratch?
- Choose LLMs-from-scratch over ai-engineering-from-scratch when LLMs-from-scratch is primarily Jupyter Notebook; ai-engineering-from-scratch is Python; License: LLMs-from-scratch is Other, ai-engineering-from-scratch is MIT; 'ai-engineering-from-scratch' and 'LLMs-from-scratch' both aim at teaching how to build AI models from scratch, though they have a focus on different sets of tools or methods; Tags unique to LLMs-from-scratch: ai, artificial-intelligence, attention-mechanism, finetuning; Also covers Model Training; - You are an advanced practitioner aiming to fully understand the underpinnings of LLMs using PyTorch as your primary framework.
- When should I choose ai-engineering-from-scratch over LLMs-from-scratch?
- Choose ai-engineering-from-scratch over LLMs-from-scratch when ai-engineering-from-scratch is primarily Python; LLMs-from-scratch is Jupyter Notebook; License: ai-engineering-from-scratch is MIT, LLMs-from-scratch is Other; Pricing: The
ai-engineering-from-scratchrepository is free and open-source under an MIT license, but for full access to additional resources or support, a paid option may be provided. Consult official or up; 'ai-engineering-from-scratch' and 'LLMs-from-scratch' both aim at teaching how to build AI models from scratch, though they have a focus on different sets of tools or methods; Tags unique to ai-engineering-from-scratch: agents, ai-engineering, computer-vision, llm; Also covers AI Agents, Computer Vision, Developer Tools; When you want to start with foundational knowledge and learn the intricacies behind AI systems. - 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-engineering-from-scratch?
- If you are looking for a quick setup or ready-to-go solution without diving into the foundational understanding. When your project requires immediate practical application with less emphasis on self-implemented solutions from scratch.
- Is LLMs-from-scratch or ai-engineering-from-scratch more popular on GitHub?
- LLMs-from-scratch has more GitHub stars (102,733 vs 46,862). Stars measure visibility, not whether either tool fits your constraints.
- Are LLMs-from-scratch and ai-engineering-from-scratch open source?
- Yes - both are open-source projects on GitHub (LLMs-from-scratch: Other, ai-engineering-from-scratch: MIT).
- Where can I find alternatives to LLMs-from-scratch or ai-engineering-from-scratch?
- GraphCanon lists graph-backed alternatives at LLMs-from-scratch alternatives and ai-engineering-from-scratch alternatives (LLMs-from-scratch markdown twin, ai-engineering-from-scratch 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-engineering-from-scratch?
- LLMs-from-scratch: Very active. ai-engineering-from-scratch: 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-engineering-from-scratch?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: LLMs-from-scratch trust report; ai-engineering-from-scratch trust report.