datawhalechina/happy-llm vs rasbt/LLMs-from-scratch
Compare datawhalechina/happy-llm and rasbt/LLMs-from-scratch using the current verified snapshot: positioning, license, deployment, use cases, limitations, and original sources.
datawhalechina/happy-llm
A free, open-source Chinese-language tutorial that teaches large language model principles by guiding learners through building a LLaMA2 model from scratch in PyTorch. It covers architecture, pre-training, fine-tuning, and applications, requiring users to write and execute Python code rather than providing a ready-to-use API service.
- License
- License pending
- Deployment
- Refer to project documentation
- Use cases
- Learning & Education
- Updated
- 2026-07-17T09:29:36Z
rasbt/LLMs-from-scratch
A step-by-step educational tutorial for implementing a small-but-functional GPT-like large language model from scratch using PyTorch and Python. It is designed for learning the internal mechanics of LLMs, including data preparation, attention mechanisms, pretraining, and finetuning.
- License
- License pending
- Deployment
- Refer to project documentation
- Use cases
- Chat Assistants · Learning & Education
- Updated
- 2026-07-17T04:22:14Z
How to choose
First eliminate options that fail required deployment, license, or use-case constraints; then inspect each detail page for limitations and direct evidence.