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 trained from scratch, offering local deployment and inference capabilities. It is suitable for users who need to run large language models locally and have the necessary hardware,如; 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.

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

GraphCanon updated Sep 30, 2026

22views this month

Yi logo

Yi

01-ai/Yi

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

LLMs-from-scratch

rasbt/LLMs-from-scratch

★ 105kpushed Sep 17, 2026

Trust & integrity

SignalYiLLMs-from-scratch
Maintenance
Dormant (659d 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
Published findings
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

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
105k

Forks

Yi
499
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 trained from scratch, offering local deployment and inference capabilities. It is suitable for users who need to run large language models locally and have the necessary hardware,如
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

Yi
-
LLMs-from-scratch
-

Runtime

Yi
-
LLMs-from-scratch
-

License

Yi
Apache-2.0
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

Yi
Nov 27, 2024
LLMs-from-scratch
Sep 17, 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
659d
LLMs-from-scratch
0d

Open issues (now)

Yi
31
LLMs-from-scratch
2

Stars delta

Yi
+11 (30d)
LLMs-from-scratch
+2.4k (30d)

Owner type

Yi
Organization
LLMs-from-scratch
User

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.
  • Requirements: Min 80 GB RAM; Ensure Python 3.10 or later is installed.; Hardware requirements vary depending on the specific Yi model being used..
  • 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, jupyter-notebook, large-language-models, local-deployment.
  • Also covers Inference & Serving.
  • Yi ships Docker support for self-hosted deployment.
  • Use Yi if you require a large language model that can be deployed and run locally, especially on hardware like the A800 (80G).

When NOT to use Yi

  • Avoid Yi if your hardware does not meet the minimum requirements for running the models, such as the A800 (80G) for Yi-34B-Chat.
  • Do not use Yi if you prefer cloud-based solutions or do not have the capability to install and manage the local environment required for Yi.

Choose LLMs-from-scratch if…

  • License: LLMs-from-scratch is Other, Yi 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..
  • 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.
  • 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 on cards: Yi 7.8k · LLMs-from-scratch 105k (synced Sep 20, 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; Requirements: Min 80 GB RAM; Ensure Python 3.10 or later is installed.; Hardware requirements vary depending on the specific Yi model being used.; 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, jupyter-notebook, large-language-models, local-deployment; Also covers Inference & Serving; Yi ships Docker support for self-hosted deployment; Use Yi if you require a large language model that can be deployed and run locally, especially on hardware like the A800 (80G).
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; 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.; 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; 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 Yi?
Avoid Yi if your hardware does not meet the minimum requirements for running the models, such as the A800 (80G) for Yi-34B-Chat. Do not use Yi if you prefer cloud-based solutions or do not have the capability to install and manage the local environment required for Yi.
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 Yi or LLMs-from-scratch more popular on GitHub?
LLMs-from-scratch has more GitHub stars (105,176 vs 7,833). 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.