Comparison
self-llm vs LLMs-from-scratch
Verdict
Pick self-llm if self-llm provides tutorials and guides for deploying and fine-tuning open-source large language models in a Linux environment, covering setup, deployment, and fine-tuning methods for various models; 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.
Markdown twin · self-llm alternatives · LLMs-from-scratch alternatives
GraphCanon updated Sep 20, 2026
17views this month
Trust & integrity
| Signal | self-llm | LLMs-from-scratch |
|---|---|---|
| Maintenance | Very active (6d since push) As of Sep 18, 2026 · github_public_v1 | Very active (0d since push) As of Sep 18, 2026 · github_public_v1 |
| Provenance | Not a fork · Organization account As of Sep 18, 2026 · github_public_v1 | Not a fork · Personal account As of Sep 18, 2026 · github_public_v1 |
| OSV dependency advisories | No lockfile (source not queried) As of Sep 18, 2026 · osv@v1 | Published findings As of Sep 18, 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
- self-llm
- 教程和指南,帮助用户在Linux环境下快速部署和微调开源大模型
- LLMs-from-scratch
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
Stars
- self-llm
- 32k
- LLMs-from-scratch
- 105k
Forks
- self-llm
- 3.1k
- LLMs-from-scratch
- 16k
Open issues
- self-llm
- 159
- LLMs-from-scratch
- 2
Language
- self-llm
- Jupyter Notebook
- LLMs-from-scratch
- Jupyter Notebook
Adopt for
- self-llm
- self-llm provides tutorials and guides for deploying and fine-tuning open-source large language models in a Linux environment, covering setup, deployment, and fine-tuning methods for various models.
- 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.
Persona
- self-llm
- -
- LLMs-from-scratch
- -
Runtime
- self-llm
- -
- LLMs-from-scratch
- -
License
- self-llm
- self-llm is licensed under Apache-2.0, allowing for broad use, modification, and distribution with proper attribution.
- 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.
Last pushed
- self-llm
- Sep 12, 2026
- LLMs-from-scratch
- Sep 17, 2026
Categories
- self-llm
- Inference & Serving, LLM Frameworks, Model Training
- LLMs-from-scratch
- LLM Frameworks, Model Training
Trust and health
Days since push
- self-llm
- 6d
- LLMs-from-scratch
- 0d
Open issues (now)
- self-llm
- 159
- LLMs-from-scratch
- 2
Stars delta
- self-llm
- +529 (30d)
- LLMs-from-scratch
- +2.4k (30d)
Open issues delta
- self-llm
- -5 (30d)
- LLMs-from-scratch
- 0 (30d)
Owner type
- self-llm
- Organization
- LLMs-from-scratch
- User
OSV dependency advisories
- self-llm
- No lockfile (source not queried)
- LLMs-from-scratch
- Published findings
Full report
- self-llm
- Trust report
- LLMs-from-scratch
- Trust report
Typed relationship
Choose self-llm if…
- License: self-llm is Apache-2.0, LLMs-from-scratch is Other.
- Requirements: Min 8 GB RAM; A Linux environment is required for following the tutorials.; Basic knowledge of Linux and command-line operations is recommended..
- Graph edge: self-llm is a typed related of LLMs-from-scratch - see the relationship row above.
- Tags unique to self-llm: chatglm, chatglm3, gemma-2b-it, glm-4.
- Also covers Inference & Serving.
- Use self-llm if you are a student or researcher in China looking for detailed tutorials on deploying and fine-tuning open-source large language models in a Linux environment.
When NOT to use self-llm
- Avoid self-llm if you are not comfortable with Linux and prefer a different operating system for your model deployment and fine-tuning.
- Do not use self-llm if you are looking for a tool that focuses on proprietary models or if you require support for non-Linux environments.
Choose LLMs-from-scratch if…
- License: LLMs-from-scratch is Other, self-llm 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..
- Graph edge: LLMs-from-scratch is a typed related of self-llm - see the relationship row above.
- Tags unique to LLMs-from-scratch: ai, artificial-intelligence, attention-mechanism, deep-learning.
- 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.
Explore
Sources
Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.
- GitHub stars (datawhalechina/self-llm) · observed Sep 20, 2026
- GitHub forks (datawhalechina/self-llm) · observed Sep 20, 2026
- Last push (datawhalechina/self-llm) · observed Sep 12, 2026
- License file (Apache-2.0) · observed Sep 20, 2026
- Decision facts (enrichment) · observed Sep 18, 2026
- Trust scan (lockfile / OSV) · observed Sep 18, 2026
- GitHub stars (rasbt/LLMs-from-scratch) · observed Sep 20, 2026
- GitHub forks (rasbt/LLMs-from-scratch) · observed Sep 20, 2026
- Last push (rasbt/LLMs-from-scratch) · observed Sep 17, 2026
- License file (Other) · observed Sep 20, 2026
- Decision facts (enrichment) · observed Sep 18, 2026
- Trust scan (lockfile / OSV) · observed Sep 18, 2026
GitHub stars on cards: self-llm 32k · LLMs-from-scratch 105k (synced Sep 20, 2026).
Common questions
- What is the difference between self-llm and LLMs-from-scratch?
- self-llm: 教程和指南,帮助用户在Linux环境下快速部署和微调开源大模型. LLMs-from-scratch: Implement a ChatGPT-like LLM in PyTorch from scratch, step by step. See the comparison table for live GitHub stats and shared categories.
- When should I choose self-llm over LLMs-from-scratch?
- Choose self-llm over LLMs-from-scratch when License: self-llm is Apache-2.0, LLMs-from-scratch is Other; Requirements: Min 8 GB RAM; A Linux environment is required for following the tutorials.; Basic knowledge of Linux and command-line operations is recommended.; Graph edge: self-llm is a typed related of LLMs-from-scratch - see the relationship row above; Tags unique to self-llm: chatglm, chatglm3, gemma-2b-it, glm-4; Also covers Inference & Serving; Use self-llm if you are a student or researcher in China looking for detailed tutorials on deploying and fine-tuning open-source large language models in a Linux environment.
- When should I choose LLMs-from-scratch over self-llm?
- Choose LLMs-from-scratch over self-llm when License: LLMs-from-scratch is Other, self-llm 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.; Graph edge: LLMs-from-scratch is a typed related of self-llm - see the relationship row above; Tags unique to LLMs-from-scratch: ai, artificial-intelligence, attention-mechanism, deep-learning; 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 avoid self-llm?
- Avoid self-llm if you are not comfortable with Linux and prefer a different operating system for your model deployment and fine-tuning. Do not use self-llm if you are looking for a tool that focuses on proprietary models or if you require support for non-Linux environments.
- 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.
- Is self-llm or LLMs-from-scratch more popular on GitHub?
- LLMs-from-scratch has more GitHub stars (105,176 vs 32,251). Stars measure visibility, not whether either tool fits your constraints.
- Are self-llm and LLMs-from-scratch open source?
- Yes - both are open-source projects on GitHub (self-llm: Apache-2.0, LLMs-from-scratch: Other).
- Where can I find alternatives to self-llm or LLMs-from-scratch?
- GraphCanon lists graph-backed alternatives at self-llm alternatives and LLMs-from-scratch alternatives (self-llm markdown twin, LLMs-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, self-llm or LLMs-from-scratch?
- self-llm: Very active. LLMs-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 self-llm and LLMs-from-scratch?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: self-llm trust report; LLMs-from-scratch trust report.