WenyanGPT: A Large Language Model for Classical Chinese Tasks
Xinyu Yao, Mengdi Wang, Bo Chen, Xiaobing Zhao
TL;DR
Classical Chinese processing has lagged behind Modern Chinese NLP, lacking universal models and standardized benchmarks. WenyanGPT addresses this by continuing pre-training on a large Classical Chinese corpus with LLaMA3-8B-Chinese and applying domain-focused instruction fine-tuning, supported by WenyanBENCH for standardized evaluation. The authors release training data, instruction-finetuning resources, and the WenyanBench dataset, and show WenyanGPT achieves state-of-the-art performance across punctuation, POS tagging, NER, translation, and other tasks, outperforming existing open-source LLMs. This work provides a reproducible framework for domain-specific LLM development and offers practical tools to advance the preservation and study of Classical Chinese literature and culture.
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\footnote, and evaluation benchmark dataset publicly available to promote further research and development in the field of Classical Chinese processing.
