Home/Compare/LLMs-from-scratch vs reasoning-from-scratch

Comparison

LLMs-from-scratch vs reasoning-from-scratch

Verdict

Pick LLMs-from-scratch if lLMs-from-scratch is a guide for building a ChatGPT-like language model using PyTorch, aimed at educational purposes and designed for use with accessible hardware; pick reasoning-from-scratch if a step-by-step guide to building a reasoning large language model (LLM) using PyTorch, suitable for running on consumer hardware with automatic GPU utilization.

Markdown twin · LLMs-from-scratch alternatives · reasoning-from-scratch alternatives

GraphCanon updated Sep 20, 2026

18views this month

LLMs-from-scratch logo

LLMs-from-scratch

rasbt/LLMs-from-scratch

★ 105kpushed Sep 17, 2026
vs
reasoning-from-scratch logo

reasoning-from-scratch

rasbt/reasoning-from-scratch

★ 5.0kpushed Aug 4, 2026

Trust & integrity

SignalLLMs-from-scratchreasoning-from-scratch
Maintenance
Very active (0d since push)
As of Sep 18, 2026 · github_public_v1
Active (12d since push)
As of Aug 17, 2026 · github_public_v1
Provenance
Not a fork · Personal account
As of Sep 18, 2026 · github_public_v1
Not a fork · Personal account
As of Aug 17, 2026 · github_public_v1
OSV dependency advisories
Published findings
As of Sep 18, 2026 · osv@v1
Published findings
As of Jul 11, 2026 · 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
reasoning-from-scratch
Implement a reasoning LLM in PyTorch from scratch, step by step

Stars

LLMs-from-scratch
105k
reasoning-from-scratch
5.0k

Forks

LLMs-from-scratch
16k
reasoning-from-scratch
759

Open issues

LLMs-from-scratch
2
reasoning-from-scratch
2

Language

LLMs-from-scratch
Jupyter Notebook
reasoning-from-scratch
Jupyter Notebook

Adopt for

LLMs-from-scratch
LLMs-from-scratch is a guide for building a ChatGPT-like language model using PyTorch, aimed at educational purposes and designed for use with accessible hardware.
reasoning-from-scratch
A step-by-step guide to building a reasoning large language model (LLM) using PyTorch, suitable for running on consumer hardware with automatic GPU utilization.

Persona

LLMs-from-scratch
-
reasoning-from-scratch
-

Runtime

LLMs-from-scratch
-
reasoning-from-scratch
-

License

LLMs-from-scratch
The license is not specified as a standard open-source license, indicating that users should review the license terms carefully before use.
reasoning-from-scratch
Apache-2.0 License

Last pushed

LLMs-from-scratch
Sep 17, 2026
reasoning-from-scratch
Aug 4, 2026

Categories

LLMs-from-scratch
LLM Frameworks, Model Training
reasoning-from-scratch
LLM Frameworks, Model Training

Trust and health

Maintenance

LLMs-from-scratch
Very active (96%)
reasoning-from-scratch
Active (82%)

Days since push

LLMs-from-scratch
0d
reasoning-from-scratch
12d

Stars delta

LLMs-from-scratch
+2.4k (30d)
reasoning-from-scratch
+252 (30d)

Full report

LLMs-from-scratch
Trust report
reasoning-from-scratch
Trust report

Typed relationship

LLMs-from-scratch alternative reasoning-from-scratchBoth repositories aim to implement a large language model from scratch in PyTorch, but they likely differ slightly in implementation and specifics.

Choose LLMs-from-scratch if…

  • License: LLMs-from-scratch is Other, reasoning-from-scratch is Apache-2.0.
  • Requirements: Min 8 GB RAM; The code automatically utilizes GPUs if they are available, but it is designed to run on conventional laptops without specialized hardware..
  • Both repositories aim to implement a large language model from scratch in PyTorch, but they likely differ slightly in implementation and specifics.
  • Tags unique to LLMs-from-scratch: attention-mechanism, finetuning, generative-ai, gpt.
  • When you are interested in understanding the inner workings of large language models and want to build one from scratch using PyTorch.

When NOT to use LLMs-from-scratch

  • If you are looking for a quick and efficient way to deploy a pre-trained language model without delving into the implementation details.
  • When you require a production-ready solution, as LLMs-from-scratch is primarily designed for educational purposes and may not be optimized for industrial use.

Choose reasoning-from-scratch if…

  • License: reasoning-from-scratch is Apache-2.0, LLMs-from-scratch is Other.
  • Requirements: Automatic GPU utilization where available, though not strictly necessary for the early chapters..
  • Both repositories aim to implement a large language model from scratch in PyTorch, but they likely differ slightly in implementation and specifics.
  • Tags unique to reasoning-from-scratch: chain-of-thought, distillation, inference-time-scaling, large-language-models.
  • When you have intermediate knowledge of PyTorch and want detailed insights into the implementation process of reasoning LLMS.

When NOT to use reasoning-from-scratch

  • Avoid this tool if you are looking for rapid prototyping or quick model deployment; it focuses more on understanding and building the LLM from scratch rather than providing prebuilt components.
  • If specialized server hardware is available and preferred for the entire project, as chapters 5 and 6 recommend GPU use but earlier sections can be completed with just a CPU.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: LLMs-from-scratch 105k · reasoning-from-scratch 5.0k (synced Sep 20, 2026).

Common questions

What is the difference between LLMs-from-scratch and reasoning-from-scratch?
LLMs-from-scratch: Implement a ChatGPT-like LLM in PyTorch from scratch, step by step. reasoning-from-scratch: Implement a reasoning LLM in PyTorch from scratch, step by step. See the comparison table for live GitHub stats and shared categories.
When should I choose LLMs-from-scratch over reasoning-from-scratch?
Choose LLMs-from-scratch over reasoning-from-scratch when License: LLMs-from-scratch is Other, reasoning-from-scratch is Apache-2.0; Requirements: Min 8 GB RAM; The code automatically utilizes GPUs if they are available, but it is designed to run on conventional laptops without specialized hardware.; Both repositories aim to implement a large language model from scratch in PyTorch, but they likely differ slightly in implementation and specifics; Tags unique to LLMs-from-scratch: attention-mechanism, finetuning, generative-ai, gpt; When you are interested in understanding the inner workings of large language models and want to build one from scratch using PyTorch.
When should I choose reasoning-from-scratch over LLMs-from-scratch?
Choose reasoning-from-scratch over LLMs-from-scratch when License: reasoning-from-scratch is Apache-2.0, LLMs-from-scratch is Other; Requirements: Automatic GPU utilization where available, though not strictly necessary for the early chapters.; Both repositories aim to implement a large language model from scratch in PyTorch, but they likely differ slightly in implementation and specifics; Tags unique to reasoning-from-scratch: chain-of-thought, distillation, inference-time-scaling, large-language-models; When you have intermediate knowledge of PyTorch and want detailed insights into the implementation process of reasoning LLMS.
When should I avoid LLMs-from-scratch?
If you are looking for a quick and efficient way to deploy a pre-trained language model without delving into the implementation details. When you require a production-ready solution, as LLMs-from-scratch is primarily designed for educational purposes and may not be optimized for industrial use.
When should I avoid reasoning-from-scratch?
Avoid this tool if you are looking for rapid prototyping or quick model deployment; it focuses more on understanding and building the LLM from scratch rather than providing prebuilt components. If specialized server hardware is available and preferred for the entire project, as chapters 5 and 6 recommend GPU use but earlier sections can be completed with just a CPU.
Is LLMs-from-scratch or reasoning-from-scratch more popular on GitHub?
LLMs-from-scratch has more GitHub stars (105,176 vs 4,998). Stars measure visibility, not whether either tool fits your constraints.
Are LLMs-from-scratch and reasoning-from-scratch open source?
Yes - both are open-source projects on GitHub (LLMs-from-scratch: Other, reasoning-from-scratch: Apache-2.0).
Where can I find alternatives to LLMs-from-scratch or reasoning-from-scratch?
GraphCanon lists graph-backed alternatives at LLMs-from-scratch alternatives and reasoning-from-scratch alternatives (LLMs-from-scratch markdown twin, reasoning-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 reasoning-from-scratch?
LLMs-from-scratch: Very active. reasoning-from-scratch: 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 reasoning-from-scratch?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: LLMs-from-scratch trust report; reasoning-from-scratch trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.