A Traditional Chinese Medicine large language model, inspired by the wisdom of the eminent representative of ancient Chinese medical scholars, Zhang Zhongjing. This model aims to illuminate the profound knowledge of Traditional Chinese Medicine, bridging the gap between ancient wisdom and modern technology, and providing a reliable and professional tool for the Traditional Chinese Medical fields. However, all generated results are for reference only and should be provided by experienced professionals for diagnosis and treatment results and suggestions.
It is recommended to use colab for free GPU inference.
The data for this model is sourced from the non-profit organization, Fulture Medicine Philosophy (Fulphil). Nearly 50 Traditional Chinese Medicine and integrated Chinese-Western Medicine clinical physicians from Beijing University of Chinese Medicine, Shanghai University of Traditional Chinese Medicine, and Shandong University of Traditional Chinese Medicine contributed data and annotations across multiple disciplines.
Funding Acknowledgement
This project is generously funded by family sponsorship. Special thanks to my father, Piyao Kang, and to Xiuhua Li and my girlfriend, Sunsi Wu, for their strong support and assistance. The funds have been utilized in data cleaning, computational power rental, and consultation with domain experts. Thank you all!
Intended uses & limitations
Academic and Personal Use. You may use the Work for academic research and personal use without restriction.
Commercial Use. You may not use the Work for commercial purposes without prior written authorization from the Contributor(s). Any commercial use authorized by the Contributor(s) must not involve charging fees above the model inference cost without express written permission from the Contributor(s).
Medical Application. The Work is provided for academic research purposes only and not for commercial use. It must not be used in clinical practice or in any scenario with potential medical intent without permission. The capabilities of this Traditional Chinese Medicine (TCM) Language Model, including syndrome classification and prescription generation, are experimental and not intended for clinical diagnosis or treatment. Outputs are for internal reference and testing only and should not be considered as medical advice. All medical diagnoses and treatments should be performed by experienced physicians through a standardized clinical process.
Distribution. Redistribution of the Work or derivative works must comply with all the terms and conditions of this License.
Training data
1.1 Multi-task Therapeutic Behavior Decomposition Instruction Construction Strategy
Human memory and understanding require the construction of various scenarios and stories to implicitly encode knowledge information. The clarity of memory depends on the duration and richness of the learning process. Interleaved learning, spaced practice, and diversified learning can enhance the consolidation of knowledge, thereby forming a deep understanding of domain knowledge. Our approach is to learn from the process of human memory knowledge, use professional tables, leverage the language representation capabilities of large language models, strictly set specific prompt templates, so that the model can generate 15 scenarios based on the table data of Chinese medicine gynecology prescriptions, including patient therapeutic story, diagnostic analysis, diagnosis treatment expected result, formula function, interactive story, patient therapeutic story, narrative medicine, tongue & pulse, therapeutic template making, critical thinking, follow up, prescription, herb dosage, case study, real-world problem, disease mechanism, etc., to promote the model's reasoning ability for prescription data and diagnostic thinking logic.
1.2 Regular TCM Instruction Data Construction Strategy
In addition, we have also added instructions based on the content of Chinese medicine ancient books, noun explanations, symptom synonyms, antonyms, syndromes, symptoms, treatment methods, etc. In order to form a control experiment, we only use one instruction template to represent data for this part, and the number of this part of the data is 80,000, which is significantly more than the number of instructions constructed by the above strategy. The following is the specific number of instructions and tokens information.
Data Source and Instruction Quantity Table:
Our model, a meticulously fine-tuned version of Qwen1.5-1.8B-Chat, has been optimized for high-speed inference on a Tesla T4 graphics processing unit (GPU). This enhancement was achieved through extensive training on our exclusive medical datasets, ensuring the model's proficiency in understanding and generating responses relevant to the medical field, particularly in the domain of Traditional Chinese Medicine (TCM).
Disclaimer
This research is for academic research use only, commercial use is not allowed without permission, and it is not to be used in medical scenarios or scenarios with potential medical intent for clinical practice. This large language model for Traditional Chinese Medicine is still in the laboratory testing stage. The emerging syndrome classification and prescription generation capabilities at this stage are still rudimentary, and it does not yet have a highly reliable clinical diagnostic and therapeutic capability for gynecology and other clinical specialties. The output results are for internal reference testing only. Real medical diagnosis and decision-making still need to be issued by experienced physicians through a strictly regulated diagnostic and therapeutic process.
Collaboration
Data processing and annotation is one of the important steps in training the model. We sincerely welcome Traditional Chinese Medicine practitioners with strong TCM thinking and innovative spirit to join us. We will also declare corresponding data contributions. We look forward to the day when we can achieve a reliable General Artificial Intelligence for Traditional Chinese Medicine, allowing the ancient Chinese medicine to blend with modern technology and shine anew. This is also the ultimate mission of this project. If interested, please send an email to 21110860035@m.fudan.edu.cn.
Team Introduction
Led by the non-profit organization FulPhil-医哲未来 (Future Medicine Philosophy), the CMLM (Chinese Medicine Language Models) initiative on HuggingFace is dedicated to advancing healthcare AI by integrating traditional Chinese medicine with state-of-the-art machine learning. Our mission includes curating valuable medical datasets, developing AI models for medical assistance, and ensuring ethical AI use in healthcare, fostering collaboration between global experts in Chinese and Western medicine and AI.
Citation
If you find this work useful in your research, please cite our repository:
@misc{ZhongJingGPT-TST2025,
author = {Kang, Yanlan and Chang, Yang and Wu, Sunsi and Wu, Xuening and Jiao, Yuqi and Fu, Jiyuan and Ma, Qingshan and Fang, Yide and Chen, Yue and Zhao, Xue and Zhang, Xukun and Zhu, Jingyi and Liu, Xiyu and Wang, Yan and Wang, Haofen and Chu, William Cheng-Chung and Zhang, Wenqiang},
title = {ZhongJingGPT: An Expert Knowledge-Guided Language Model for Traditional Chinese Medicine},
year = {2025},
publisher = {SciOpen},
journal = {Tsinghua Science and Technology},
howpublished = {\url{https://doi.org/10.26599/TST.2025.9010046}}
}
@misc{CMLM-ZhongJing,
author = {Liu Lin Ju Shi},
title = {CMLM-ZhongJing-2-1_8b: A State-of-the-Art Edge Computing Language Model for Traditional Chinese Medicine},
year = {2023},
publisher = {FulPhil-医哲未来 (Future Medicine Philosophy).},
journal = {GitHub Repository},
howpublished = {\url{https://github.com/pariskang/CMLM-ZhongJing}}