Home/Compare/Yi vs LLMs-from-scratch

Comparison

Yi vs LLMs-from-scratch

Verdict

Pick Yi if yi is a series of large language models designed for local deployment and inference. It supports running on specific hardware configurations like A800 with ample GPU memory; 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 · Yi alternatives · LLMs-from-scratch alternatives

GraphCanon updated 3d

Yi logo

Yi

01-ai/Yi

7.8kpushed Nov 27, 2024
vs
LLMs-from-scratch logo

LLMs-from-scratch

rasbt/LLMs-from-scratch

103kpushed Aug 10, 2026

Trust & integrity

SignalYiLLMs-from-scratch
Maintenance
Dormant (628d since push)
As of 3d · github_public_v1
Very active (5d since push)
As of 4d · github_public_v1
Provenance
Not a fork · Organization account
As of 3d · github_public_v1
Not a fork · Personal account
As of 4d · github_public_v1
OSV dependency advisories
Published findings
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

Yi
A series of large language models trained from scratch
LLMs-from-scratch
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

Stars

Yi
7.8k
LLMs-from-scratch
103k

Forks

Yi
491
LLMs-from-scratch
16k

Open issues

Yi
31
LLMs-from-scratch
2

Language

Yi
Jupyter Notebook
LLMs-from-scratch
Jupyter Notebook

Adopt for

Yi
Yi is a series of large language models designed for local deployment and inference. It supports running on specific hardware configurations like A800 with ample GPU memory.
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

Yi
-
LLMs-from-scratch
-

Runtime

Yi
-
LLMs-from-scratch
-

License

Yi
Apache-2.0
LLMs-from-scratch
Other

Last pushed

Yi
Nov 27, 2024
LLMs-from-scratch
Aug 10, 2026

Categories

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

Trust and health

Maintenance

Yi
Dormant (18%)
LLMs-from-scratch
Very active (96%)

Days since push

Yi
628d
LLMs-from-scratch
5d

Open issues (now)

Yi
31
LLMs-from-scratch
2

Stars delta

Yi
-2 (30d)
LLMs-from-scratch
+3.5k (30d)

Open issues delta

Yi
0 (30d)
LLMs-from-scratch
-1 (30d)

Owner type

Yi
Organization
LLMs-from-scratch
User

OSV dependency advisories

Yi
Published findings
LLMs-from-scratch
No lockfile (source not queried)

Full report

LLMs-from-scratch
Trust report

Typed relationship

Yi alternative LLMs-from-scratchYi focuses on developing large language models from scratch, similar to the approach taken by LLMs-from-scratch. Both repositories aim at building these models rather than using pre-trained ones.

Choose Yi if…

  • License: Yi is Apache-2.0, LLMs-from-scratch is Other.
  • Yi focuses on developing large language models from scratch, similar to the approach taken by LLMs-from-scratch. Both repositories aim at building these models rather than using pre-trained ones.
  • Tags unique to Yi: inference, large language models, model-download, python.
  • Also covers Inference & Serving.
  • Yi ships Docker support for self-hosted deployment.
  • Use Yi when you need to perform local inference and have access to suitable hardware such as the A800 GPU.

When NOT to use Yi

  • Avoid using Yi if your local machine lacks sufficient memory or processing power to handle the large language models.
  • Do not select Yi when you prefer cloud-based solutions that do not require manual setup of a local environment and model download.

Choose LLMs-from-scratch if…

  • License: LLMs-from-scratch is Other, Yi is Apache-2.0.
  • Yi focuses on developing large language models from scratch, similar to the approach taken by LLMs-from-scratch. Both repositories aim at building these models rather than using pre-trained ones.
  • Tags unique to LLMs-from-scratch: ai, artificial-intelligence, attention-mechanism, deep-learning.
  • Also covers Model Training.
  • - 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: Yi 7.8k · LLMs-from-scratch 103k (synced Aug 17, 2026).

Common questions

What is the difference between Yi and LLMs-from-scratch?
Yi: A series of large language models trained from scratch. 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 Yi over LLMs-from-scratch?
Choose Yi over LLMs-from-scratch when License: Yi is Apache-2.0, LLMs-from-scratch is Other; Yi focuses on developing large language models from scratch, similar to the approach taken by LLMs-from-scratch. Both repositories aim at building these models rather than using pre-trained ones; Tags unique to Yi: inference, large language models, model-download, python; Also covers Inference & Serving; Yi ships Docker support for self-hosted deployment; Use Yi when you need to perform local inference and have access to suitable hardware such as the A800 GPU.
When should I choose LLMs-from-scratch over Yi?
Choose LLMs-from-scratch over Yi when License: LLMs-from-scratch is Other, Yi is Apache-2.0; Yi focuses on developing large language models from scratch, similar to the approach taken by LLMs-from-scratch. Both repositories aim at building these models rather than using pre-trained ones; Tags unique to LLMs-from-scratch: ai, artificial-intelligence, attention-mechanism, deep-learning; Also covers Model Training; - You are an advanced practitioner aiming to fully understand the underpinnings of LLMs using PyTorch as your primary framework.
When should I avoid Yi?
Avoid using Yi if your local machine lacks sufficient memory or processing power to handle the large language models. Do not select Yi when you prefer cloud-based solutions that do not require manual setup of a local environment and model download.
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 Yi or LLMs-from-scratch more popular on GitHub?
LLMs-from-scratch has more GitHub stars (102,733 vs 7,822). Stars measure visibility, not whether either tool fits your constraints.
Are Yi and LLMs-from-scratch open source?
Yes - both are open-source projects on GitHub (Yi: Apache-2.0, LLMs-from-scratch: Other).
Where can I find alternatives to Yi or LLMs-from-scratch?
GraphCanon lists graph-backed alternatives at Yi alternatives and LLMs-from-scratch alternatives (Yi 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, Yi or LLMs-from-scratch?
Yi: Dormant. 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 Yi and LLMs-from-scratch?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: Yi trust report; LLMs-from-scratch trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.