NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Breeze-7B Technical Report

Chan-Jan Hsu, Chang-Le Liu, Feng-Ting Liao, Po-Chun Hsu, Yi-Chang Chen, Da-Shan ShiuarXiv 2024

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:

  1. 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.
  2. 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).

Breeze-7B-Instruct-v1.0 performance on TMMLU+ and MMLU benchmarks compared to other models.

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.

Heatmap comparison of passkey retrieval accuracy. Breeze-7B-32k-Base (bottom) maintains high accuracy across the entire 32k window, while the standard base model (top) fails beyond 4k tokens.

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

BibTeX
@misc{hsu2024breeze,
  author = {Chan-Jan Hsu and Chang-Le Liu and Feng-Ting Liao and Po-Chun Hsu and Yi-Chang Chen and Da-Shan Shiu},
  title = {{Breeze-7B Technical Report}},
  year = {2024},
  eprint = {2403.02712},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.02712},
}
Figure