NextfitAI & agents

logitcai/tinybrain

A Chinese-first small language model built completely from scratch using PyTorch.

DOES IT FIT?
Not worth it

Too experimental and early for production use by a small team.

Medium confidence. AI review, 2026-11-26. No person checked it. Lower because of few closed issues or releases.
Best for
ML researchers and developers building custom small models.
Good for
Software development
Setup
Hard
Licence
MIT · free to use and change

Business fit

Adds high R&D risk for uncertain gains in a commercial setting.

Technical fit

PyTorch 2.5+, Python 3.11+, requires GPUs, custom architecture, low maturity.

Try it locally

git clone https://github.com/logitcai/tinybrain && cd tinybrain
pip install -e ".[artifact]"           # 推理只要 torch、sentencepiece、numpy、safetensors
pip install modelscope
pip install -e ".[data]"          # 要 Python 3.11+、PyTorch 2.5+(用 PyTorch 自带的 Muon 要 2.9+);装完就有 tinybrain 命令
pip install -e ".[cuda,fast]"     # 可选:N 卡训练加速(Liger)、快一个数量级的切词(gigatoken);Windows 先看「N 卡训练」一节

Project health

Check it yourself

README · Releases · Issues · Pull requests · Commits · Security · Licence

Open in Nextfit → · the original on GitHub

More in AI & agents

All AI & agents projects, best rated first