Home/Compare/self-llm vs LLMs-from-scratch

Comparison

self-llm vs LLMs-from-scratch

Verdict

Pick self-llm if self-llm is a comprehensive guide and framework for fine-tuning and deploying various large language models (LLMs) and multimodal LLMs tailored specifically for Chinese users on the Linux operating system. Given its core; pick LLMs-from-scratch if 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.

Markdown twin · self-llm alternatives · LLMs-from-scratch alternatives

GraphCanon updated 5d

self-llm logo

self-llm

datawhalechina/self-llm

32kpushed Jul 30, 2026
vs
LLMs-from-scratch logo

LLMs-from-scratch

rasbt/LLMs-from-scratch

103kpushed Aug 10, 2026

Trust & integrity

Signalself-llmLLMs-from-scratch
Maintenance
Active (17d since push)
As of 5d · github_public_v1
Very active (5d since push)
As of 6d · github_public_v1
Provenance
Not a fork · Organization account
As of 5d · github_public_v1
Not a fork · Personal account
As of 6d · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of 1mo · osv@v1
No lockfile (source not queried)
As of 1mo · 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
A guide for fine-tuning and deploying open-source large language models tailored for a Chinese audience on Linux.
LLMs-from-scratch
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

Stars

self-llm
32k
LLMs-from-scratch
103k

Forks

self-llm
3.1k
LLMs-from-scratch
16k

Open issues

self-llm
164
LLMs-from-scratch
2

Language

self-llm
Jupyter Notebook
LLMs-from-scratch
Jupyter Notebook

Adopt for

self-llm
Self-llm is a comprehensive guide and framework for fine-tuning and deploying various large language models (LLMs) and multimodal LLMs tailored specifically for Chinese users on the Linux operating system. Given its core
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.

Persona

self-llm
-
LLMs-from-scratch
-

Runtime

self-llm
-
LLMs-from-scratch
-

License

self-llm
Licensed under Apache-2.0
LLMs-from-scratch
Other

Last pushed

self-llm
Jul 30, 2026
LLMs-from-scratch
Aug 10, 2026

Categories

self-llm
Inference & Serving, LLM Frameworks, Model Training
LLMs-from-scratch
LLM Frameworks, Model Training

Trust and health

Maintenance

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

Days since push

self-llm
17d
LLMs-from-scratch
5d

Open issues (now)

self-llm
164
LLMs-from-scratch
2

Stars delta

self-llm
+412 (30d)
LLMs-from-scratch
+3.5k (30d)

Open issues delta

self-llm
+3 (30d)
LLMs-from-scratch
-1 (30d)

Owner type

self-llm
Organization
LLMs-from-scratch
User

Full report

self-llm
Trust report
LLMs-from-scratch
Trust report

Typed relationship

self-llm related LLMs-from-scratch

Choose self-llm if…

  • License: self-llm is Apache-2.0, LLMs-from-scratch is Other.
  • 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.
  • When you are targeting a Chinese-speaking audience and working within the Linux environment.

When NOT to use self-llm

  • When the primary audience is not Chinese, since the content and examples might not align perfectly with other local contexts.
  • If you are working outside of a Linux environment, self-llm does not provide support for other OS platforms such as Windows or macOS.
  • For rapid deployments where detailed manual fine-tuning guidance is unnecessary; self-llm focuses on providing thorough tutorials which may require more time commitment.

Choose LLMs-from-scratch if…

  • License: LLMs-from-scratch is Other, self-llm is Apache-2.0.
  • 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.
  • - 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.

Explore

Sources

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

GitHub stars on cards: self-llm 32k · LLMs-from-scratch 103k (synced Aug 16, 2026).

Common questions

What is the difference between self-llm and LLMs-from-scratch?
self-llm: A guide for fine-tuning and deploying open-source large language models tailored for a Chinese audience on 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; 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; When you are targeting a Chinese-speaking audience and working within the 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; 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; - You are an advanced practitioner aiming to fully understand the underpinnings of LLMs using PyTorch as your primary framework.
When should I avoid self-llm?
When the primary audience is not Chinese, since the content and examples might not align perfectly with other local contexts. If you are working outside of a Linux environment, self-llm does not provide support for other OS platforms such as Windows or macOS. For rapid deployments where detailed manual fine-tuning guidance is unnecessary; self-llm focuses on providing thorough tutorials which may require more time commitment.
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.
Is self-llm or LLMs-from-scratch more popular on GitHub?
LLMs-from-scratch has more GitHub stars (102,733 vs 31,722). 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: 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.

Was this helpful?

Anonymous feedback helps us improve pages and translations.