Rethinking LLM Language Adaptation: A Case Study on Chinese Mixtral

Yiming Cui, Xin Yao
3/4/2024
cs.CLcs.AI

Official code: ymcui/Chinese-Mixtral (612 stars, Apache-2.0, last commit 2026-04-19).

Abstract

Mixtral, a representative sparse mixture of experts (SMoE) language model, has received significant attention due to its unique model design and superior performance. Based on Mixtral-8x7B-v0.1, in this paper, we propose Chinese-Mixtral and Chinese-Mixtral-Instruct with improved Chinese language abilities by adopting further pre-training and instruction fine-tuning. Experimental results show that our Chinese-Mixtral and Chinese-Mixtral-Instruct successfully improve Chinese understanding and generation performance while retaining the original English abilities. Then, we discuss several key questions when performing language adaptation on large language models, including the necessity of extending the language-specific vocabulary and the choice of the initialization model (foundation model v.s. instruction model), by providing empirical results and analysis. We also present the visualizations of each expert to examine their importance on downstream tasks. Our resources are publicly available through \url{https://github.com/ymcui/Chinese-Mixtral}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

中文Mixtral混合专家大模型(Chinese Mixtral MoE LLMs)

61243Shell, PythonJan 11, 20246 months agoApache-2.0
32k64klarge-language-modelsllmmixtral+3 more

Similar Papers

Cite this paper

@article{cui2024rethinking,
  title  = {Rethinking LLM Language Adaptation: A Case Study on Chinese Mixtral},
  author = {Yiming Cui and Xin Yao},
  year   = {2024},
  eprint = {2403.01851},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.01851v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.01851.svg)](https://codeofpaper.com/paper/2403.01851)

Discussion