Abstract
Breeze-7B is an open-source language model based on Mistral-7B, designed to address the need for improved language comprehension and chatbot-oriented capabilities in Traditional Chinese. This technical report provides an overview of the additional pretraining, finetuning, and evaluation stages for the Breeze-7B model. The Breeze-7B family of base and chat models exhibits good performance on language comprehension and chatbot-oriented tasks, reaching the top in several benchmarks among models comparable in its complexity class.
Introduction
While Large Language Models (LLMs) like GPT-4 and Mistral have revolutionized NLP, they are predominantly optimized for English. This creates two major hurdles for Traditional Chinese (TC) users:
- Efficiency: Standard tokenizers often represent Chinese characters inefficiently, leading to high "compression ratios" (more tokens per character). This wastes context window space and increases computational costs.
- Performance: Model behavior often degrades in non-English contexts, struggling with regional nuances, cultural references, and specific linguistic structures used in Taiwan and other TC-speaking regions.
Breeze-7B aims to bridge this gap by providing a performant, open-source alternative tailored for the TC community.
Methodology
The development of Breeze-7B followed a multi-stage pipeline:
Architectural Adaptation
The original Mistral tokenizer was modified by adding 29,873 new tokens derived from a Chinese corpus using the Byte Pair Encoding (BPE) algorithm. This expanded the vocabulary from approximately 32k to 61,872 tokens. This expansion resulted in a 2x compression ratio improvement, allowing the model to process twice as much text in the same context window and achieve a 2x speedup in inference and training for Chinese text compared to the original Mistral.
Additional Pretraining
The model underwent self-supervised learning on 650 GB of general Traditional Chinese data (7,000 H100 GPU hours). A flat learning rate was employed, and model quality was monitored via perplexity on a proprietary validation set of high-quality, textbook-like data.
Long Context Extension
To extend the context window from 8k to 32k tokens, the model was trained on an additional 25 GB of mixed Chinese, English, and code data. This stage utilized a "base-changing" method, adjusting the rotary positional embeddings (RoPE) to accommodate longer sequences.
Instruction Finetuning
Finally, supervised finetuning (SFT) was applied using filtered, high-quality instruction datasets to create Breeze-7B-Instruct.
Evaluation and Results
Benchmark Performance
Breeze-7B was evaluated against several benchmarks, including TMMLU+ (a massive Traditional Chinese MCQ benchmark) and MMLU (English).
As shown in the table above, Breeze-7B-Instruct-v1.0 demonstrates superior performance on the TMMLU+ average and Table benchmarks compared to similar-sized models like Yi-6B and Taiwan-LLM. Crucially, it maintains competitive performance on the English MMLU benchmark (59.12), suggesting minimal catastrophic forgetting of its original English knowledge. On MT-Bench-tw, it scored a 6.0, trailing only much larger models and GPT-3.5-Turbo.
Context Mastery
The effectiveness of the long-context extension was verified using passkey retrieval tasks across varying sequence lengths and depths.
The 32k version showed near-perfect performance across its full context length, whereas the standard base model's performance dropped sharply beyond its initial 4k token training limit.
Conclusion
Breeze-7B successfully optimizes the Mistral-7B architecture for Traditional Chinese through tokenizer expansion, targeted pretraining, and context extension. By achieving a 2x inference speedup and top-tier regional benchmark performance without sacrificing English capabilities, it provides a robust open-source foundation for TC-centric applications. Future work will focus on enhancing reasoning capabilities and multi-turn instruction following in specialized domains.
Summary updated