Research on ancient text entity extraction based on domain-specific large language models

Abstract Large language models (LLMs) are well-known for their natural language generation abilities, but their performance in domain-specific text comprehension, particularly for Classical Chinese and English, has been less explored. This study focuses on bilingual data from Zizhi Tongjian in Classical Chinese and English. We construct an entity extraction instruction dataset by manually annotating official titles in fifteen volumes of Zizhi Tongjian. The annotations are verified using a BERT-based model. Based on this, we build an instruction dataset for entity extraction to fine-tune LLMs. The study involves fine-tuning two types of LLMs: the Xunzi series (domain-specific models for ancient texts) and general open-source LLMs using the LoRA framework. We experiment with different prompt formats to assess their impact on performance. Results show that, under identical conditions, the Xunzi-Qwen2-7B model outperforms other models. The best results were achieved by constructing instruction data from annotated original text, with entity-only instruction data also showing improvements. After fine-tuning with 5,000 samples, the Xunzi-Qwen2-7B model achieved an accuracy of 85.90 per cent, recall of 86.75 per cent, and F1 score of 86.32 per cent for official title extraction in Zizhi Tongjian.

Link
https://doi.org/10.1093/llc/fqag127
Found by
Crossref
Authors
Wenhua Zhao, Zhixiao Zhao, Wenhao Ye, Dongbo Wang
Organizations
Nanjing University of Science and Technology School of Economics and Management, , Nanjing 210094, People’s Republic of, Nanjing Agricultural University and Management College of Information and Management, , Nanjing 210095, People’s Republic of
Categories
dataset
Published
2026-11-14
Last seen by the radar
2026-11-16
Citations
0
Radar score
26.75 / 100 (how it is scored)
Why it scored so
Matched: dataset; Primary record: Crossref
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Crossref