跳到正文
原文
AGI Hunt· techNmak·· 3 小时前AI 评分56

12.5K 星 GitHub 仓库 Train LLM From Scratch 用纯 PyTorch 实现从预训练到 GRPO 全流程

12.5K 星 GitHub 仓库:纯 PyTorch 手写从预训练到 GRPO 全流程

AI 导读

GitHub 仓库 Train LLM From Scratch 已获 12.5K 星,用纯 PyTorch 手写 Transformer,覆盖从预训练、SFT、奖励建模到 DPO、ORPO、KTO、PPO、GRPO 的完整流程,不依赖 trl、peft、transformers。

来源:AGI Hunt · agihunt.info