---
title: "train-llm-from-scratch vs LLMs-from-scratch"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/fareedkhan-dev-train-llm-from-scratch-vs-rasbt-llms-from-scratch"
tools: ["fareedkhan-dev-train-llm-from-scratch", "rasbt-llms-from-scratch"]
---

# train-llm-from-scratch vs LLMs-from-scratch

Neutral, constraint-first comparison with live GitHub stats.

| | [train-llm-from-scratch](/tools/fareedkhan-dev-train-llm-from-scratch.md) | [LLMs-from-scratch](/tools/rasbt-llms-from-scratch.md) |
| --- | --- | --- |
| Tagline | A method for training a Large Language Model (LLM) from scratch using Python. | Implement a ChatGPT-like LLM in PyTorch from scratch |
| Stars | 8,137 | 98,715 |
| Forks | 1,119 | 15,148 |
| Open issues | 2 | 4 |
| Language | Python | Jupyter Notebook |
| License | MIT | Other |
| Categories | Model Training, LLM Frameworks | Model Training, LLM Frameworks |

**Typed relationship:** train-llm-from-scratch _(related)_ LLMs-from-scratch

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=fareedkhan-dev-train-llm-from-scratch`](/api/graphcanon/graph?tool=fareedkhan-dev-train-llm-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/_
