SuperAPIAI Directory

build_MiniLLM_from_scratch vs 昇思MindSpore

Metrics & specs comparison

build_MiniLLM_from_scratch

build_MiniLLM_from_scratch is an open-source project whose goal is to build a small-parameter LLM from scratch, completing all four stages—pretraining, instruction fine-tuning, reward model, and reinforcement learning—to achieve a chat model capable of simple chat tasks at a controllable cost. The project uses the bert4torch training framework, with concise and efficient code. The trained checkpoints can seamlessly connect with the transformers package for inference, and the file reading method during training has been optimized to reduce memory usage. Currently, the pretraining and instruction fine-tuning stages have been completed, and DPO alignment is still being tested. The project provides complete training logs for reproduction and comparison, and also includes a self-cognition dataset, allowing customization of attributes such as the robot's name and author. The chat model supports multi-turn conversations. It should be noted that, limited by corpus size, model scale, and SFT corpus quality, the model currently only has simple chat capabilities and does not have the ability to answer complex questions.

昇思MindSpore

The all-scenario deep learning framework that best manifests the computing power of the Ascend AI processor, provides development experience with friendly design and efficient execution for the data scientists and algorithmic engineers, and further advance the development and enrichment of the AI software/hardware application ecosystem.

Dimensionbuild_MiniLLM_from_scratch昇思MindSpore
CategoryAI developer platformsAI developer platforms
Monthly visits—
46.6K
MoM—-34.1%
Global rank—#377,752
Avg. visit—14m 13s
AI referrals—0.8%
Pricing开源项目(可免费自部署)开源项目(可免费自部署)
Platforms—Web
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools