Proceedings

WenyanGPT: A Large Language Model for Classical Chinese Tasks

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 8339-8347.

https://doi.org/10.24963/ijcai.2025/927

Abstract

Classical Chinese, as the core carrier of Chinese culture, plays a crucial role in the inheritance and study of ancient literature. However, existing natural language processing models primarily optimize for Modern Chinese, resulting in inadequate performance on Classical Chinese. This paper presents a comprehensive solution for Classical Chinese language processing. By continuing pre-training and instruction fine-tuning on the LLaMA3-8B-Chinese model, we construct a large language model, WenyanGPT, which is specifically designed for Classical Chinese tasks. Additionally, we develop an evaluation benchmark dataset, WenyanBENCH. Experimental results on WenyanBENCH demonstrate that WenyanGPT significantly outperforms current advanced LLMs in various Classical Chinese tasks. We make the model's training data, instruction fine-tuning data, and evaluation benchmark dataset publicly available to promote further research and development in the field of Classical Chinese processing.

  1. [Achiam et al., 2023] Josh Achiam, Steven Adler, Sandhini Agarwal, et al. Gpt-4 technical report. arXiv preprint arXiv:2303.08774, 2023.
  2. [Brown et al., 2020] Tom Brown, Benjamin Mann, Nick Ry- der, Melanie Subbiah, et al. Language models are few-shot learners. Advances in neural information processing sys- tems, 33:1877-1901, 2020.
  3. [Cao et al., 2023] Jiahuan Cao, Dezhi Peng, Yongxin Shi, Zongyuan Jiang, and Lianwen Jin. Translating ancient chi- nese to modern chinese at scale: A large language model- based approach. In International Conference on Algorith- mic Learning Theory, 2023.
  4. [Cao et al., 2024] Jiahuan Cao, Dezhi Peng, Peirong Zhang, Yongxin Shi, et al. Tonggu: Mastering classical chinese understanding with knowledge-grounded large language models. In Conference on Empirical Methods in Natural Language Processing, 2024.
  5. [Chang et al., 2024] Bolin Chang, Yiguo Yuan, Bin Li, et al. Automatic word segmentation and part-of-speech tagging for classical chinese based on radicals. Data Analysis and Knowledge Discovery, 8(11):102-113, 2024.
  6. [Cheng et al., 2020] Ning Cheng, Bin Li, Liming Xiao, et al. Integration of automatic sentence segmentation and lexi- cal analysis of ancient chinese based on bilstm-crf model. In Proceedings of LT4HALA 2020-1st Workshop on Lan- guage Technologies for Historical and Ancient Languages, pages 52-58, 2020.
  7. [Chowdhery et al., 2023] Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, et al. Palm: Scal- ing language modeling with pathways. Journal of Machine Learning Research, 24(240):1-113, 2023.
  8. [Cui et al., 2023] Jiaxi Cui, Zongjian Li, Yang Yan, Bohua Chen, and Li Yuan. Chatlaw: Open-source legal large language model with integrated external knowledge bases. CoRR, 2023.
  9. [Dan et al., 2023] Yuhao Dan, Zhikai Lei, Yiyang Gu, et al. Educhat: A large-scale language model-based chatbot sys- tem for intelligent education, 2023.
  10. [Dubey et al., 2024] Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
  11. [Gupta et al., 2023] Kshitij Gupta, Benjamin Th'erien, Adam Ibrahim, et al. Continual pre-training of large language models: How to (re)warm your model? ArXiv, abs/2308.04014, 2023.
  12. [Huang et al., 2002] Liang Huang, Yinan Peng, Huan Wang, and Zhenyu Wu. Statistical part-of-speech tagging for classical chinese. In Proceedings of the 5th International Conference on Text, Speech and Dialogue, TSD '02, page 115-122, Berlin, Heidelberg, 2002. Springer-Verlag.
  13. [Huang et al., 2010] Hen-Hsen Huang, Chuen-Tsai Sun, and Hsin-Hsi Chen. Classical chinese sentence segmentation. In CIPS-SIGHAN Joint Conference on Chinese Language Processing, Beijing, China, August 28-29, 2010, 2010.
  14. [Huang et al., 2020] Chuen-Min Huang, Kuo-Lin Lu, Yi- Ying Cheng, and Yu-Chen Peng. Generating chinese clas- sical poetry with quatrain generation model (qgm) using encoder-decoder lstm. In 2020 IEEE International Con- ference on Big Data (Big Data), pages 5700-5702. IEEE, 2020.
  15. [Huang et al., 2023] Quzhe Huang, Mingxu Tao, Zhenwei An, Chen Zhang, Cong Jiang, Zhibin Chen, Zirui Wu, and Yansong Feng. Lawyer llama technical report. 2023.
  16. [Hurst et al., 2024] Aaron Hurst, Adam Lerer, Adam P Goucher, et al. Gpt-4o system card. arXiv preprint arXiv:2410.21276, 2024.
  17. [Ibrahim et al., 2024] Adam Ibrahim, Benjamin Th'erien, Kshitij Gupta, Mats L. Richter, et al. Simple and scalable strategies to continually pre-train large language models. ArXiv, abs/2403.08763, 2024.
  18. [Ke et al., 2023] Zixuan Ke, Yijia Shao, Haowei Lin, Tat- suya Konishi, Gyuhak Kim, and Bin Liu. Continual pre- training of language models. In International Conference on Learning Representations, 2023.
  19. [Kenton and Toutanova, 2019] Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova. Bert: Pre- training of deep bidirectional transformers for language understanding. In Proceedings of naacL-HLT, volume 1, page 2. Minneapolis, Minnesota, 2019.
  20. [Lehman et al., 2023] Eric Lehman, Evan Hernandez, Di- wakar Mahajan, et al. Do we still need clinical language models? ArXiv, abs/2302.08091, 2023.
  21. [Li, 2018] N Li. Automatic extraction of alias in ancient lo- cal chronicles based on conditional random fields. J. Chin. Inf. Process, 32:41, 2018.
  22. [Liu et al., 2018] Dayiheng Liu, Jiancheng Lv, Kexin Yang, and Qian Qu. Ancient-modern chinese translation with a new large training dataset. ACM Transactions on Asian and Low-Resource Language Information Process- ing (TALLIP), 19:1 -13, 2018.
  23. [Liu et al., 2020] Zhuang Liu, Degen Huang, Kaiyu Huang, Zhuang Li, and Jun Zhao. Finbert: A pre-trained financial language representation model for financial text mining. In International Joint Conference on Artificial Intelligence, 2020. IJCAI
  24. [Liu et al., 2023a] Chang Liu, Dongbo Wang, Zhixiao Zhao, et al. Sikugpt: A generative pre-trained model for in- telligent information processing of ancient texts from the perspective of digital humanities. ArXiv, abs/2304.07778, 2023.
  25. [Liu et al., 2023b] June M. Liu, Donghao Li, He Cao, Tianhe Ren, Zeyi Liao, and Jiamin Wu. Chatcounselor: A large language models for mental health support. ArXiv, abs/2309.15461, 2023.
  26. [Liu et al., 2024] Aixin Liu, Bei Feng, Bing Xue, et al. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437, 2024.
  27. [Radford and Narasimhan, 2018] Alec Radford and Karthik Narasimhan. Improving language understanding by gen- erative pre-training. 2018.
  28. [Radford et al., 2019] Alec Radford, Jeff Wu, Rewon Child, David Luan, et al. Language models are unsupervised mul- titask learners. 2019.
  29. [Srivastava et al., 2023] Aarohi Srivastava, Abhinav Ras- togi, Abhishek Rao, Abu Awal Md Shoeb, et al. Beyond the imitation game: Quantifying and extrapolating the ca- pabilities of language models. Trans. Mach. Learn. Res., 2023, 2023.
  30. [Taylor et al., 2022] Ross Taylor, Marcin Kardas, Guillem Cucurull, Thomas Scialom, et al. Galactica: A large lan- guage model for science. ArXiv, abs/2211.09085, 2022.
  31. [Tian et al., 2020] Huishuang Tian, Kexin Yang, Dayiheng Liu, and Jiancheng Lv. Anchibert: A pre-trained model for ancient chinese language understanding and genera- tion. 2021 International Joint Conference on Neural Net- works (IJCNN), pages 1-8, 2020.
  32. [Touvron et al., 2023] Hugo Touvron, Thibaut Lavril, Gau- tier Izacard, et al. Llama: Open and efficient foundation language models. ArXiv, abs/2302.13971, 2023.
  33. [Vaswani et al., 2017] Ashish Vaswani, Noam M. Shazeer, Niki Parmar, et al. Attention is all you need. In Neural Information Processing Systems, 2017.
  34. [Wang et al., 2019] Hongbin Wang, Haibing Wei, Jianyi Guo, and Liang Cheng. Ancient chinese sentence segmen- tation based on bidirectional lstm+ crf model. Journal of advanced computational intelligence and intelligent infor- matics, 23(4):719-725, 2019.
  35. [Wang et al., 2022] Dongbo Wang, Chang Liu, Zihe Zhu, Jiangfeng Liu, et al. Sikubert and sikuroberta: Construc- tion and application of pre-trained models for the siku quanshu in the field of digital humanities. Library Tribune, 42(06):31-43, 2022.
  36. [Wang et al., 2023a] Dongbo Wang, Chang Liu, Zhixiao Zhao, et al. Gujibert and gujigpt: Construction of intel- ligent information processing foundation language models for ancient texts. arXiv preprint arXiv:2307.05354, 2023.
  37. [Wang et al., 2023b] Hao Wang, Chi-Liang Liu, Nuwa Xi, Zewen Qiang, Sendong Zhao, Bing Qin, and Ting Liu. Huatuo: Tuning llama model with chinese medical knowl- edge. ArXiv, abs/2304.06975, 2023.
  38. [Xiong et al., 2023] Honglin Xiong, Sheng Wang, Yitao Zhu, Zihao Zhao, Yuxiao Liu, Linlin Huang, Qian Wang, and Dinggang Shen. Doctorglm: Fine-tuning your chinese doctor is not a herculean task. ArXiv, abs/2304.01097, 2023.
  39. [Yan et al., 2016] Rui Yan, Cheng-Te Li, Xiaohua Hu, and Ming Zhang. Chinese couplet generation with neural net- work structures. In Proceedings of the 54th Annual Meet- ing of the Association for Computational Linguistics (Vol- ume 1: Long Papers), pages 2347-2357, 2016.
  40. [Yang et al., 2023a] Aiyuan Yang, Bin Xiao, Bingning Wang, Borong Zhang, et al. Baichuan 2: Open large-scale language models. arXiv preprint arXiv:2309.10305, 2023.
  41. [Yang et al., 2023b] Yi Yang, Yixuan Tang, and Kar Yan Tam. Investlm: A large language model for investment using financial domain instruction tuning, 2023.
  42. [Yang et al., 2024a] An Yang, Baosong Yang, Beichen Zhang, et al. Qwen2. 5 technical report. arXiv preprint arXiv:2412.15115, 2024.
  43. [Yang et al., 2024b] Songhua Yang, Hanjie Zhao, Senbin Zhu, , et al. Zhongjing: Enhancing the chinese medical capabilities of large language model through expert feed- back and real-world multi-turn dialogue. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 19368-19376, 2024.
  44. [Yi et al., 2017] Xiaoyuan Yi, Ruoyu Li, and Maosong Sun. Generating chinese classical poems with rnn encoder- decoder. In Chinese Computational Linguistics and Nat- ural Language Processing Based on Naturally Annotated Big Data: 16th China National Conference, CCL 2017, and 5th International Symposium, NLP-NABD 2017, Nan- jing, China, October 13-15, 2017, Proceedings 16, pages 211-223. Springer, 2017.
  45. [Yuan et al., 2019] Y Yuan, D Wang, S Huang, and B Li. The comparative study of different tagging sets on entity ex- traction of classical books. Data Analysis and Knowledge Discovery, 3(03):57-65, 2019.
  46. [Yue et al., 2023] Shengbin Yue, Wei Chen, Siyuan Wang, Bingxuan Li, et al. Disc-lawllm: Fine-tuning large language models for intelligent legal services. ArXiv, abs/2309.11325, 2023.
  47. [Zeng et al., 2024] Team Glm Aohan Zeng, Bin Xu, Bowen Wang, et al. Chatglm: A family of large language models from glm-130b to glm-4 all tools. ArXiv, abs/2406.12793, 2024.
  48. [Zhang et al., 2023a] Xuanyu Zhang, Qing Yang, and Dongliang Xu. Xuanyuan 2.0: A large chinese financial chat model with hundreds of billions parameters. Proceed- ings of the 32nd ACM International Conference on Infor- mation and Knowledge Management, 2023.
  49. [Zhang et al., 2023b] Yiqin Zhang, Sanhong Deng, Qi Zhang, Dongbo Wang, and Hongcun Gong. Comparative analysis of language models for linguistic examination of ancient chinese classics: A case study of zuozhuan cor- pus. In 2023 International Conference on Asian Language Processing (IALP), pages 154-161. IEEE, 2023.
  50. [Zhang et al., 2024] Jundong Zhang, Songhua Yang, Jiangfeng Liu, and Qi Huang. Aigc empowering the revitalization of ancient books on traditional chinese medicine:building the huang-di large language model. Library Tribune, 44(10):103-112, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards