[Paper Review] Chinese Tiny LLM: Pretraining a Chinese-Centric Large Language Model
CT-LLM is a 2B-parameter LLM pre-trained mainly on Chinese data (800B Chinese tokens) from scratch, achieving strong Chinese abilities and competitive multilingual performance, with open-source data, CHC-Bench evaluation, and SFT/DPO alignment.
In this study, we introduce CT-LLM, a 2B large language model (LLM) that illustrates a pivotal shift towards prioritizing the Chinese language in developing LLMs. Uniquely initiated from scratch, CT-LLM diverges from the conventional methodology by primarily incorporating Chinese textual data, utilizing an extensive corpus of 1,200 billion tokens, including 800 billion Chinese tokens, 300 billion English tokens, and 100 billion code tokens. This strategic composition facilitates the model's exceptional proficiency in understanding and processing Chinese, a capability further enhanced through alignment techniques. Demonstrating remarkable performance on the CHC-Bench, CT-LLM excels in Chinese language tasks, and showcases its adeptness in English through SFT. This research challenges the prevailing paradigm of training LLMs predominantly on English corpora and then adapting them to other languages, broadening the horizons for LLM training methodologies. By open-sourcing the full process of training a Chinese LLM, including a detailed data processing procedure with the obtained Massive Appropriate Pretraining Chinese Corpus (MAP-CC), a well-chosen multidisciplinary Chinese Hard Case Benchmark (CHC-Bench), and the 2B-size Chinese Tiny LLM (CT-LLM), we aim to foster further exploration and innovation in both academia and industry, paving the way for more inclusive and versatile language models.
Motivation & Objective
- Demonstrate that a Chinese-centric LLM can surpass English-centric baselines on Chinese tasks.
- Provide a high-quality Chinese pretraining corpus (MAP-CC) and release data processing pipelines.
- Showcase the model's multilingual adaptability and English capabilities via supervised fine-tuning.
Proposed method
- Pretraining CT-LLM on a 1,254.68B-token mixture with 800B Chinese tokens, 300B English tokens, and 100B code tokens.
- Use transformer decoder architecture with 32 layers, 2,048 hidden size, 16 attention heads, and 4,096 token context.
- Apply rotary position embeddings, SwiGLU activations, RMSNorm, and a shared input-output embedding for efficiency.
- Employ a Chinese tokenizer (baichuan2) with BPE for 125,696 vocab size and digit-level tokenization for numerics.
- Perform supervised fine-tuning (SFT) with Chinese and English data and filter via perplexity using Qwen-7B as the evaluator.
- Incorporate preference optimization via DPO using mixed Chinese/English preference datasets to align with human preferences.
Experimental results
Research questions
- RQ1Can a Chinese-centric pretraining regime yield strong Chinese language understanding and generation without English-dominant data?
- RQ2How does SFT and DPO alignment affect Chinese and multilingual capabilities of CT-LLM?
- RQ3What is the impact of MAP-CC data preprocessing on model quality?
- RQ4How does CT-LLM perform on CHC-Bench for Chinese instruction understanding and following compared to other 2B models?
- RQ5What are the safety and alignment characteristics of CT-LLM-SFT-DPO versus baselines?
Key findings
- CT-LLM achieves notable Chinese language proficiency due to a data mix emphasizing Chinese content.
- CT-LLM shows balanced performance across disciplines, with smaller English-Chinese gaps on multi-domain tasks compared to some English-centric models.
- SFT-DPO alignment improves safety and preference-driven responses versus baselines.
- CT-LLM demonstrates competitive or superior performance on CHC-Bench for Chinese instruction following.
- CT-LLM-SFT-DPO maintains strong performance on English benchmarks despite Chinese-centric pretraining.
- Experimental results indicate better Chinese capability and competitive multilingual adaptability for a 2B model.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.