BianCang: A Traditional Chinese Medicine Large Language Model

Sibo Wei, Xueping Peng, Yi-Fei Wang, Tao Shen, Jiasheng Si +6 more
11/17/2024
cs.CLcs.AI

Official code: QLU-NLP/BianCang (81 stars, last commit 2025-08-02).

Abstract

The surge of large language models (LLMs) has driven significant progress in medical applications, including traditional Chinese medicine (TCM). However, current medical LLMs struggle with TCM diagnosis and syndrome differentiation due to substantial differences between TCM and modern medical theory, and the scarcity of specialized, high-quality corpora. To this end, in this paper we propose BianCang, a TCM-specific LLM, using a two-stage training process that first injects domain-specific knowledge and then aligns it through targeted stimulation to enhance diagnostic and differentiation capabilities. Specifically, we constructed pre-training corpora, instruction-aligned datasets based on real hospital records, and the ChP-TCM dataset derived from the Pharmacopoeia of the People's Republic of China. We compiled extensive TCM and medical corpora for continual pre-training and supervised fine-tuning, building a comprehensive dataset to refine the model's understanding of TCM. Evaluations across 11 test sets involving 31 models and 4 tasks demonstrate the effectiveness of BianCang, offering valuable insights for future research. Code, datasets, and models are available on https://github.com/QLU-NLP/BianCang.

View on arXivView PDF

Code Implementations(1)

QLU-NLP/BianCangOfficial100%
817PythonNov 15, 20241 years ago

Similar Papers

Cite this paper

@article{wei2024biancang,
  title  = {BianCang: A Traditional Chinese Medicine Large Language Model},
  author = {Sibo Wei and Xueping Peng and Yi-Fei Wang and Tao Shen and Jiasheng Si and Weiyu Zhang and Fa Zhu and Athanasios V. Vasilakos and Wenpeng Lu and Xiaoming Wu and Yinglong Wang},
  year   = {2024},
  eprint = {2411.11027},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.11027v2}
}

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/2411.11027.svg)](https://codeofpaper.com/paper/2411.11027)

Discussion