Home/Compare/LLMs-from-scratch vs llm-pruning-collection

Comparison

LLMs-from-scratch vs llm-pruning-collection

Verdict

Pick LLMs-from-scratch when lLMs-from-scratch is primarily Jupyter Notebook; llm-pruning-collection is Python; pick llm-pruning-collection when llm-pruning-collection is primarily Python; LLMs-from-scratch is Jupyter Notebook.

Markdown twin · LLMs-from-scratch alternatives · llm-pruning-collection alternatives

GraphCanon updated today

LLMs-from-scratch logo

LLMs-from-scratch

rasbt/LLMs-from-scratch

99kpushed Jun 2, 2026
vs
llm-pruning-collection logo

llm-pruning-collection

zlab-princeton/llm-pruning-collection

69pushed Apr 20, 2026

Trust & integrity

SignalLLMs-from-scratchllm-pruning-collection
Maintenance
Steady (38d since push)
As of 4d · github_public_v1
Steady (85d since push)
As of today · github_public_v1
Provenance
Not a fork · Personal account
As of 4d · github_public_v1
Not a fork · Organization account
As of today · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of 4d · osv@v1
No lockfile (source not queried)
As of today · 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
llm-pruning-collection
A collection of various llm pruning implementations, training code for GPUs & TPUs, and evaluation script.

Stars

LLMs-from-scratch
99k
llm-pruning-collection
69

Forks

LLMs-from-scratch
15k
llm-pruning-collection
8

Open issues

LLMs-from-scratch
4
llm-pruning-collection
2

Language

LLMs-from-scratch
Jupyter Notebook
llm-pruning-collection
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.
llm-pruning-collection
-

Persona

LLMs-from-scratch
-
llm-pruning-collection
-

Runtime

LLMs-from-scratch
-
llm-pruning-collection
-

License

LLMs-from-scratch
Other
llm-pruning-collection
Apache-2.0

Last pushed

LLMs-from-scratch
Jun 2, 2026
llm-pruning-collection
Apr 20, 2026

Categories

LLMs-from-scratch
LLM Frameworks, Model Training
llm-pruning-collection
Developer Tools, LLM Frameworks, Model Training

Trust and health

Days since push

LLMs-from-scratch
38d
llm-pruning-collection
85d

Open issues (now)

LLMs-from-scratch
4
llm-pruning-collection
2

Owner type

LLMs-from-scratch
User
llm-pruning-collection
Organization

Full report

LLMs-from-scratch
Trust report
llm-pruning-collection
Trust report

Choose LLMs-from-scratch if…

  • LLMs-from-scratch is primarily Jupyter Notebook; llm-pruning-collection is Python.
  • License: LLMs-from-scratch is Other, llm-pruning-collection is Apache-2.0.
  • Tags unique to LLMs-from-scratch: ai, artificial-intelligence, attention-mechanism, deep-learning.
  • - 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 llm-pruning-collection if…

  • llm-pruning-collection is primarily Python; LLMs-from-scratch is Jupyter Notebook.
  • License: llm-pruning-collection is Apache-2.0, LLMs-from-scratch is Other.
  • Tags unique to llm-pruning-collection: jax, llm-evaluation, llm-training, pruning.
  • Also covers Developer Tools.

When NOT to use llm-pruning-collection

  • Developer Tools: A gateway is overkill when you're pinned to a single provider and model.
  • 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 on cards: LLMs-from-scratch 99k · llm-pruning-collection 69 (synced Jul 11, 2026).

Common questions

What is the difference between LLMs-from-scratch and llm-pruning-collection?
LLMs-from-scratch: Implement a ChatGPT-like LLM in PyTorch from scratch, step by step. llm-pruning-collection: A collection of various llm pruning implementations, training code for GPUs & TPUs, and evaluation script.. See the comparison table for live GitHub stats and shared categories.
When should I choose LLMs-from-scratch over llm-pruning-collection?
Choose LLMs-from-scratch over llm-pruning-collection when LLMs-from-scratch is primarily Jupyter Notebook; llm-pruning-collection is Python; License: LLMs-from-scratch is Other, llm-pruning-collection is Apache-2.0; Tags unique to LLMs-from-scratch: ai, artificial-intelligence, attention-mechanism, deep-learning; - You are an advanced practitioner aiming to fully understand the underpinnings of LLMs using PyTorch as your primary framework.
When should I choose llm-pruning-collection over LLMs-from-scratch?
Choose llm-pruning-collection over LLMs-from-scratch when llm-pruning-collection is primarily Python; LLMs-from-scratch is Jupyter Notebook; License: llm-pruning-collection is Apache-2.0, LLMs-from-scratch is Other; Tags unique to llm-pruning-collection: jax, llm-evaluation, llm-training, pruning; Also covers Developer Tools.
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 llm-pruning-collection?
Developer Tools: A gateway is overkill when you're pinned to a single provider and model. 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 llm-pruning-collection more popular on GitHub?
LLMs-from-scratch has more GitHub stars (98,899 vs 69). Stars measure visibility, not whether either tool fits your constraints.
Are LLMs-from-scratch and llm-pruning-collection open source?
Yes - both are open-source projects on GitHub (LLMs-from-scratch: Other, llm-pruning-collection: Apache-2.0).
Where can I find alternatives to LLMs-from-scratch or llm-pruning-collection?
GraphCanon lists graph-backed alternatives at LLMs-from-scratch alternatives and llm-pruning-collection alternatives (LLMs-from-scratch markdown twin, llm-pruning-collection 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 llm-pruning-collection?
LLMs-from-scratch: Steady. llm-pruning-collection: Steady. 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 llm-pruning-collection?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: LLMs-from-scratch trust report; llm-pruning-collection trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.