SuperAPIAI Directory

datawhalechina/happy-llm: 📚 从零开始的大语言模型原理与实践教程 vs Mini-R1

Metrics & specs comparison

datawhalechina/happy-llm: 📚 从零开始的大语言模型原理与实践教程

Happy-LLM is a systematic large language model learning tutorial open-sourced by Datawhale, designed to help readers deeply understand LLM principles and train models hands-on. Starting from NLP fundamentals, the tutorial progressively explains the Transformer architecture, pretrained language models, and the full LLM training pipeline, and implements a complete LLaMA2 model based on the PyTorch and Transformers frameworks. The content covers cutting-edge technologies such as pretraining, supervised fine-tuning, PEFT, RAG, Agent, and GRPO, and is suitable for learners with some foundation in Python and deep learning. The project is completely free, providing PDF tutorials, PPT courseware, and code practice, along with a ModelScope Studio experience link.

Mini-R1

Mini-R1 is a tutorial and code project that reproduces the DeepSeek R1 "aha moment" through reinforcement learning. The project uses Group Relative Policy Optimization (GRPO) and the Countdown Game puzzle to train open-source models to learn self-verification and search capabilities on their own. The tutorial includes interactive Jupyter Notebook code, covering environment setup, generating training samples, training models with TRL and GRPO, and examples of distributed training using Deepspeed and vLLM. It also provides training observations and hyperparameter tuning experience, suitable for developers who want to learn about applying reinforcement learning to LLM reasoning.

Dimensiondatawhalechina/happy-llm: 📚 从零开始的大语言模型原理与实践教程Mini-R1
CategoryAI learningAI learning
Pricing开源项目(可免费自部署)开源项目(可免费自部署)
Platforms—Web
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools