[Paper Review] Panda LLM: Training Data and Evaluation for Open-Sourced Chinese Instruction-Following Large Language Models
Panda LLM introduces the first open-sourced Chinese instruction-following large language model, trained via two-stage fine-tuning on diverse high-quality Chinese datasets including Chinese-Wiki, news, and COIG. It achieves state-of-the-art performance among open-source Chinese LLMs and releases model weights, data, and code to promote transparency, trustworthiness, and democratization of AI.
This project focuses on enhancing open-source large language models through instruction-tuning and providing comprehensive evaluations of their performance. We explore how various training data factors, such as quantity, quality, and linguistic distribution, influence the performance of instruction-tuned models trained on publicly accessible high-quality instruction datasets for both English and Chinese languages. Our goal is to supplement evaluation with quantitative analyses, providing valuable insights for the continued advancement of open-source chat models. Our model, data, and code are publicly available for others to use and build upon.
Motivation & Objective
- To develop a trustworthy, transparent, and customizable open-source Chinese instruction-following large language model.
- To investigate how training data factors—quantity, quality, and linguistic distribution—affect instruction-tuned model performance.
- To provide a comprehensive evaluation of existing open-sourced Chinese LLMs for the first time.
- To enable broader access to high-quality Chinese LLMs through public release of model checkpoints, training data, and source code.
- To support the democratization of AI by empowering researchers, developers, and SMEs with accessible, customizable LLMs.
Proposed method
- Fine-tuned the LLaMA base model using a two-stage training approach: pre-training on diverse Chinese corpora followed by instruction-tuning.
- Constructed a high-quality instruction-tuning dataset from five Chinese monolingual corpora and the COIG dataset, covering diverse domains and linguistic styles.
- Applied instruction-tuning with the prompt template: "Human: [instruction] \n\nAssistant: [response]", following the approach of Wei et al. (2021).
- Leveraged the LLaMA model architecture with improvements such as pre-normalization, SwiGLU activation, and rotary embeddings.
- Released model weights as parameter differences relative to the original LLaMA weights due to licensing constraints, with a conversion script provided.
- Used a mixture of 7 publicly available datasets totaling 1.4T tokens for pre-training, with hyperparameters tuned for 7B, 13B, 33B, and 65B parameter variants.
Experimental results
Research questions
- RQ1How do variations in training data quantity, quality, and linguistic distribution impact the performance of instruction-tuned Chinese LLMs?
- RQ2What is the relative performance of open-sourced Chinese instruction-following LLMs compared to one another, and how does Panda LLM compare?
- RQ3Can a two-stage training approach (pre-training + instruction-tuning) yield superior performance on Chinese instruction-following tasks?
- RQ4To what extent can open-sourced Chinese LLMs achieve state-of-the-art results without access to proprietary data or models?
- RQ5How can open-source LLMs be made more transparent, trustworthy, and customizable for global use?
Key findings
- Panda LLM outperforms all previously available open-sourced Chinese LLMs of equivalent parameter size on instruction-following benchmarks.
- The two-stage training approach—pre-training on diverse Chinese corpora followed by instruction-tuning—significantly improves instruction-following capability.
- The model demonstrates strong zero-shot generalization across diverse instruction types, including reasoning, summarization, and question-answering.
- The evaluation reveals significant performance gaps between existing open-source Chinese LLMs, highlighting the importance of high-quality training data and fine-tuning.
- The release of model weights as parameter differences from LLaMA enables full reproducibility and customization for users with access to the original LLaMA weights.
- The project establishes a foundation for future open-sourced, scalable, and multilingual LLMs, with planned releases of larger models like Panda-13B and Panda-33B.
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.