fzkun

基于Ascend(昇腾910B)纯国产显卡复刻MiniMind,🚀🚀 「大模型」2小时完全从0训练26M的小参数GPT!🌏 Train a 26M-parameter GPT from scratch in just 2h!

11
1
89% credibility
Found Feb 27, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

A toolkit for training compact chat AIs optimized for Huawei Ascend hardware, from basics to advanced reasoning with easy deployment.

How It Works

1
🔍 Discover MiniMind

You hear about a fun way to train your own smart chat buddy on your powerful Huawei computer.

2
📦 Gather learning books

Download simple story files that teach your buddy how to chat and think.

3
🛠️ Set up the workshop

Click to prepare your special training space with everything ready.

4
🚀 Start magic training

Hit go on the all-in-one trainer – watch your buddy learn to chat, reason, and get super smart step by step!

5
💬 Test your buddy

Chat with it right away to see how clever it has become.

6
🌐 Launch chat room

One click turns your buddy into a web chat service anyone can use.

🎉 Enjoy your AI pal

Relax as your custom smart helper chats naturally and helps with anything!

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is minimind-ascend?

This Python project ports the MiniMind framework to Huawei Ascend 910B NPUs, letting you train a 26m-parameter GPT model from scratch in just 2 hours on 8-card setups. It handles the full pipeline—pretraining, SFT, DPO, RLHF variants like PPO/GRPO/SPO, LoRA, distillation, and reasoning training—via Docker containers and one-command scripts. Output models convert to Hugging Face format for easy vLLM serving with OpenAI-compatible APIs.

Why is it gaining traction?

Ascend users get CUDA-free training of production-ready small GPTs without wrestling with drivers or dependencies—everything's Dockerized with auto-built images using official Ascend PyTorch. The end-to-end scripts cover data prep to deployment, including web demos and eval tools, slashing setup from days to minutes. For domestic hardware stacks, it's a rare plug-and-play option for RLHF on edge NPUs.

Who should use this?

Ascend 910B owners in China building custom chatbots or fine-tuning small models for on-prem inference. Teams needing quick prototypes of 26m-parameter GPTs without cloud GPU costs, especially for SFT/RLHF experiments. Python devs evaluating Huawei hardware for sovereign AI stacks.

Verdict

Solid niche pick for Ascend setups—grab it if you have the hardware, as the Docker flows and vLLM integration deliver fast results. With only 10 stars and 0.8999999761581421% credibility score, it's early-stage; test thoroughly, but docs and scripts show promise for maturing quickly.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.