跳到主要内容
GitStars
登录
其他人工智能Apache-2.0

Repository dossier

jingyaogong/minimind

🧠 Train a 64M-parameter LLM from scratch in just 2h!

Brief / README 摘要

查看原文

此开源项目旨在完全从 0 开始,仅用 3 块钱成本与 2 小时训练时间,即可训练出规模约为 64M 的超小语言模型 MiniMind。 MiniMind 系列极其轻量,主线最小版本体积约为 GPT-3 的 $\frac{1}{2700}$,力求让普通个人 GPU 也能快速完成训练与复现。 项目同时开源了大模型的极简结构与完整训练链路,覆盖 MoE、数据清洗、预训练(Pretrain)、监督微调(SFT)、LoRA、RLHF(DPO)、RLAIF(PPO / GRPO / CISPO)、Tool Use、Agentic RL、自适应思考与模型蒸馏等全过程代码。 MiniMind 同时拓展了视觉模态模型 MiniMind-V、多模态 Omni 模型 MiniMind-O、扩散语言模型(MiniMind-dLM)、线性模型(MiniMind-Linear),详见 Discussion。 项目所有核心算法代码均从 0 使用 PyTorch 原生实现,不依赖第三方库提供的高层抽象接口。 这不仅是一个大语言模型全阶段开源复现项目,也是一套面向 LLM 入门与实践的教程。 希望此项目能为更多人提供一个可复现、可理解、可扩展的起点,一起感受创造的乐趣,并推动更广泛 AI 社区的进步。 注:本项目基于 Apache 2.0 协议开源,完全免费。“2 小时” 指 SFT 阶段在单张 NVIDIA 30…

Topics / 标签

01

相关推荐

浏览全部
01

real time face swap and one-click video deepfake with only a single image

其他人工智能更新于 2026-10-24
02

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

其他人工智能更新于 2026-10-25
03
OpenHands/OpenHands★ 91.8kTypeScript

🙌 OpenHands: AI-Driven Development

其他人工智能更新于 2026-10-25
04
thedotmack/claude-mem★ 103.0kTypeScript

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

其他人工智能更新于 2026-10-25
05
rasbt/LLMs-from-scratch★ 107.3kJupyter Notebook

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

其他人工智能更新于 2026-10-02
06
f/prompts.chat★ 174.5kHTML

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

其他人工智能更新于 2026-10-25