---
title: "LLMs-from-scratch vs R2R"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/rasbt-llms-from-scratch-vs-sciphi-ai-r2r"
tools: ["rasbt-llms-from-scratch", "sciphi-ai-r2r"]
---

# LLMs-from-scratch vs R2R

Neutral, constraint-first comparison with live GitHub stats.

| | [LLMs-from-scratch](/tools/rasbt-llms-from-scratch.md) | [R2R](/tools/sciphi-ai-r2r.md) |
| --- | --- | --- |
| Tagline | Implement a ChatGPT-like LLM in PyTorch from scratch | SoTA production-ready AI retrieval system. |
| Stars | 98,715 | 7,920 |
| Forks | 15,148 | 644 |
| Open issues | 4 | 121 |
| Language | Jupyter Notebook | Python |
| License | Other | MIT |
| Categories | Model Training, LLM Frameworks | Data & Retrieval, LLM Frameworks |

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=rasbt-llms-from-scratch`](/api/graphcanon/graph?tool=rasbt-llms-from-scratch)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
