AltHub

jingyaogong/minimind Alternatives

LLM training from scratch / educational

Train a small 64M-parameter LLM from scratch in PyTorch, with the complete training pipeline (pretraining, SFT, LoRA, RLHF) and educational explanations.

61.7kPythonApache-2.0active Β· last push 21d agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

rasbt/reasoning-from-scratchGitHub

Choose this if you want a focused step-by-step reasoning-model implementation with recent updates, rather than the broader minimind pipeline.

Implement a reasoning LLM in PyTorch from scratch, step by step

5.3k
Jupyter Notebook
Apache-2.0
active22d ago
raiyanyahya/how-to-train-your-gptGitHub

Choose this if you want an extremely beginner-friendly, fully commented from-scratch GPT with an MIT license.

Build a modern LLM from scratch. Every line commented. Explained like we are five.

3.4k
Jupyter Notebook
MIT
active1mo ago
FareedKhan-dev/train-llm-from-scratchGitHub

Choose this if you want a concise end-to-end pipeline that includes data download and text generation with minimal dependencies.

A straightforward method for training your LLM, from downloading data to generating text.

9.4k
Python
MIT
active2mo ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

datawhalechina/happy-llmGitHub

Choose this if you prefer a Chinese-language interactive notebook tutorial over a single cohesive training project.

πŸ“š δ»Žι›ΆεΌ€ε§‹ζž„ε»Ίε€§ζ¨‘εž‹

33.1k
Jupyter Notebook
NOASSERTION
active2mo ago
Lightning-AI/litgptGitHub

Choose this if you want a production-grade framework to pretrain/finetune larger LLMs at scale instead of educational from-scratch code.

20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.

13.7k
Python
Apache-2.0
active25d ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

karpathy/LLM101nGitHub

Choose this if you want Karpathy's classic from-scratch course, but note it is archived and outdated.

LLM101n: Let's build a Storyteller

37.5k
none
archived2.2y ago

Listed as an alternative to

These projects were analysed and named minimind among their alternatives. The relationship is not symmetric β€” how minimind rates them is a separate judgement, made when minimind is analysed in its own right.

rasbt/LLMs-from-scratchGitHub

calls minimind β€œA minimal Apache-2.0 64M LLM from scratch that trains in hours, for a quick simple codebase.”

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

105.3kJupyter Notebookactive
mlabonne/llm-courseGitHub

calls minimind β€œNarrow hands-on training of a tiny LLM; choose for a quick small-scale training exercise.”

Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.

83.0kslowing
Lightning-AI/litgptGitHub

calls minimind β€œlightweight code to train a tiny LLM on a single GPU, not for large-scale use”

20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.

13.7kPythonactive
PaddlePaddle/PaddleFormersGitHub

calls minimind β€œEducational from-scratch training for a single tiny 64M model; valid only for small/learning scenarios.”

PaddleFormers is an easy-to-use library of pre-trained large language model zoo based on PaddlePaddle.

13.0kPythonactive