Tiny LLM zh is an open-source educational project that demonstrates how to build and train compact Chinese large language models from scratch. It covers the complete language model development process, including tokenization, pretraining, supervised fine-tuning, and human preference alignment. The architecture uses Transformer components such as RMSNorm, rotary positional embeddings, and multi-head attention. It supports several model sizes, ranging from approximately 16 million to 440 million parameters. Training workflows use Hugging Face Transformers and DeepSpeed for distributed GPU training. The project includes datasets, training scripts, evaluation tools, and quantization resources. Additional implementations explore mixture-of-experts architectures and inference through vLLM and llama.cpp. Its primary purpose is education rather than production-grade model performance.

Features

  • Chinese Language Model Training from Scratch
  • Configurable 16M to 440M Parameter Models
  • Pretraining and Supervised Fine-Tuning Pipelines
  • RLHF and Direct Preference Optimization
  • DeepSpeed Distributed GPU Training
  • vLLM and llama.cpp Inference Support

Project Samples

Project Activity

See All Activity >

Follow Tiny LLM zh

Tiny LLM zh Web Site

Other Useful Business Software
Patching and Endpoint Management for Under $1/Endpoint Icon
Patching and Endpoint Management for Under $1/Endpoint

OS and third-party patching, vulnerability insights, and remote control included

Splashtop AEM gives IT teams automated patching, monitoring, and unattended remote access for Windows and macOS. No long setup, no paying extra for key features.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Tiny LLM zh!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Large Language Models (LLM)

Registered

2026-10-22