Train a 64M language model from scratch in two hours
A project for training the small MiniMind language model (about 64M parameters) from scratch, for about 3 yuan and about 2 hours of training.
- Opens the model structure and the full training pipeline: pretrain, SFT, LoRA, DPO, PPO/GRPO, tool use and distillation.
- The smallest version is about 1/2700 the size of GPT-3, designed so a personal GPU can train and reproduce it.
- Also offers the vision variant MiniMind-V and the multimodal model MiniMind-O.