---
title: 'CT-LLM#1: Chinese Tiny LLM Overview'
url: https://www.emergentmind.com/topics/chinese-tiny-llm-ct-llm-1
type: topic
---

# CT-LLM#1: Chinese Tiny LLM Overview

Chinese Tiny LLM (CT-LLM#1) denotes a class of lightweight, Chinese-centric large language models (LLMs) engineered for robust Chinese linguistic and cultural understanding, with emergent cross-lingual and code capabilities. These models, occupying the 1–2 billion parameter regime, are trained from scratch using Chinese-predominant corpora, leveraging modern transformer architectures, sophisticated data curation, and multi-stage alignment. CT-LLM#1, as documented in publicly released resources, exemplifies a shift away from English-centric LLM construction, demonstrating that superior Chinese performance can be achieved without sacrificing multilingual generalization [2404.04167][2502.06635].

## 1. Model Architecture and Technical Design

CT-LLM#1 is implemented as a transformer decoder-only architecture, with parameter counts targeting approximately 1B (Steel-LLM adaptation) and 2B (original CT-LLM) to maximize deployment and research accessibility. The principal architecture comprises:

- **2B-parameter variant**: 32 layers, hidden dimension $d_{\text{model}}=2048$, 16 attention heads (each head size 128), feed-forward width 5,504, with shared input-output embeddings, RoPE positional encoding, RMSNorm normalization, SwiGLU activations, and "multi-write-head" optimizations for attention efficiency [2404.04167].
- **1B-parameter variant (Steel-LLM adaptation)**: 18 layers, $d=1792$, 32 attention heads, Soft-MoE (6 experts, single slot per expert) in the FFN, Qwen1.5 BPE vocabulary (151,936 tokens), and extensive use of hardware-efficient training primitives (FlashAttention, FSDP) [2502.06635].

Novel architectural elements include universal RoPE (rotary positional encoding) across all layers, SwiGLU instead of ReLU/GELU activations for improved expressivity, pre-layer RMSNorm for stability, and fully-trainable expert diversity through Soft-MoE in small-model regimes. Attention computation follows the canonical scaled-dot-product structure:
$$
\text{Attention}(Q, K, V) = \text{softmax}\left(\frac{Q K^\top}{\sqrt{d_k}}\right)V
$$
Layer normalization is performed with RMSNorm:
$$
\operatorname{RMSNorm}(\mathbf{z}) = \frac{\mathbf{z}}{\sqrt{\frac{1}{d}\sum_{i=1}^d z_i^2 + \epsilon}}\gamma
$$
Feed-forward blocks utilize SwiGLU: $\operatorname{SwiGLU}(x, y) = x \odot \operatorname{SiLU}(y)$.

## 2. Pretraining Corpus Construction and Data Processing

The foundation of CT-LLM#1 is the Massive Appropriate Pretraining Chinese Corpus (MAP-CC#1), assembled for scale and diversity:

- **Size and Language Distribution**: 1,254.7B total tokens (2B variant), split as $\sim$67% Chinese (840.5B), $\sim$25% English (314.9B), and $\sim$8% code (99.3B) [2404.04167]. The 1B variant (Steel-LLM) uses $\sim$85% Chinese, 10% English, 5% code [2502.06635].
- **Sources**: CommonCrawl, encyclopedias, academic articles, books, open-source code repositories, as well as curated Chinese corpora such as SkyPile, Wanjuan1.0, BELLE, and MOSS.
- **Quality Control Pipeline**: Text is filtered with multi-stage heuristics—format standardization, terminal punctuation checks, profanity detection, entropy and fastText scoring, length and repetition rules. Deduplication employs Bloom filters, MinHash LSH for high Jaccard similarity, and SimHash for Hamming distance in the 1B variant. Perplexity-based filtration and digit-ratio constraints ensure both linguistic authenticity and representational robustness.

Tokenization is performed using SentencePiece BPE: baichuan2 with a 125,696-vocabulary (2B) or Qwen1.5 BPE (1B; 151,936 tokens), supporting a context length of 4,096 (2B) and 2,048 (1B) [2404.04167][2502.06635].

## 3. Training Objectives and Optimization Protocols

Pretraining is conducted exclusively via standard autoregressive causal language modeling:
$$
\mathcal{L}_{\text{CE}} = -\sum_{t} \log p(x_t \mid x_{<t})
$$
No auxiliary losses (e.g., span corruption, contrastive) are applied. The optimizer is AdamW with weight decay, using a cosine annealing learning rate schedule after a fixed warmup, and standard β parameters [2404.04167][2502.06635]. Mixed-precision arithmetic (BF16/fp16) and FlashAttention are employed for memory and computational efficiency.

Batch size and global optimization hyperparameters are tuned in view of resource constraints, with the 2B CT-LLM reporting total compute of several hundred-petaflop days over $1.2\times 10^{12}$ tokens, and the 1B variant executed on 8$\times$A100/H800 80GB GPUs for 1.07M steps over 30 days (1T tokens) [2404.04167][2502.06635].

Resource-constrained variants adopt PyTorch FSDP for sharding, operator fusion, and effective checkpoint serialization.

## 4. Alignment, Fine-Tuning, and Human Preference Learning

Alignment proceeds via sequential Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO):

- **SFT**: Trained on instruction–response pairs, with datasets such as COIG-CQIA (Chinese), OL-CC, COIG-PC, and OpenHermesPreferences (English). Key SFT experiments tune Chinese:English mix ratios (1:1, 2:1, 4:1, 8:1, and monolingual) with the best aggregate performance at 2:1 [2404.04167].
- **Data filtering**: SFT pairs passing Qwen-7B perplexity < 3,000 are retained, enhancing sample quality.
- **DPO (Direct Preference Optimization)**: Human and synthetic ranked response pairs ($\sim$183K Chinese, 46K English) are used to optimize for preference consistency. DPO hyperparameters: batch=4, learning rate $1 \times 10^{-6}$, β=0.5, trained 2 epochs using H800 GPUs.

The DPO objective follows the formulation:
$$
\mathbb{E}\Big[\log \sigma(r_\theta(\text{choice}) - r_\theta(\text{reject}))\Big] \quad\text{subject to}\quad \text{KL}(\pi_\theta || \pi_{\text{sft}}) \leq \delta
$$
where $\pi_{\text{sft}}$ is the SFT-aligned policy.

## 5. Evaluation Benchmarks and Comparative Metrics

CT-LLM#1 performance is rigorously assessed using both standardized and Chinese-centric benchmarks:

- **Standard**: BoolQ, COPA, HellaSwag, RTE, WiC, MMLU, PIQA, ARC, GSM8K, HumanEval, MBPP (multilingual/English).
- **Chinese-centric**: C-Eval, CMMLU, and the Chinese Hard Case Benchmark (CHC-Bench#1) covering 214 tasks in writing, humanity/history, science, math, reading comprehension, role-play, hard-case Chinese, and coding. Scoring is performed by GPT-4 using compositional criteria (helpfulness, relevance, accuracy, depth, creativity, detail); MC tasks utilize perplexity.

Safety is evaluated with Cvalues responsibility benchmarks (MC and QA, GPT-4 scores).

**Benchmark summary**:

| Model                 | C-Eval (%) | CMMLU (%) | Safety (Cvalues) | CHC-Bench Subtasks |
|-----------------------|------------|-----------|------------------|--------------------|
| CT-LLM#1 (2B, SFT-DPO)| Top-tier   | Top-tier  | 2nd on Cvalues   | 1st: Writing, Math |
| Steel-LLM-Chat (1B)   | 41.9       | 36.1      | —                | —                  |
| CT-LLM-SFT-2B         | 41.5       | 41.5      | —                | —                  |

On Chinese benchmarks, CT-LLM#1 leads 2B-class models for writing, role-play, math, and hard-case Chinese, while maintaining competitive English and code performance post-SFT and DPO alignment [2404.04167][2502.06635].

## 6. Engineering Insights and Practical Lessons

Key findings reveal that:

- **Chinese-centric pretraining** (67–85% Chinese) directly maximizes Chinese proficiency; contrast with traditional English-centric pretraining and subsequent cross-lingual adaptation [2404.04167][2502.06635].
- **Small English fraction with post-SFT** is sufficient to trigger strong multilingual generalization.
- **Data quality via aggressive filtering/deduplication** notably augments robustness and reliability, superseding gains from sheer data volume alone.
- **Optimal SFT data proportion** is found at 2:1 Chinese:English, balancing bilingual generalization and avoiding overfitting to a single language.
- **Resource-aware architectural choices** (Soft-MoE, mixed-precision, operator fusion) enable feasible small-model training without quality loss.

Emergent scaling effects yield smooth, predictable improvements in reasoning, coding, and Chinese comprehension up to $\sim$800B tokens, with diminishing returns thereafter.

Recommended best practices for tiny Chinese LLM construction include upweighting high-quality Chinese data, using Soft-MoE over sparse-MoE in small models, stability pre-norm (RMSNorm), and mirroring pretraining distribution in fine-tuning data [2502.06635].

## 7. Positioning and Future Prospects

CT-LLM#1 redefines the standard for lightweight, open-source Chinese LLMs by systematically prioritizing primary-language pretraining and releasing a complete pipeline: open data (MAP-CC#1), evaluation benchmarks (CHC-Bench#1), and reproducible recipes. This approach catalyzes a paradigm shift toward non-English-centric, resource-efficient multilingual foundation models and provides a practical blueprint for academics and practitioners facing computational or data bottlenecks [2404.04167][2502.06635].

Availability of source code and checkpoints (e.g., Steel-LLM: https://github.com/zhanshijinwat/Steel-LLM) lowers the barrier to further research and adoption. A plausible implication is that continued refinement of tiny Chinese LLMs, leveraging increasingly sophisticated filtering, fine-tuning heuristics, and model engineering, will further narrow the performance gap with larger-scale, English-centered models while retaining accessibility and deployment advantages.

Source: https://www.emergentmind.com/topics/chinese-tiny-llm-ct-llm-1