Source: https://seerepo.com/compare/FareedKhan-dev/train-llm-from-scratch/vs/rohitg00/ai-engineering-from-scratch
Markdown source: https://seerepo.com/compare/FareedKhan-dev/train-llm-from-scratch/vs/rohitg00/ai-engineering-from-scratch.md
Description: train-llm-from-scratch and ai-engineering-from-scratch share 5 technologies: torchaudio, torchvision, torch, tiktoken, and datasets. Both are written in Python.

# train-llm-from-scratch vs ai-engineering-from-scratch

train-llm-from-scratch and ai-engineering-from-scratch share 5 technologies: torchaudio, torchvision, torch, tiktoken, and datasets. Both are written in Python.

- [FareedKhan-dev/train-llm-from-scratch](https://seerepo.com/r/FareedKhan-dev/train-llm-from-scratch): A straightforward method for training your LLM, from downloading data to generating text.
- [rohitg00/ai-engineering-from-scratch](https://seerepo.com/r/rohitg00/ai-engineering-from-scratch): Learn AI Engineering! Learn it. Build it. Ship it for others.

## What they share and what sets them apart

- In common: torchaudio, torchvision, torch, tiktoken, datasets
- Only in train-llm-from-scratch: h5py
- Only in ai-engineering-from-scratch: Anthropic, OpenAI, Hono, @mastra/libsql, matplotlib, accelerate, librosa, strands-agents, tokenizers, transformers, scikit-learn, MCP, google-adk, LangChain, pillow, shiki, Zod, @hono/node-server, @mastra/core

## Side by side

| | train-llm-from-scratch | ai-engineering-from-scratch |
|---|---|---|
| Size | 12,346 lines written, 79 code files | 634,683 lines written, 2,728 code files |
| Who writes it | 7.1% of its commits signed by AI. With Claude Code and GitHub Copilot | 0.8% of its commits signed by AI. With Claude Code and Devin |
| Activity | Last push October 2, 2026, 155 commits, 13,179 stars | Last push November 9, 2026, 2,450 commits, 78,009 stars |
| Tests | 26 test files. 39.2% of its code files have a test that imports them | 790 test files. 14.9% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, train-llm-from-scratch or ai-engineering-from-scratch?

ai-engineering-from-scratch, with 634,683 lines written; train-llm-from-scratch has 12,346.

The proof: [rohitg00/ai-engineering-from-scratch's code at commit b0022ba](https://github.com/rohitg00/ai-engineering-from-scratch/tree/b0022ba54add70da65e0d54fcc9c85478498140d)

### Which has more GitHub stars, train-llm-from-scratch or ai-engineering-from-scratch?

ai-engineering-from-scratch, with 78,009 stars; train-llm-from-scratch has 13,179.

The proof: [rohitg00/ai-engineering-from-scratch on GitHub](https://github.com/rohitg00/ai-engineering-from-scratch)

### Which has more tests, train-llm-from-scratch or ai-engineering-from-scratch?

ai-engineering-from-scratch, with 790 test files; train-llm-from-scratch has 26.

The proof: [rohitg00/ai-engineering-from-scratch's code at commit b0022ba](https://github.com/rohitg00/ai-engineering-from-scratch/tree/b0022ba54add70da65e0d54fcc9c85478498140d)

### Which was updated more recently, train-llm-from-scratch or ai-engineering-from-scratch?

ai-engineering-from-scratch: its last push was on November 9, 2026, and train-llm-from-scratch's on October 2, 2026.

The proof: [rohitg00/ai-engineering-from-scratch's commits on GitHub](https://github.com/rohitg00/ai-engineering-from-scratch/commits)

### Which has more commits signed by AI, train-llm-from-scratch or ai-engineering-from-scratch?

train-llm-from-scratch: an AI signed 7.1% of its commits, with Claude Code and GitHub Copilot; in ai-engineering-from-scratch, 0.8%.

## Sources

- FareedKhan-dev/train-llm-from-scratch: Read on November 10, 2026, at commit bdd480a (https://github.com/FareedKhan-dev/train-llm-from-scratch/tree/bdd480a518094ca834e05ab32131dc126b522d3d)
- rohitg00/ai-engineering-from-scratch: Read on November 9, 2026, at commit b0022ba (https://github.com/rohitg00/ai-engineering-from-scratch/tree/b0022ba54add70da65e0d54fcc9c85478498140d)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
