---
title: "LLMs-from-scratch vs qa_metrics"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/rasbt-llms-from-scratch-vs-zli12321-qa-metrics"
tools: ["rasbt-llms-from-scratch", "zli12321-qa-metrics"]
---

# LLMs-from-scratch vs qa_metrics

*GraphCanon updated Jul 15, 2026*

## Verdict

Pick LLMs-from-scratch when lLMs-from-scratch is primarily Jupyter Notebook; qa_metrics is Python; pick qa_metrics when qa_metrics is primarily Python; LLMs-from-scratch is Jupyter Notebook.

[LLMs-from-scratch](https://amzn.to/4fqvn0D) reports 99k GitHub stars, 15k forks, and 4 open issues, last pushed Jun 2, 2026. [qa_metrics](https://github.com/zli12321/qa_metrics) has 61 stars, 6 forks, and 0 open issues, last pushed Jul 18, 2025. Figures are from public GitHub metadata via [LLMs-from-scratch's repository](https://github.com/rasbt/LLMs-from-scratch) and [qa_metrics's repository](https://github.com/zli12321/qa_metrics).

| | [LLMs-from-scratch](/tools/rasbt-llms-from-scratch.md) | [qa_metrics](/tools/zli12321-qa-metrics.md) |
| --- | --- | --- |
| Tagline | Implement a ChatGPT-like LLM in PyTorch from scratch, step by step | An easy python package to run quick basic QA evaluations. This package includes standardized QA evaluation metrics and semantic evaluation metrics: Black-box and Open-Source large language model promp |
| Stars | 98,899 | 61 |
| Forks | 15,183 | 6 |
| Open issues | 4 | 0 |
| Language | Jupyter Notebook | Python |
| Adopt for | 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 | - | - |
| Runtime | - | - |
| License | Other | MIT |
| Categories | LLM Frameworks, Model Training | Developer Tools, LLM Frameworks, Model Training |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [LLMs-from-scratch](/tools/rasbt-llms-from-scratch.md) | [qa_metrics](/tools/zli12321-qa-metrics.md) |
| --- | --- | --- |
| Maintenance | Steady (60%) | Slowing (36%) |
| Days since push | 38d | 361d |
| Open issues (now) | 4 | 0 |
| Full report | [trust report](/tools/rasbt-llms-from-scratch/trust.md) | [trust report](/tools/zli12321-qa-metrics/trust.md) |

## Decision facts: LLMs-from-scratch

- **Adopt for:** 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.

## Choose when

### Choose LLMs-from-scratch if…

- LLMs-from-scratch is primarily Jupyter Notebook; qa_metrics is Python.
- License: LLMs-from-scratch is Other, qa_metrics is MIT.
- 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.

### Choose qa_metrics if…

- qa_metrics is primarily Python; LLMs-from-scratch is Jupyter Notebook.
- License: qa_metrics is MIT, LLMs-from-scratch is Other.
- Tags unique to qa_metrics: exact-matching, llm, llm-evaluation, llm-evaluation-framework.
- Also covers Developer Tools.

## 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.

## When NOT to use qa_metrics

- Last GitHub push was 361 days ago (slowing maintenance, Jul 18, 2025). Validate activity before betting a new project on qa_metrics.
- 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.

## Common questions

### What is the difference between LLMs-from-scratch and qa_metrics?

LLMs-from-scratch: Implement a ChatGPT-like LLM in PyTorch from scratch, step by step. qa_metrics: An easy python package to run quick basic QA evaluations. This package includes standardized QA evaluation metrics and semantic evaluation metrics: Black-box and Open-Source large language model promp. See the comparison table for live GitHub stats and shared categories.

### When should I choose LLMs-from-scratch over qa_metrics?

Choose LLMs-from-scratch over qa_metrics when LLMs-from-scratch is primarily Jupyter Notebook; qa_metrics is Python; License: LLMs-from-scratch is Other, qa_metrics is MIT; 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 qa_metrics over LLMs-from-scratch?

Choose qa_metrics over LLMs-from-scratch when qa_metrics is primarily Python; LLMs-from-scratch is Jupyter Notebook; License: qa_metrics is MIT, LLMs-from-scratch is Other; Tags unique to qa_metrics: exact-matching, llm, llm-evaluation, llm-evaluation-framework; 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 qa_metrics?

Last GitHub push was 361 days ago (slowing maintenance, Jul 18, 2025). Validate activity before betting a new project on qa_metrics. 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 qa_metrics more popular on GitHub?

LLMs-from-scratch has more GitHub stars (98,899 vs 61). Stars measure visibility, not whether either tool fits your constraints.

### Are LLMs-from-scratch and qa_metrics open source?

Yes - both are open-source projects on GitHub (LLMs-from-scratch: Other, qa_metrics: MIT).

### Where can I find alternatives to LLMs-from-scratch or qa_metrics?

GraphCanon lists graph-backed alternatives at [LLMs-from-scratch alternatives](/tools/rasbt-llms-from-scratch/alternatives) and [qa_metrics alternatives](/tools/zli12321-qa-metrics/alternatives) ([LLMs-from-scratch markdown twin](/tools/rasbt-llms-from-scratch/alternatives.md), [qa_metrics markdown twin](/tools/zli12321-qa-metrics/alternatives.md)), 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](/compare/rasbt-llms-from-scratch-vs-zli12321-qa-metrics.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, LLMs-from-scratch or qa_metrics?

LLMs-from-scratch: Steady. qa_metrics: Slowing. 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 qa_metrics?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [LLMs-from-scratch trust report](/tools/rasbt-llms-from-scratch/trust); [qa_metrics trust report](/tools/zli12321-qa-metrics/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=rasbt-llms-from-scratch`](/api/graphcanon/graph?tool=rasbt-llms-from-scratch)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
