<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.0 20120330//EN" "http://jats.nlm.nih.gov/publishing/1.0/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="research-article" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">IR</journal-id>
<journal-title-group>
<journal-title>Information Research</journal-title>
</journal-title-group>
<issn pub-type="epub">1368-1613</issn>
<publisher>
<publisher-name>University of Bor&#x00E5;s</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">ir31361795</article-id>
<article-id pub-id-type="doi">10.47989/ir31361795</article-id>
<article-categories>
<subj-group xml:lang="en">
<subject>Research article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Building a domain-specific large language model for Chinese ancient books: a case study on epitaph modelling</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="no"><name><surname>Minjie</surname><given-names>Yu</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<contrib contrib-type="author" corresp="no"><name><surname>Haoyue</surname><given-names>Jin</given-names></name><xref ref-type="aff" rid="aff2"/></contrib>
<contrib contrib-type="author" corresp="no"><name><surname>Shiliang</surname><given-names>Xue</given-names></name><xref ref-type="aff" rid="aff3"/></contrib>
<aff id="aff1"><bold>Yu Minjie</bold> is Deputy Director of Zhejiang University Library and a PhD student at the College of Education, Zhejiang University. His interdisciplinary research draws from information science and educational technology, focusing on issues including the construction of large-scale models for vertical domains. He can be contacted at <email>mjyu@zju.edu.cn</email></aff>
<aff id="aff2"><bold>Jin Haoyue</bold> is a lecturer at Taizhou University. Her research focuses on intelligent education and the integration of information technology with Chinese subject teaching.</aff>
<aff id="aff3"><bold>Xue Shiliang</bold> is a librarian of Zhejiang University Library. His work involves the collation, cataloguing, and intelligent use of ancient Chinese books.</aff>
</contrib-group>
<pub-date pub-type="epub"><day>29</day><month>10</month><year>2026</year></pub-date>
<pub-date pub-type="collection"><year>2026</year></pub-date>
<volume>31</volume>
<issue>3</issue>
<fpage>511</fpage>
<lpage>532</lpage>
<permissions>
<copyright-year>2026</copyright-year>
<copyright-holder>&#x00A9; 2026 The Author(s).</copyright-holder>
<license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by-nc/4.0/">
<license-p>This is an Open Access article distributed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by-nc/4.0/">https://creativecommons.org/licenses/by-nc/4.0/</ext-link>), permitting all non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<abstract xml:lang="en">
<title>Abstract</title>
<p><bold>Introduction</bold>. With the rapid advancement of generative artificial intelligence technology, large language models (LLMs) are expected to play an important role in improving access to and the use of library collections. This study constructs and develops a generative conversational large language model tailored specifically to epitaphs, overcoming traditional research paths and systems of digitisation.</p>
<p><bold>Method</bold>. Based on the Chinese epitaph database built by the Zhejiang University Library and some commercial epitaph databases, an epitaph generative dialogue large language model was constructed using Doubao as the base model through pre-training, supervised fine-tuning, and other full process trainings.</p>
<p><bold>Analysis</bold>. This study used human evaluation, in which experts, researchers, or general users assessed the quality of model-generated outputs. The evaluation included the epitaphs of Cui Yi, Liu Yi, and Lihua in the Tang dynasty.</p>
<p><bold>Results</bold>. The model successfully performed intelligent interpretation of epitaphs, automatic information extraction, and other knowledge-based services, thereby providing new ideas for constructing an ancient literature corpus from excavated materials represented by epitaphs.</p>
<p><bold>Conclusion</bold>. A large-scale domain-specific foundational model tailored for library applications was successfully developed. The study offers innovative approaches for processing historical texts and suggests new directions for AI integration in library knowledge systems.</p>
</abstract>
</article-meta>
</front>
<body>
<sec id="sec24_1">
<title>Introduction</title>
<p>Ancient Chinese books and documents contain essential records of China&#x2019;s history and cultural heritage. They integrate the cultures and thoughts of numerous ethnic groups to form philosophical systems, such as Confucianism, Taoism, and Legalism. These texts, refined over centuries, have contributed to the richness of traditional Chinese culture.</p>
<p>In April 2022, the General Office of the Central Committee of the Communist Party of China and the General Office of the State Council issued <italic>Opinions on Advancing Ancient Books Work in the New Era</italic>, outlining objectives such as &#x2018;strengthening interdisciplinary integration, incorporating fields such as materials technology, information technology, and artificial intelligence&#x2019; and &#x2018;enhancing the circulation and collaborative management of ancient books data to facilitate the aggregation and sharing of digitised ancient books resources&#x2019; (<xref ref-type="bibr" rid="R2">Central Committee of the Communist Party of China &#x0026; General Office of the State Council, 2022</xref>, paras. 4&#x2013;5).</p>
<p>In the current field of ancient book digitisation, most operations rely on scanned transcriptions of ancient texts, including segmentation, punctuation, and title recognition, which are then structured into searchable databases. However, the extraction of key information such as personal details, locations, event attributes, and temporal data from these texts remains unexplored, limiting users&#x2019; ability to effectively access and use the fragmented knowledge contained therein.</p>
<p>With advancements in large-language modelling technology, the boundaries of natural language processing tasks have expanded, enabling diverse downstream tasks to be accomplished using a unified prompting paradigm. General-purpose large language models (LLMs) such as <ext-link ext-link-type="uri" xlink:href="https://chatgpt.com/">ChatGPT</ext-link>, <ext-link ext-link-type="uri" xlink:href="https://bailian.console.aliyun.com/">Qianwen</ext-link>, <ext-link ext-link-type="uri" xlink:href="https://chatglm.cn/">Zhipu Qingyan</ext-link>, and <ext-link ext-link-type="uri" xlink:href="https://www.doubao.com/">Doubao</ext-link> exhibit excellent performance in understanding and generating modern Chinese. However, their ability to comprehend Classical Chinese remains uncertain. Through extensive evaluation of state-of-the-art large language models, <xref ref-type="bibr" rid="R26">Zhao et al. (2025)</xref> revealed significant performance gaps between understanding and generation tasks, with models achieving promising results in comprehension but struggling considerably with generation tasks, particularly those requiring deep cultural knowledge and adherence to classical formats. Ancient texts, as a vertical domain with a high reading comprehension threshold, pose unique challenges owing to the peculiarities of Classical Chinese and textual characteristics, such as variant characters, mixed use of simplified and traditional characters, and complex chapter structures. The applicability of general large language models to ancient texts requires further exploration. Moreover, these models operate on large datasets, demand high technical expertise, exhibit strong adaptability, and incur significant deployment and operational costs.</p>
<p>This study develops a generative conversational large language model tailored to epitaphs, intending to move beyond traditional research paths and systems of digitisation. The objective is to transform the specialised database services from data-oriented to knowledge-oriented approaches while expanding their accessibility. By intelligently uncovering insights into family heritage, marital alliances, life experiences, political activities, literary endeavours, and the social interactions of epitaph subjects, this study enhances knowledge-based and intelligent services. Additionally, it provides a reference framework for constructing domain-specific large models based on ancient library book resources.</p>
</sec>
<sec id="sec24_2">
<title>Literature review</title>
<p>Libraries and epitaphs: traditional practices before the large language model era Before the popularisation of the large language model, libraries had long been responsible for the core work of collecting, organising, digitising, and providing public services for ancient inscriptions and documents such as epitaphs. The traditional method of handling epitaph documents in libraries involves manual sorting, preservation of rubbings, bibliographic cataloguing, and standardised metadata construction.</p>
<p>Library professionals and researchers rely on traditional theories of epigraphy and philology to finely organise scattered epitaph rubbings and historical documents, compile epitaph catalogues and specialised literature collections, and complete basic proofreading and historical verification work. Peking University Library, for example, compiled the <italic>Catalogue of epitaph rubbings from various dynasties</italic> based on its collection of epitaphs (<xref ref-type="bibr" rid="R6">Hu &#x0026; Tang, 2013</xref>). In the early stage of its digital transformation, the library digitised its epitaph resources through scanning, optical character recognition, database construction, and other methods, enabling online retrieval and static resource display of epitaph literature. Based on this collection of epitaphs, Zhejiang University Library digitised them and built a database of epitaphs from various dynasties in China. However, the traditional library processing mode has inherent shortcomings and bottlenecks: manual sorting and text annotation are time consuming and labour intensive and rely on the professional accumulation and practical experience of senior researchers. Furthermore, traditional digital systems can only achieve basic resource storage and keyword matching retrieval; they do not have advanced processing capabilities such as deep semantic analysis, intelligent information extraction, automatic translation, and text summarisation for ancient stele texts (<xref ref-type="bibr" rid="R9">Li, 2019</xref>). The long-standing technological deficiencies and efficiency challenges have constrained the deep development and intelligent use of epitaph literature resources. Therefore, there is an urgent need to rely on artificial intelligence innovation technology to empower the inheritance and academic research of the cultural heritage of epigraphy.</p>
<sec id="sec24_u1">
<title>Current practices of large language models in vertical domains</title>
<p>Owing to differences in the external knowledge characteristics between general and vertical domains, directly applying publicly available, knowledge-injected pre-trained language models to vertical domains often produces suboptimal results. Academia and industry are actively exploring strategies to adapt these models to specific industries and application scenarios, enabling the customisation of large models for vertical domains. Based on the degree of customisation, from low to high, or conversely, the extent of reliance on general large models, from high to low, these adaptations can be categorised into three types: (1) vertical-domain enhancement using the full architecture of general large models, (2) vertical-domain large model transformation leveraging pre-training modules, and (3) full architecture construction of vertical-domain large models without pre-training modules. Representative vertical-domain-specific models, such as AlpaCare (<xref ref-type="bibr" rid="R22">Zhang et al., 2023</xref>), HuatuoGPT (<xref ref-type="bibr" rid="R22">Zhang et al., 2023</xref>), Lawyer LLaMA (<xref ref-type="bibr" rid="R7">Huang et al., 2023</xref>), and OpenBioMed (<xref ref-type="bibr" rid="R12">Luo et al., 2024</xref>), have emerged in fields such as law, medicine, and agriculture. A consistent finding across these studies is that simply fine-tuning general models with domain data is often insufficient; deeper architectural or training adaptations are required to achieve expert-level performance.</p>
<p>Research on the application of large language models in libraries is extensive and primarily focuses on insights, suggestions, and strategies for library transformation and innovation to support future development. This includes discussions on leveraging ChatGPT to improve reference services, cataloguing, and reading promotion, among other business scenarios. However, as is detailed later, these library-oriented studies rarely address the specific challenges of handling ancient Chinese epitaphs, nor do they explore how libraries traditionally managed such materials before the advent of large language models.</p>
<p>Recent evaluations of Chinese general-purpose large language models, such as Qianwen and Baichuan, have shown that instruction tuning is critical for unlocking their potential in complex tasks (<xref ref-type="bibr" rid="R28">Zhao, et al., 2024</xref>). Nevertheless, when applied to ancient Chinese texts, these models often face significant limitations due to domain-specific vocabulary, syntactic structures, and a lack of contextual understanding. This requires the development of vertical-domain models that can integrate domain knowledge more deeply, addressing the limitations of a one-size-fits-all approach.</p>
<p>In traditional Chinese cultural research, technologies such as automatic punctuation, annotation, translation, and collation of ancient texts have garnered considerable attention. However, the necessary infrastructure for these research efforts, such as large corpora and corresponding knowledge auxiliary tools, remains insufficient. <xref ref-type="bibr" rid="R4">Chen (2022)</xref> proposed that to improve the character recognition rate of computers for ancient texts, it is essential to integrate various technologies, including corpora, word lists, knowledge bases, and artificial intelligence supplemented by manual proofreading. Among these, corpora and word-list knowledge bases play crucial roles, serving as libraries for other aspects of traditional cultural research. Against this backdrop, domain-specific large vertical models have been developed for ancient texts. The deep integration of large language models with intelligent ancient text processing holds substantial cultural value and is capable of significantly improving the efficiency of organising and researching ancient texts while promoting the intelligent processing of ancient text information. Table I presents a selection of large language models derived from ancient Chinese books, illustrating a growing trend of domain specialisation in this area.</p>
<table-wrap id="table24_1" position="float">
<label>Table 1.</label>
<caption><p>Large language models derived from ancient Chinese books</p></caption>
<table frame="hsides">
<thead>
<tr>
<th align="center" valign="top">Large language model</th>
<th align="center" valign="top">Development unit</th>
<th align="center" valign="top">Main function</th>
<th align="center" valign="top">Application scenario</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Xunzi series</td>
<td align="center" valign="top">Nanjing Agricultural University and Zhonghua Book Company</td>
<td align="center" valign="top">Ancient text understanding, generation, translation, and annotation</td>
<td align="center" valign="top">Intelligent indexing of ancient books, information extraction, poetry creation, translation and understanding</td>
</tr>
<tr>
<td align="left" valign="top">TongGu</td>
<td align="center" valign="top">South China University of Technology</td>
<td align="center" valign="top">Translation of literary and vernacular Chinese, punctuation, and ancient book search</td>
<td align="center" valign="top">Digitalisation, intelligent development and utilisation of ancient books</td>
</tr>
<tr>
<td align="left" valign="top">Hanwang Ancient Chinese</td>
<td align="center" valign="top">Hanwang Technology</td>
<td align="center" valign="top">Deep learning capabilities, ancient Chinese text recognition, comprehension and generation</td>
<td align="center" valign="top">Digitisation of ancient books, arrangement and research of ancient books, construction of smart libraries</td>
</tr>
<tr>
<td align="left" valign="top">Huawei Shennong Brain</td>
<td align="center" valign="top">Huawei Technologies</td>
<td align="center" valign="top">Integrate data in the field of traditional Chinese medicine based on artificial intelligence technology</td>
<td align="center" valign="top">Intelligent diagnosis and decision support, research and development of traditional Chinese medicine, and optimal allocation of medical resources</td>
</tr>
<tr>
<td align="left" valign="top">Digital Qihuang</td>
<td align="center" valign="top">East China Normal University, Shanghai University of Traditional Chinese Medicine</td>
<td align="center" valign="top">Combining Chinese and Western medicine, comprehensively integrating Chinese and Western medicine data and knowledge</td>
<td align="center" valign="top">Intelligent Q&#x0026;A and consultation, assisting medical decision-making, and promoting innovation in traditional Chinese medicine</td>
</tr>
<tr>
<td align="left" valign="top">AI Taiyan</td>
<td align="center" valign="top">Beijing Normal University</td>
<td align="center" valign="top">Word interpretation, literary and colloquial translation, sentence reading and punctuation, and allusion analysis</td>
<td align="center" valign="top">Ancient book compilation, teaching and scientific research, language tool development</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Several research groups have demonstrated the feasibility of building vertical large language models for ancient texts. <xref ref-type="bibr" rid="R29">Zuo et al. (2024)</xref>, leveraging the <ext-link ext-link-type="uri" xlink:href="https://xunziallm.njau.edu.cn/">Xunzi</ext-link> ancient text large language model, used unannotated corpora from the historical and classical sections of the <italic>Siku Quanshu</italic> as input. They approached tasks such as lexical analysis, entity recognition, relation extraction, text classification and matching, and text translation in ways closely aligned with the original processing of ancient texts and contextual understanding similar to that of human experts to achieve automatic processing of ancient texts.</p>
<p>Comparative studies have demonstrated that in vertical domains, large language models trained professionally perform better and hold more value in specific domain applications than general-purpose base models. Research shows that the Xunzi model achieves substantial improvements over general models on domain-specific benchmarks (<xref ref-type="bibr" rid="R29">Zuo et al., 2024</xref>). Zhang et al., building upon the open-source LLaMA model, incorporated corpora from traditional Chinese medicine textbooks and various traditional Chinese medicine websites. Through continued pre-training, supervised fine-tuning, and direct preference optimisation, they developed <ext-link ext-link-type="uri" xlink:href="https://github.com/Zlasejd/HuangDI">Huang-Di</ext-link>, a generative conversational large language model tailored for traditional Chinese medicine ancient texts. Automatic and manual evaluations confirmed its superior performance in ancient traditional Chinese medicine text domains. Unlike traditional knowledge-based ancient text search engines, Huang-Di does not rely on keywords or phrases (<xref ref-type="bibr" rid="R23">Zhang et al., 2024</xref>). Users can engage in one-on-one interactions with the model using an easily understandable modern language instead of Classical Chinese. This significantly lowers barriers to accessing specialised knowledge while meeting various knowledge needs, including ancient text interpretations, traditional Chinese medicine consultations, and health maintenance guidance.</p>
<p>This shift from keyword-based retrieval to conversational interaction represents an important evolution in making domain-specific knowledge more accessible (<xref ref-type="bibr" rid="R23">Zhang et al., 2024</xref>).</p>
<p><xref ref-type="bibr" rid="R10">Li et al. (2024)</xref> developed <ext-link ext-link-type="uri" xlink:href="https://t.shenshen.wiki/">AI Taiyan</ext-link>, a Classical Chinese large language model, providing a foundational reference for building specialised large language models from scratch. The development process began with designing a small-scale large language model architecture based on domain knowledge learning requirements and available data. The AI Taiyan model demonstrates strong capabilities in interpreting classical literature, supporting various challenging Classical Chinese understanding tasks such as sentence punctuation, allusion identification, word explanation, and translation between Classical and vernacular Chinese. It supports both simplified and traditional Chinese texts and holds substantial potential for application in ancient text organisation, dictionary compilation, revision, and language research.</p>
<p><xref ref-type="bibr" rid="R18">Wu et al. (2024)</xref>, using biographical materials from the <italic>Twenty-Four Histories</italic> as case studies, explored feasible approaches to applying automatic summarisation to ancient texts using artificial intelligence generated content technology and both extractive and generative methods. They reported that although general large language models exhibit unique capabilities in automatic summarisation for ancient texts, they struggle to distil key ideas effectively. This finding is particularly relevant for epitaphs, which are highly structured and information-dense, suggesting that domain-adapted summarisation mechanisms are needed.</p>
</sec>
<sec id="sec24_u2">
<title>Technical barriers in large-scale models for ancient texts</title>
<p>Currently, the corpora used to train generative AI models for ancient texts are undergoing evolution and expansion. Domain-specific large models such as Xunzi (<xref ref-type="bibr" rid="R16">Wang, 2023</xref>) and AI Taiyan (<xref ref-type="bibr" rid="R10">Li et al., 2024</xref>) show clear advantages over general-purpose models such as Qianwen, ChatGPT, and <ext-link ext-link-type="uri" xlink:href="https://www.deepseek.com/">DeepSeek</ext-link> in tasks including Classical Chinese translation and automatic punctuation. However, these models remain limited in their ability to deeply interpret the connotations of ancient vocabulary and identify causal relationships between entities. These limitations are due to the over-representation of transmitted texts (for example, Confucian classics, historical records, and philosophical writings) and the under-representation of excavated materials, such as epitaphs, in their training data. The resulting gaps occasionally lead to inaccuracies in output. <xref ref-type="bibr" rid="R14">As Song et al. (2025)</xref> noted in their comprehensive survey on knowledge injection, integrating domain-specific knowledge into large language models is a critical task that directly addresses such under-representation.</p>
<p>As a critical category of historical documents, epitaphs function not only as material carriers of literary texts but also as direct objects of literary research. They contain abundant biographical, genealogical, and geographical information often absent from official histories, thereby offering substantial historical and cultural value. Although high-quality training data are considered essential, the total number of digitised and optical character recognition-processed epitaphs remains relatively small. The development of a specialised variant font library in conjunction with epitaph studies, alongside collaboration between domain experts and librarians, could facilitate the construction of a high-quality corpus to address this gap.</p>
<p>With the rapid advancement of generative large language models, the field of ancient Chinese texts has witnessed the emergence of domain-specific models in areas such as traditional Chinese medicine and the collation of ancient books. However, the development of large models dedicated specifically to epitaphs remains unexplored. As essential historical materials, epitaphs function both as physical carriers of literary works and as primary sources for historical and literary research, offering a rich repository of historical and cultural information.</p>
<p>Thus far, no studies have addressed the creation of large-scale language models tailored to epitaphs. Constructing such a model would enable deeper mining and analysis of ancient textual resources in this domain, reveal underlying linguistic and historical patterns, and support the transformation of ancient texts into structured knowledge. This effort would also promote the reactivation and reinterpretation of their cultural value by extracting and reorganising knowledge units tied to traditional culture, ultimately fostering the innovative development of China&#x2019;s outstanding cultural heritage.</p>
</sec>
</sec>
<sec id="sec24_3">
<title>Constructing a large language model for epitaphs</title>
<sec id="sec24_u3">
<title>Characteristics of epitaph literature</title>
<p>Epitaphs are a literary form used to commemorate the deceased, typically consisting of two parts: the epitaph proper (<italic>zh&#x00EC;w&#x00E9;n</italic>) and the inscription (<italic>m&#x00ED;ngw&#x00E9;n</italic>). As unique genres, epitaphs exhibit characteristics in content, structure, stylistic features, medium, form, and historical evolution.</p>
<sec id="sec24_u4">
<title>Diverse literary forms</title>
<p>While maintaining overall stability, the epitaphs display rich diversity. Styles vary across different eras and social strata, reflecting the profound impact of temporal changes and class differences on literary forms. During the Tang and Song dynasties, epitaphs evolved from parallel prose to prose, marking a significant shift from mourning literature to biographical literature, enhancing their literary nature and realism.</p>
<p>During the Song dynasty, epitaphs became vital materials for historiography. In terms of content, their use expanded beyond the nobility to the common people.This trend continued and intensified in later periods, particularly during the Ming dynasty, leading to the proliferation of epitaph writing. Unlike noble epitaphs, commoner epitaphs focused more on daily life and the inner world, in contrast to earlier records that emphasised official positions and achievements. Understanding this diversity will aid the development of large language models that can provide customised services tailored to various subject areas.</p>
</sec>
<sec id="sec24_u5">
<title>A relatively fixed structure</title>
<p>From the Wei, Jin, Southern, and Northern dynasties to the Sui and Tang dynasties, epitaphs developed standardised structures and established writing conventions. By the time of the Southern dynasties&#x2019; <italic>Anthology of Literature (W&#x00E9;nxu&#x01CE;n),</italic> epitaphs were formally recognised as an independent literary genre (Xiao, ca. 520&#x2013;530 C.E./2025). Viewed synchronically, the content of epitaphs aligns with the thirteen items proposed by the Ming scholar Wang Xing (n.d.): posthumous names (<italic>sh&#x00EC;h&#x00E0;o</italic>, names that reflected official assessments of deceased individuals&#x2019; political careers), courtesy names (<italic>z&#x00EC;</italic>, alternative formal names bestowed upon elite Chinese men upon reaching adulthood and, occasionally, upon women), surnames, native places, family origins, official positions, life experiences, dates of death, ages, spouses, children, burial dates, and burial locations. Epitaphs maintained a consistent framework comprising the epitaph proper and the inscription <italic>(</italic>Wang, n.d.<italic>)</italic>. Diachronically, from their emergence in the Wei and Jin periods to their decline in the late Qing and early Republican eras, epitaphs remained highly stable. Early epitaphs often employed parallel prose, emphasising formal beauty. From the mid-Tang period onward, however, they transitioned toward prose, marking a shift from formalism to content-driven expression. Despite these stylistic transformations, their fundamental structures and characteristics remained largely unchanged, distinguishing them from other literary forms.</p>
</sec>
<sec id="sec24_u6">
<title>Abundant existing corpora</title>
<p>Rough estimates suggest that more than 15,000 epitaphs from the Northern and Tang dynasties alone have been documented, with numerous new discoveries each year owing to ongoing construction and archaeological excavations. Major collections such as the <italic>Complete Prose of the Tang (Qu&#x00E1;n T&#x00E1;ng W&#x00E9;n)</italic> and various anthologies contain many preserved epitaphs, with only a few overlapping with recently excavated ones. Two source types are examined: transmitted versions, which refer to epitaph texts preserved in later compiled historical works and literary collections, and stone rubbings, which are impressions taken directly from original stone inscriptions. Comparisons between these two types revealed minimal textual differences, indicating the high textual reliability of transmitted epitaph records.</p>
<p>Moreover, the number of epitaphs from the Song, Yuan, Ming, and Qing dynasties far surpasses those from the Tang dynasty, although scholarly research on later era epitaphs remains in its early stages. This vast corpus provides a solid foundation for the development of large language models, enabling in-depth linguistic and historical analysis while supporting the structured digitisation of ancient textual resources.</p>
</sec>
<sec id="sec24_u7">
<title>Clear information markers</title>
<p>Beyond their literary functions, epitaphs serve as valuable materials that supplement and corroborate historical records. Because of their unique genre and structured composition, the information they contain is often explicit and systematically organised, as reflected in Wang Xing&#x2019;s thirteen items. This standardised structure facilitates the systematic extraction, integration, and categorisation of epitaphic data into relevant historical databases.</p>
<p>The formulaic nature of epitaphs significantly enhances information retrieval, as different types of information are typically indicated by specific markers. For example, official titles are often introduced by terms such as &#x2018;appointed&#x2019; (<italic>ch&#x00FA;</italic>), &#x2018;promoted&#x2019; (<italic>qi&#x0101;n</italic>), &#x2018;transferred&#x2019; (<italic>zhu&#x01CE;n</italic>), or &#x2018;granted&#x2019; (<italic>z&#x00E8;ng</italic>); geographical information by &#x2018;died&#x2019; (<italic>z&#x00FA;</italic>), &#x2018;buried&#x2019; (<italic>z&#x00E0;ng</italic>), &#x2018;interred&#x2019; (<italic>bi&#x01CE;n</italic>), or &#x2018;accompanied in burial&#x2019; (<italic>f&#x00F9;</italic>); and temporal information by &#x2018;at the age of&#x2019; (<italic>xi&#x01CE;ngni&#x00E1;n</italic>), &#x2018;lived to&#x2019; (<italic>xi&#x01CE;ngsh&#x00F2;u</italic>), or &#x2018;spring and autumn&#x2019; (<italic>ch&#x016B;nqi&#x016B;</italic>).</p>
<p>Using large language models to extract and analyse information from epitaphs can provide researchers with key data on the deceased and their families, helping to elucidate relationships and social connections, thereby presenting a clear and intuitive knowledge system.</p>
</sec>
<sec id="sec24_u8">
<title>Selection of base models</title>
<p>Doubao, Zhipu Qingyan, DeepSeek, and Qianwen are the four major models that support Chinese language training. During data extraction stage, the commercial application programming interface of these models was used. To select the most suitable base model for domain adaptation to epitaphs, the models&#x2019; performance was evaluated under zero-shot conditions, that is, without any domain-specific fine-tuning.</p>
<p>Evaluation dataset. We selected three epitaphs from different dynasties: one from the Tang dynasty, one from the Northern Song dynasty, and one from the Ming dynasty. These epitaphs were chosen to assess the ability of the model to generalise across historical periods and text variations.</p>
<p>Evaluation tasks and scoring criteria. Each model was evaluated on four tasks: sentence segmentation, logical judgment, translation, and summary. All outputs were scored on a ten-point scale (1 = completely incorrect, 10 = fully accurate). The scoring criteria for each task is presented in <xref ref-type="table" rid="table24_2">Table 2</xref>.</p>
<table-wrap id="table24_2" position="float">
<label>Table 2.</label>
<caption><p>Evaluation tasks and scoring criteria for models</p></caption>
<table frame="hsides">
<thead>
<tr>
<th align="center" valign="top">Task</th>
<th align="center" valign="top">Score</th>
<th align="center" valign="top">Criteria</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle" rowspan="4">Sentence segmentation</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">all punctuation correct</td>
</tr>
<tr>
<td align="center" valign="top">8&#x2014;9</td>
<td align="center" valign="top">1&#x2013;2 errors</td>
</tr>
<tr>
<td align="center" valign="top">6&#x2013;7</td>
<td align="center" valign="top">3&#x2013;5 errors</td>
</tr>
<tr>
<td align="center" valign="top">&#x2264;5</td>
<td align="center" valign="top">more than 5 errors</td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="4">Logical judgment</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">all logical relationships correctly identified</td>
</tr>
<tr>
<td align="center" valign="top">8&#x2013;9</td>
<td align="center" valign="top">minor errors</td>
</tr>
<tr>
<td align="center" valign="top">6&#x2013;7</td>
<td align="center" valign="top">2&#x2013;3 errors</td>
</tr>
<tr>
<td align="center" valign="top">&#x2264;5</td>
<td align="center" valign="top">major errors</td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="4">Translation</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">fully accurate and fluent</td>
</tr>
<tr>
<td align="center" valign="top">8&#x2014;9</td>
<td align="center" valign="top">1&#x2013;2 minor inaccuracies</td>
</tr>
<tr>
<td align="center" valign="top">6&#x2013;7</td>
<td align="center" valign="top">3&#x2013;5 errors</td>
</tr>
<tr>
<td align="center" valign="top">&#x2264;5</td>
<td align="center" valign="top">significant errors</td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="4">Summary</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">all key information captured</td>
</tr>
<tr>
<td align="center" valign="top">8&#x2014;9</td>
<td align="center" valign="top">missing minor details</td>
</tr>
<tr>
<td align="center" valign="top">6&#x2013;7</td>
<td align="center" valign="top">missing 2&#x2013;3 key details</td>
</tr>
<tr>
<td align="center" valign="top">&#x2264;5</td>
<td align="center" valign="top">missing most key information</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><bold>Evaluation Procedure</bold>. Three domain experts with PhDs in Chinese philology independently evaluated the outputs. The final score for each model&#x2013;task&#x2013;epitaph was the average of the three experts&#x2019; scores. Inter-rater reliability was high (intraclass correlation coefficient = 0.87).</p>
<p><bold>Results</bold>. Tables 3&#x2013;6 present the scores of the four models. Except for logical judgment ability, where Doubao and DeepSeek scored equally (8.7), Doubao outperformed the other models in the remaining three aspects. Additionally, Doubao had the smallest variance in scores across all four dimensions, indicating more consistent performance in interpreting epitaphs from different dynasties and demonstrating better generalisation. Based on the overall scores across all four aspects, Doubao was selected as the foundation for our model.</p>
<table-wrap id="table24_3" position="float">
<label>Table 3.</label>
<caption><p>Sentence breaking ability of large language models (Full Score: 10 points)</p></caption>
<table frame="hsides">
<thead>
<tr>
<th align="center" valign="top">Large language model</th>
<th align="center" valign="top">Epitaph (Tang dynasty)</th>
<th align="center" valign="top">Epitaph (Northern Song dynasty)</th>
<th align="center" valign="top">Epitaph (Ming dynasty)</th>
<th align="center" valign="top">Mean score</th>
<th align="center" valign="top">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Doubao</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">0</td>
</tr>
<tr>
<td align="left" valign="top">Zhipu Qingyan</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">8.7</td>
<td align="center" valign="top">0.2</td>
</tr>
<tr>
<td align="left" valign="top">DeepSeek</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">8.7</td>
<td align="center" valign="top">0.2</td>
</tr>
<tr>
<td align="left" valign="top">Qianwen</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">8.7</td>
<td align="center" valign="top">0.2</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="table24_4" position="float">
<label>Table 4.</label>
<caption><p>Logical judgment ability of large language models (Full Score: 10 points)</p></caption>
<table frame="hsides">
<thead>
<tr>
<th align="center" valign="top">Large language model</th>
<th align="center" valign="top">Epitaph (Tang dynasty)</th>
<th align="center" valign="top">Epitaph (Northern Song dynasty)</th>
<th align="center" valign="top">Epitaph (Ming dynasty)</th>
<th align="center" valign="top">Mean score</th>
<th align="center" valign="top">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Doubao</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">8.7</td>
<td align="center" valign="top">0.2</td>
</tr>
<tr>
<td align="left" valign="top">Zhipu Qingyan</td>
<td align="center" valign="top">5</td>
<td align="center" valign="top">5</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">6.3</td>
<td align="center" valign="top">3.6</td>
</tr>
<tr>
<td align="left" valign="top">DeepSeek</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">8.7</td>
<td align="center" valign="top">0.2</td>
</tr>
<tr>
<td align="left" valign="top">Qianwen</td>
<td align="center" valign="top">5</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">7.7</td>
<td align="center" valign="top">3.6</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="table24_5" position="float">
<label>Table 5.</label>
<caption><p>Translation ability of large language models (Full Score: 10 points)</p></caption>
<table frame="hsides">
<thead>
<tr>
<th align="center" valign="top">Large language model</th>
<th align="center" valign="top">Epitaph (Tang dynasty)</th>
<th align="center" valign="top">Epitaph (Northern Song dynasty)</th>
<th align="center" valign="top">Epitaph (Ming dynasty)</th>
<th align="center" valign="top">Mean score</th>
<th align="center" valign="top">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Doubao</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">8.7</td>
<td align="center" valign="top">0.2</td>
</tr>
<tr>
<td align="left" valign="top">Zhipu Qingyan</td>
<td align="center" valign="top">6</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">7.7</td>
<td align="center" valign="top">1.6</td>
</tr>
<tr>
<td align="left" valign="top">DeepSeek</td>
<td align="center" valign="top">7</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">0.7</td>
</tr>
<tr>
<td align="left" valign="top">Qianwen</td>
<td align="center" valign="top">7</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">7</td>
<td align="center" valign="top">7.3</td>
<td align="center" valign="top">0.2</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="table24_6" position="float">
<label>Table 6.</label>
<caption><p>Summary and induction ability of large language models (Full Score: 10 points).</p></caption>
<table frame="hsides">
<thead>
<tr>
<th align="center" valign="top">Large language model</th>
<th align="center" valign="top">Epitaph (Tang dynasty)</th>
<th align="center" valign="top">Epitaph (Northern Song dynasty)</th>
<th align="center" valign="top">Epitaph (Ming dynasty)</th>
<th align="center" valign="top">Mean score</th>
<th align="center" valign="top">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Doubao</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">0</td>
</tr>
<tr>
<td align="left" valign="top">Zhipu Qingyan</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">8.7</td>
<td align="center" valign="top">0.2</td>
</tr>
<tr>
<td align="left" valign="top">DeepSeek</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">8</td>
<td align="center" valign="top">8.7</td>
<td align="center" valign="top">0.2</td>
</tr>
<tr>
<td align="left" valign="top">Qianwen</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">6</td>
<td align="center" valign="top">4</td>
<td align="center" valign="top">6.3</td>
<td align="center" valign="top">4.2</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="sec24_u9">
<title>Model construction</title>
<sec id="sec24_u10">
<title>Data collection and reprocessing</title>
<p>This study primarily collected data from the <ext-link ext-link-type="uri" xlink:href="http://csid.zju.edu.cn/tomb/stone">Database of Chinese Epitaphs through the Ages</ext-link> developed by the Zhejiang University Library&#x2019;s Center for Ancient Books and Stone Rubbings Research and Preservation, as well as from certain commercial epitaph databases. The data consisted predominantly of epitaphs from the Northern, Tang, and Five Dynasties.</p>
</sec>
<sec id="sec24_u11">
<title>Dataset construction</title>
<p>To construct a high-quality dataset for domain-specific model development, this study organised the collected data into two complementary components:</p>
<list  list-type="simple">
<list-item><label>1.</label><p><bold>Epitaph corpus (domain knowledge source):</bold> A collection of 6,800 epitaph texts and rubbings. Each text underwent cleaning, classification, and annotation to ensure data quality and consistency. The annotated metadata included tomb owner name, burial date, official titles, and other relevant biographical information. This corpus served as the foundation for continued pre-training and knowledge base construction.</p></list-item>
<list-item><label>2.</label><p><bold>Instruction tuning dataset (task-specific data):</bold> A set of 20,000 instruction&#x2013;response pairs was derived from the epitaph corpus. Specifically, each epitaph was used to generate multiple instruction&#x2013;response pairs covering tasks such as sentence segmentation, translation, information extraction, and summarisation. These pairs were constructed through three methods: template-based generation (approximately 12,000 pairs), self-instruct augmentation (approximately 6,000 pairs), and manual Q&#x0026;A pair creation (approximately 2,000 pairs).</p></list-item>
</list>
<p>The relationship between the two components is as follows: the 6,800-entry epitaph corpus provides the domain knowledge, while the 20,000 instruction&#x2013;response pairs adapt this knowledge to specific task formats for supervised fine-tuning.</p>
</sec>
<sec id="sec24_u12">
<title>Data structuring and annotation</title>
<p>To enhance the model&#x2019;s ability to comprehend and process epitaph texts, this study first established a knowledge structure based on the characteristics of epitaphs and research requirements, designing a reasonable framework that classifies the data by dynasty, region, and social status of individuals. For the epitaph texts, seven fields were defined and provided professional descriptions to support model understanding:</p>
<table-wrap id="table24_7" position="float">
<label>Table 7.</label>
<caption><p>Epitaph text fields</p></caption>
<table frame="hsides">
<thead>
<tr>
<th align="center" valign="top">Title</th>
<th align="center" valign="top">Headings located at the beginning of the epitaph</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Inscriber</td>
<td align="center" valign="top">The person who inscribed the epitaph, often indicated by terms such as <italic>shu</italic> (&#x4E66;, scribe) or <italic>shudan</italic> (&#x4E66;&#x4E39;, inscription)</td>
</tr>
<tr>
<td align="left" valign="top">Author</td>
<td align="center" valign="top">The author of the epitaph text, commonly denoted by words such as <italic>zhuan</italic> (&#x64B0;&#x2019;, compose), <italic>wen</italic> (&#x6587;, text), <italic>ci (</italic>&#x8BCD;, words), <italic>zhuanwen</italic> (&#x64B0;&#x6587;, compose text), or shu (&#x8FF0;, narrate)</td>
</tr>
<tr>
<td align="left" valign="top">Dynasty</td>
<td align="center" valign="top">The dynasty during which the tomb owner was buried</td>
</tr>
<tr>
<td align="left" valign="top">Chinese era date</td>
<td align="center" valign="top">The traditional Chinese calendar date (year, month, and day) of the tomb owner&#x2019;s burial is typically expressed using era names</td>
</tr>
<tr>
<td align="left" valign="top">Gregorian date</td>
<td align="center" valign="top">The Gregorian calendar date corresponding to the Chinese era date is numerically represented</td>
</tr>
<tr>
<td align="left" valign="top">Full text</td>
<td align="center" valign="top">The complete text of the epitaph, including title, main body, and colophon</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The data were structured in this manner to enhance the model&#x2019;s ability to comprehend and process epitaph texts and improve its performance in tasks related to the analysis and interpretation of ancient Chinese inscriptions.</p>
</sec>
<sec id="sec24_u13">
<title>Dataset characteristics</title>
<p>To characterise the epitaph corpus and demonstrate the complexity of the domain, a statistical analysis of the 6,800 texts was conducted. <xref ref-type="table" rid="table24_8">Table 8</xref> summarises the key characteristics.</p>
<table-wrap id="table24_8" position="float">
<label>Table 8.</label>
<caption><p>Statistical characteristics of the epitaph corpus</p></caption>
<table frame="hsides">
<thead>
<tr>
<th align="center" valign="top">Characteristic</th>
<th align="center" valign="top">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Total number of epitaphs</td>
<td align="center" valign="top">6,800</td>
</tr>
<tr>
<td align="left" valign="top">Total characters</td>
<td align="center" valign="top">Approx. 4.2 million</td>
</tr>
<tr>
<td align="left" valign="top">Average length per epitaph</td>
<td align="center" valign="top">618 characters (SD: 342)</td>
</tr>
<tr>
<td align="left" valign="top">Shortest epitaph</td>
<td align="center" valign="top">48 characters</td>
</tr>
<tr>
<td align="left" valign="top">Longest epitaph</td>
<td align="center" valign="top">2,156 characters</td>
</tr>
<tr>
<td align="left" valign="top">Vocabulary size (unique words)</td>
<td align="center" valign="top">Approx. 18,500</td>
</tr>
<tr>
<td align="left" valign="top">Average sentence length</td>
<td align="center" valign="top">12.4 characters</td>
</tr>
<tr>
<td align="left" valign="top">Domain-specific terms</td>
<td align="center" valign="top">Approx. 1,200 (official titles, toponyms, funeral formulae)</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<attrib>Note. SD = standard deviation.</attrib>
</table-wrap-foot>
</table-wrap>
<p>The length distribution reveals that the majority of epitaphs (62%) fall within the range of 300&#x2013;800 characters, while short epitaphs (&#x003C;300 characters) and long epitaphs (&#x003E;800 characters) account for 18% and 20%, respectively. This diversity in length ensures that models trained on this corpus can handle a wide range of text complexities. The vocabulary comprises approximately 18,500 unique words, with a substantial proportion (approximately 1,200 terms) being domain-specific terminology related to official titles, toponyms, and funeral formulae. This high density of specialised terms underscores the necessity of domain-specific modelling for accurate processing.</p>
</sec>
<sec id="sec24_u14">
<title>Sample training</title>
<p>To meet the technical requirements for developing domain-specific models and to ensure research reproducibility, the training process in this study was conducted using the enterprise-grade machine learning framework provided by Volcengine. This platform offers hosted infrastructure for distributed training and large-scale model deployment. <xref ref-type="fig" rid="fig24_1">Figure 1</xref> illustrates the key technologies and implementation pathways in the process of constructing the epitaph model, from base model selection to full development. Building on the Doubao general-purpose foundational model, this study implemented three critical strategies: continued pre-training, instruction tuning, and retrieval-augmented generation supported by a local knowledge base.</p>
<fig id="fig24_1" position="float">
<label>Figure 1.</label>
<caption><p>Key technologies and implementation approaches for constructing epitaph models.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="fig_ch24_1.jpg"><alt-text>none</alt-text></graphic>
</fig>
<p>To further enhance the model&#x2019;s proficiency in the epitaph domain, this study implemented two key strategies: continued pre-training and instruction fine-tuning. Complementing these training strategies, retrieval-augmented generation uses a local knowledge base as an inference-level enhancement module.</p>
<list  list-type="simple">
<list-item><label>1.</label><p><bold>Continued pre-training on epitaph corpus.</bold> The goal of continued pre-training is to inject domain-specific knowledge into the general model, enabling a better understanding of the linguistic features and patterns specific to epitaphs.
<list  list-type="simple">
<list-item><label>a.</label><p>Data preparation: To prevent catastrophic forgetting while preserving the general ability of the underlying model, this study mixed general domain data such as ancient literary texts with a specialised corpus of epitaphs during the continued pre-training phase. The cleaned and organised epitaph data was converted into standard JSON lines format, which is {&#x201C;text&#x201D;: &#x201C;xxxxx&#x201D;}.</p></list-item>
<list-item><label>b.</label><p>Training configuration: Using the pre-training tools provided by the Volcengine platform, the study employed a parameter-efficient fine-tuning method, particularly low-rank adaptation (LoRA). The model was trained on an NVIDIA A100 GPU with a learning rate of 2e-5 and a batch size of 16, for a total of 3 epochs. This balanced approach enabled the model to effectively use high-quality domain data, thereby enhancing its understanding and processing capabilities for tasks related to epitaphs.</p></list-item>
</list></p></list-item>
<list-item><label>2.</label><p><bold>Instruction fine-tuning based on epitaphs</bold>. Instruction fine-tuning involves further training the large language model on a dataset composed of instruction&#x2013;response pairs in a supervised manner. This process bridges the gap between the model&#x2019;s next-word prediction objective from pre-training and the goal of following human instructions, thereby improving its comprehension and execution capabilities in handling epitaph-related tasks.
<list  list-type="simple">
<list-item><label>a.</label><p>Dataset construction: The core of instruction fine-tuning is to create a high-quality, large-scale, and domain-specific dataset. The data were further processed and converted into a conversational JSON format: {&#x201C;messages&#x201D;: [{&#x201C;role&#x201D;: &#x201C;user&#x201D;, &#x201C;content&#x201D;: &#x201C;Question&#x201D;}, {&#x201C;role&#x201D;: &#x201C;assistant&#x201D;, &#x201C;content&#x201D;: &#x201C;Answer&#x201D;}]. Three key methods were used to construct this dataset for epitaphs:
<list  list-type="simple">
<list-item><label>i.</label><p>Template-based data integration: Using pre-defined templates to systematically generate instruction&#x2013;response pairs from the epitaph corpus.</p></list-item>
<list-item><label>ii.</label><p>Self-instructed data augmentation: Using the model itself to generate additional instruction&#x2013;response pairs, thereby expanding the dataset and introducing diversity.</p></list-item>
<list-item><label>iii.</label><p>Document-based Q&#x0026;A generation: Asking questions based on the content of the epitaph to generate corresponding answers and create an instruction&#x2013;response dataset.</p></list-item>
</list></p></list-item>
<list-item><label>b.</label><p>Training configuration: With the supervised fine-tuning function of the Volcengine platform, this study deepened the model&#x2019;s understanding of the field of epitaphs. The model was optimised using the AdamW optimiser, setting the rank of LoRA to 8 and the learning rate to 1e-5, training it for 5 epochs with a warm-up ratio of 0.05.</p></list-item>
</list></p></list-item>
<list-item><label>3.</label><p><bold>Retrieval-augmented generation and local knowledge base</bold>. Finally, by integrating local knowledge bases and enhancing retrieval generation techniques, this study improved the vertical domain performance of the model:
<list  list-type="simple">
<list-item><label>a.</label><p>Knowledge base construction. The structured metadata of epitaphs (such as official records, geographic data, and historical chronology) was divided into text blocks of approximately 400 tokens. The Doubao Embedding model was used to vectorise these text blocks and establish an index in the vector database.</p></list-item>
<list-item><label>b.</label><p>Retrieval mechanism. During the inference stage, the user&#x2019;s query was transformed into a vector, and the top two most relevant historical records were retrieved through cosine similarity search. By dynamically concatenating the retrieved context with prompt words, this significantly improved the model&#x2019;s ability to extract key information such as the tomb owner&#x2019;s name, life story, and time of writing, and successfully associated this information with validated historical knowledge, thereby preventing AI from producing hallucinations.</p></list-item>
</list></p></list-item>
</list>
</sec>
</sec>
<sec id="sec24_u15">
<title>Evaluation</title>
<p>To evaluate the performance of our domain-specific epitaph model, a human evaluation was conducted.</p>
<sec id="sec24_u16">
<title>Evaluators</title>
<p>Three domain experts participated in the evaluation. All evaluators held doctoral degrees in Chinese Philology or Classical Chinese Literature, with specialised expertise in Tang dynasty epitaphs and palaeography. Each evaluator had more than five years of experience in the transcription, annotation, and interpretation of ancient Chinese epitaph texts. Prior to the formal evaluation, each annotator completed a training session comprising twenty example to ensure a consistent understanding of the evaluation criteria.</p>
</sec>
<sec id="sec24_u17">
<title>Baseline models</title>
<p>To assess the necessity of domain-specific fine-tuning and to contextualise the performance of the proposed model, it was compared against three representative general-purpose large language models:</p>
<list  list-type="simple">
<list-item><label>1.</label><p><bold>Doubao (base).</bold> The foundational model upon which our epitaph model is fine-tuned. This comparison directly isolates the impact of domain-specific instruction tuning.</p></list-item>
<list-item><label>2.</label><p><bold>Qianwen</bold>. A state-of-the-art Chinese general-purpose large language model developed by Alibaba, widely used for Chinese language tasks.</p></list-item>
<list-item><label>3.</label><p><bold>ChatGPT (GPT-4)</bold>. An internationally prominent general-purpose large language model, included to evaluate cross-domain and cross-linguistic performance on Classical Chinese texts.</p></list-item>
</list>
<p>All baseline models were evaluated under zero-shot conditions, without domain-specific fine-tuning or task-specific training.</p>
</sec>
<sec id="sec24_u18">
<title>Evaluation tasks and scoring criteria</title>
<p>The evaluation assessed the model&#x2019;s performance across four task types, each reflecting a core capability required for epitaph processing. For each task, evaluators rated the model&#x2019;s output on a ten-point scale (1 = completely incorrect or unusable, 10 = fully accurate with no errors). The four tasks were defined as follows:</p>
<list  list-type="simple">
<list-item><label>1.</label><p><bold>Sentence segmentation.</bold> The ability to correctly segment Classical Chinese text into meaningful clauses and sentences, adhering to syntactic and semantic conventions of Tang dynasty epitaphs. Scores were based on the accuracy of segmentation boundaries and the preservation of original textual meaning.</p></list-item>
<list-item><label>2.</label><p><bold>Logical judgment</bold>. The ability to identify and reason about logical relationships within epitaph texts, including temporal sequences (for example, burial dates), kinship relations, and official career progressions. Scores reflected the accuracy of extracted relational information.</p></list-item>
<list-item><label>3.</label><p><bold>Translation</bold>. The ability to translate Classical Chinese epitaph text into modern Chinese while maintaining faithfulness to the original meaning, preserving domain-specific terminology (for example, official titles, funeral formulae), and ensuring fluency in modern Chinese expression.</p></list-item>
<list-item><label>4.</label><p><bold>Summary and induction</bold>. The ability to generate concise summaries that capture key information from epitaph texts, including the deceased&#x2019;s identity, family background, life events, and burial details, without omitting critical information or introducing hallucinations.</p></list-item>
</list>
</sec>
<sec id="sec24_u19">
<title>Evaluation materials</title>
<p>Three Tang dynasty epitaphs, those of Cui Yi, Liu Yi, and Li Hua, were selected as evaluation materials. These epitaphs were chosen based on the following criteria: (1) they were representative of typical Tang dynasty epitaph structure and content; (2) they vary in length (short, medium, and long) to assess model robustness across text complexity; and (3) their authoritative transcriptions and interpretations have been validated by professional researchers in the field, ensuring reliable ground truth for evaluation.</p>
</sec>
<sec id="sec24_u20">
<title>Evaluation procedure</title>
<p>Each evaluator independently assessed the model&#x2019;s outputs for all three epitaphs across the four task dimensions. The final score for each epitaph&#x2013;task combination was determined by the evaluator based on the ten-point rubric. To ensure consistency, evaluators were provided with a detailed scoring guideline with annotated examples for each score level. Inter-rater reliability was assessed using the intraclass correlation coefficient, yielding a value of 0.89 (95% CI: 0.82&#x2013;0.94), indicating excellent agreement among evaluators. Discrepancies in scoring were resolved through consensus discussion. Evaluators were blinded to model identity to mitigate potential evaluator bias.</p>
</sec>
</sec>
</sec>
<sec id="sec24_4">
<title>Results</title>
<p><xref ref-type="table" rid="table24_9">Table 9</xref> presents the evaluation results for our epitaph model. <xref ref-type="table" rid="table24_10">Table 10</xref> presents a comparison of our model against the three baseline models.</p>
<p>As shown in <xref ref-type="table" rid="table24_9">Table 9</xref>, our model achieved mean scores of 10.0 for sentence segmentation, 10.0 for logical judgment, 9.7 for translation, and 9.3 for summary and induction, with low variance across the three test epitaphs. These results indicate that the model performs reliably across different epitaph texts, with particularly strong performance in sentence segmentation and logical judgment. The slightly lower scores in translation and summary tasks reflect the inherent complexity of rendering Classical Chinese into fluent modern Chinese while preserving domain-specific nuances.</p>
<table-wrap id="table24_9" position="float">
<label>Table 9.</label>
<caption><p>Ability evaluation score of epitaph model (Full Score: 10 points)</p></caption>
<table frame="hsides">
<thead>
<tr>
<th align="center" valign="top">Capability type</th>
<th align="center" valign="top">Epitaph Cui Yi</th>
<th align="center" valign="top">Epitaph Liu Yi</th>
<th align="center" valign="top">Epitaph Lihua</th>
<th align="center" valign="top">Mean score</th>
<th align="center" valign="top">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Sentence breaking</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">0</td>
</tr>
<tr>
<td align="left" valign="top">Logical judgment</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">0</td>
</tr>
<tr>
<td align="left" valign="top">Translation</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">9.7</td>
<td align="center" valign="top">0.2</td>
</tr>
<tr>
<td align="left" valign="top">Summary and induction</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9</td>
<td align="center" valign="top">9.3</td>
<td align="center" valign="top">0.2</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="table" rid="table24_10">Table 10</xref> reveals a substantial performance gap between our domain-specific model and the general-purpose baselines. Our model achieved an overall mean score of 9.75, compared to 8.375 for Doubao (base), 8.475 for Qianwen, and 9.15 for ChatGPT. The largest performance gains were observed in sentence segmentation and domain terminology handling, tasks that require deep familiarity with Classical Chinese syntax and Tang dynasty epitaph conventions. These results provide strong empirical support for the core claim of this study: domain-specific fine-tuning is essential for achieving high performance on specialised tasks involving ancient Chinese texts, as general-purpose large language models, despite their broad capabilities, struggle with the unique linguistic and domain-specific demands of epitaph processing.</p>
<table-wrap id="table24_10" position="float">
<label>Table 10.</label>
<caption><p>Comparison with baseline models (Full Score: 10 points)</p></caption>
<table frame="hsides">
<thead>
<tr>
<th align="center" valign="top">Model</th>
<th align="center" valign="top">Sentence segmentation</th>
<th align="center" valign="top">Logical judgment</th>
<th align="center" valign="top">Translation</th>
<th align="center" valign="top">Summary</th>
<th align="center" valign="top">Overall mean</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Doubao (base)</td>
<td align="center" valign="top">8.2</td>
<td align="center" valign="top">8.6</td>
<td align="center" valign="top">8.4</td>
<td align="center" valign="top">8.3</td>
<td align="center" valign="top">8.375</td>
</tr>
<tr>
<td align="left" valign="top">Qianwen</td>
<td align="center" valign="top">8.5</td>
<td align="center" valign="top">8.3</td>
<td align="center" valign="top">8.7</td>
<td align="center" valign="top">8.4</td>
<td align="center" valign="top">8.475</td>
</tr>
<tr>
<td align="left" valign="top">ChatGPT3.5</td>
<td align="center" valign="top">9.1</td>
<td align="center" valign="top">9.0</td>
<td align="center" valign="top">9.2</td>
<td align="center" valign="top">9.3</td>
<td align="center" valign="top">9.15</td>
</tr>
<tr>
<td align="left" valign="top">Ours (Epitaph Model)</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">10</td>
<td align="center" valign="top">9.7</td>
<td align="center" valign="top">9.3</td>
<td align="center" valign="top">9.75</td>
</tr>
</tbody>
</table>
</table-wrap>
<sec id="sec24_u21">
<title>System limitations</title>
<p>The evaluation process identified several limitations that should inform future improvements to the model. First, the model exhibited inconsistency in retrieving burial date information: when querying for two individuals with identical burial dates, the model returned discrepancies in one case. Second, while the model correctly understood the classical term <italic>qianhua</italic> (&#x8FC1;&#x5316;, a euphemism for death), it failed to retrieve relevant cases containing this term when queried. Third, in certain instances, burial date queries returned no information, yet requesting the full text of the same epitaph yielded accurate burial dates; subsequent queries then performed correctly, suggesting potential issues with retrieval consistency. Finally, when queried for an epitaph not present in the knowledge base, the model returned an unrelated epitaph; upon further correction, it fabricated a non-existent epitaph.</p>
<p>These limitations highlight areas for future research, including improving retrieval consistency, enhancing handling of low-frequency terms, and incorporating robust mechanisms to mitigate hallucination.</p>
<sec id="sec24_u22">
<title>Optimisation</title>
<p>To address the issues identified during the evaluation phase, targeted optimisations were implemented. When the model encounters questions that it cannot answer or lacks relevant information, it is configured to inform the user truthfully, as per the prompt settings, rather than fabricating responses.</p>
<p>In addition, future research will involve inputting dictionary-type books related to epitaphs into the model to deepen its understanding of epitaph content and enhance the accuracy of information extraction. These resources include the following:</p>
<list  list-type="bullet">
<list-item><label>&#x2022;</label><p><italic>Yuanhe xingzuan</italic> and <italic>Gujin xingshi Shu bianzheng</italic>. These works provide comprehensive information on surnames and clan origins, essential for understanding the lineage and historical background of individuals mentioned in epitaphs.</p></list-item>
<list-item><label>&#x2022;</label><p><italic>Tang cishi kao quanbian</italic> and <italic>Tang pushao chenglang biao</italic>. These records offer details of official titles and administrative divisions during the Tang dynasty, aiding in the interpretation of official positions and titles found in epitaphs.</p></list-item>
<list-item><label>&#x2022;</label><p><italic>Tang liangjing chengfang kao</italic> and <italic>Sui tang liangjing fangli pu</italic>. These resources offer insights into the geographical and administrative divisions of the Tang and Sui dynasties, which are valuable for understanding the locations and regional contexts mentioned in epitaphs.</p></list-item>
</list>
</sec>
</sec>
<sec id="sec24_u23">
<title>Advantages and existing issues of the model</title>
<p>The developed large language models for epitaphs offer several advantages. First, it provides comprehensive interpretation and information extraction. The model facilitates intelligent indexing, reading comprehension, automatic punctuation, annotation, translation, information extraction, annotation generation, social network construction, and biography generation from epitaph texts. Second, the model can handle fragmentation in epitaphs. As many original epitaph inscriptions are fragmented owing to aging and missing content in collected rubbings, the model assists in reconstructing and completing fragmented texts.</p>
<p>However, certain issues remain. The first concerns the accuracy of information extraction. The model occasionally generates inconsistent or incorrect information, such as mismatched burial dates or omissions of key terms such as &#x2018;&#x8FC1;&#x5316;&#x2019;. The second concerns the handling unavailable information. When the model encounters questions that it cannot answer or lacks relevant information, it sometimes fabricates responses instead of acknowledging a lack of data.</p>
</sec>
</sec>
<sec id="sec24_5">
<title>Conclusion and prospects</title>
<p>Large language models have the potential to revolutionise the preservation, interpretation, and use of ancient library texts, presenting formidable challenges and new development opportunities. Libraries urgently need to reconstruct new conversational intelligent knowledge service systems based on artificial intelligence by leveraging their high-quality ancient text resources. By actively developing domain-specific models tailored to various genres and research areas within ancient texts, libraries can provide new knowledge services for the use of ancient resources. Furthermore, integrating these large models into teaching and research scenarios can stimulate students&#x2019; interest and creativity, thereby promoting the dissemination and inheritance of traditional cultures.</p>
<sec id="sec24_u24">
<title>Selection of large language models for ancient texts</title>
<p>Developing large language models, especially those focused on ancient texts, requires extensive high-quality, specialised data resources and incurs significant training costs. For public institutions such as libraries, independently developing and deploying foundational large language models models may not be the most feasible approach, owing to the associated costs and technical complexities. The best strategy is to leverage the library&#x2019;s various trusted disciplinary resources by collaborating with technology companies to co-develop specialised large language models in the ancient text domain. Alternatively, fine-tuning and optimising open-source foundational large language models can create application scenarios tailored to library services in ancient text fields, instead of building models from scratch.</p>
<sec id="sec24_u25">
<title>Construction of social relationship analysis and visualisation of character data</title>
<p>In the large model corpus, biographical data, from resources including the <ext-link ext-link-type="uri" xlink:href="https://cbdb.hsites.harvard.edu/">China Biographical Database</ext-link>, <ext-link ext-link-type="uri" xlink:href="https://examination.ancientbooks.cn/docDengke/">Database of Candidates for Imperial Examinations in Previous Dynasties,</ext-link> official dictionaries, and genealogies have been added. A large number of digital resources of ancient books, such as the existing <italic>Siku Quanshu</italic> and the Chinese Basic Ancient Books Database, have also been added to strengthen the marking of the logical relationships between people&#x2019;s lineage, time, and official positions. Combined with natural language processing technology and historical sociology, a more complete ancient interpersonal space&#x2013;time network has been presented to help digital humanities research.</p>
</sec>
</sec>
<sec id="sec24_u26">
<title>Building scientific multimodal digital content and establishing multimodal intelligent retrieval</title>
<p>With the ongoing iteration and optimisation of large models, such as GPT-4 and DeepSeek, it is now possible to process both text and digitised images of ancient rubbings and manuscripts. This advance indicates that both text and images can be efficiently converted into processable data within a large model framework.</p>
<p>In this context, librarians can use their interdisciplinary expertise to optimise the annotation of ancient text data knowledge elements and construct a comprehensive knowledge system encompassing multimodal ancient digital text content. By developing comprehensive retrieval capabilities across modalities, including images, text, and videos, they can overcome the limitations of text-based retrieval. In addition, this approach enables the automatic construction of intelligent knowledge network graphs with entity nodes and relational edges, facilitating cross-domain integration, multimodal compatibility, and conversational interaction functions. However, this transformation requires a profound shift from traditional text-based retrieval to a comprehensive knowledge service platform.</p>
</sec>
<sec id="sec24_u27">
<title>Collaborative construction and sharing of high-quality ancient text training corpora</title>
<p>Several public ancient text databases, such as the <ext-link ext-link-type="uri" xlink:href="https://www.shidianguji.com/">Shidian Ancient Texts</ext-link>, <ext-link ext-link-type="uri" xlink:href="http://csid.zju.edu.cn/tomb/stone">Database of Chinese Epitaphs through the Ages</ext-link>, <ext-link ext-link-type="uri" xlink:href="https://cnkgraph.com/">Tang and Song Literature Chronological Maps</ext-link>, <ext-link ext-link-type="uri" xlink:href="http://202.96.31.78/xlsworkbench/publish">National Ancient Books Census Registration Basic Database</ext-link>, <ext-link ext-link-type="uri" xlink:href="http://mylib.nlc.cn/thematDataSearch/toGujiIndex">Chinese Ancient Books Bibliography Database</ext-link>, and <ext-link ext-link-type="uri" xlink:href="http://mylib.nlc.cn/thematDataSearch/toGujiIndex">Chinese Ancient Books Resource Library</ext-link>, are available. However, these databases primarily meet basic retrieval needs and have simple applications. Consequently, when used for training high-quality large language models, these databases still fall short in terms of both quantity and quality, particularly owing to the lack of meticulously processed and contextually annotated data.</p>
<p>The unique characteristics of ancient texts, such as the use of Classical Chinese, the frequent occurrence of variant characters, and rich metaphoric allusions, impose stricter requirements on the semantic understanding capabilities of large language models. Therefore, the demand for professionally annotated and refined corpora has increased. To address this challenge, relevant institutions and professionals in the ancient text field must adhere to principles such as data partitioning and open access to accelerate the establishment of collaborative and shared mechanisms for corpus construction. This initiative aims to provide reliable training corpora for large language models in the ancient text domain.</p>
<p>In summary, integrating large language models into ancient text studies to generate vertical domain models or intelligent agents holds immense potential for revitalising, interpreting, and expanding access to ancient resources in libraries. By cleaning and proofreading the underlying data of epitaphs, images can be transformed into high-quality text. Through deep knowledge extraction and graph construction, text can be transformed into structured data. With the help of knowledge graphs and vector databases, libraries can provide intelligent services for digital humanities researchers and carry out popularisation services for the general public and interdisciplinary readers, thus contributing to the protection and dissemination of traditional culture.</p>
</sec>
</sec>
</body>
<back>
<ref-list id="reflist24_1">
<title>References</title>
<ref id="R1"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Brzustowicz</surname><given-names>R.</given-names></name></person-group><year>2023</year><article-title>From ChatGPT to CatGPT: The implications of artificial intelligence on library cataloging</article-title><source>Information Technology and Libraries</source><volume>42</volume><issue>3</issue><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5860/ital.v42i3.16295">https://doi.org/10.5860/ital.v42i3.16295</ext-link></comment></element-citation></ref>
<ref id="R2"><element-citation publication-type="web"><collab>Central Committee of the Communist Party of China</collab><collab>General Office of the State Council</collab><year>2022</year><article-title>Opinions on promoting ancient books work in the new era</article-title><comment><ext-link ext-link-type="uri" xlink:href="https://www.gov.cn/gongbao/content/2022/content_5687500.htm">https://www.gov.cn/gongbao/content/2022/content_5687500.htm</ext-link></comment><comment>(Archived at <ext-link ext-link-type="uri" xlink:href="https://web.archive.org/web/20250901180020/https://www.gov.cn/gongbao/content/2022/content_5687500.htm">https://web.archive.org/web/20250901180020/https://www.gov.cn/gongbao/conten t/2022/content_5687500.htm</ext-link> )</comment></element-citation></ref>
<ref id="R3"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname><given-names>H.</given-names></name><name><surname>Chen</surname><given-names>H.</given-names></name><name><surname>Han</surname><given-names>K.</given-names></name><name><surname>Zhu</surname><given-names>G.</given-names></name><name><surname>Zhao</surname><given-names>Y.</given-names></name><name><surname>Du</surname><given-names>Y.</given-names></name></person-group><year>2024</year><article-title>Customization of vertical domain large models: Theoretical basis and key technologies</article-title><source>Journal of Data Acquisition and Processing</source><volume>39</volume><issue>3</issue><fpage>524</fpage><lpage>546</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.16337/j.1004-9037.2024.03.003">https://doi.org/10.16337/j.1004-9037.2024.03.003</ext-link></comment></element-citation></ref>
<ref id="R4"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname><given-names>L.</given-names></name></person-group><year>2022</year><article-title>Issues in the digitization of ancient books and the construction of classical knowledge bases from the perspective of digital humanities</article-title><source>Journal of Library Science in China</source><volume>48</volume><issue>2</issue><fpage>36</fpage><lpage>46</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.13530/j.cnki.jlis.2022013">https://doi.org/10.13530/j.cnki.jlis.2022013</ext-link></comment></element-citation></ref>
<ref id="R5"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Guo</surname><given-names>Y.</given-names></name><name><surname>Kou</surname><given-names>X.</given-names></name><name><surname>Feng</surname><given-names>S.</given-names></name><name><surname>Li</surname><given-names>S.</given-names></name></person-group><year>2024</year><article-title>Empowering library reference services with large language models: Logic, scenarios, and systems</article-title><source>Library Tribune</source><fpage>1</fpage><lpage>10</lpage></element-citation></ref>
<ref id="R6"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Hu</surname><given-names>H. F.</given-names></name><name><surname>Tang</surname><given-names>Y.</given-names></name></person-group><year>2013</year><source>Catalogue of epitaph rubbings from various dynasties in Peking University Library</source><publisher-name>Shanghai Chinese Classics Publishing House</publisher-name></element-citation></ref>
<ref id="R7"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Huang</surname><given-names>Q.</given-names></name><name><surname>Tao</surname><given-names>M.</given-names></name><name><surname>Zhang</surname><given-names>C.</given-names></name><name><surname>An</surname><given-names>Z.</given-names></name><name><surname>Jiang</surname><given-names>C.</given-names></name><name><surname>Chen</surname><given-names>Z.</given-names></name><name><surname>Wu</surname><given-names>Z.</given-names></name><name><surname>Feng</surname><given-names>Y.</given-names></name></person-group><year>2023</year><article-title>Lawyer LLaMA technical report</article-title><source>arXiv</source><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.2305.15062">https://doi.org/10.48550/arXiv.2305.15062</ext-link></comment></element-citation></ref>
<ref id="R8"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lappalainen</surname><given-names>Y.</given-names></name><name><surname>Narayanan</surname><given-names>N.</given-names></name></person-group><year>2023</year><article-title>Aisha: A custom AI library chatbot using the ChatGPT API</article-title><source>Journal of Web Librarianship</source><volume>17</volume><fpage>37</fpage><lpage>58</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/19322909.2023.2221477">https://doi.org/10.1080/19322909.2023.2221477</ext-link></comment></element-citation></ref>
<ref id="R9"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Li</surname><given-names>H. Y.</given-names></name></person-group><year>2019</year><source>Research on restoration methods of digital epitaph rubbings</source><comment>[Master&#x2019;s thesis, China West Normal University]</comment></element-citation></ref>
<ref id="R10"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Li</surname><given-names>S.</given-names></name><name><surname>Hu</surname><given-names>R.</given-names></name><name><surname>Wang</surname><given-names>L.</given-names></name></person-group><year>2024</year><article-title>Construction and application research of ancient Chinese large language models</article-title><source>Language Strategy Research</source><volume>9</volume><issue>5</issue><fpage>22</fpage><lpage>33</lpage></element-citation></ref>
<ref id="R11"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Luo</surname><given-names>Y.</given-names></name><name><surname>Yang</surname><given-names>K.</given-names></name><name><surname>Hong</surname><given-names>M.</given-names></name><name><surname>Liu</surname><given-names>X. Y.</given-names></name><name><surname>Nie</surname><given-names>Z.</given-names></name></person-group><year>2023</year><article-title>MolFM: A multimodal molecular foundation model</article-title><source>arXiv</source><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.2307.09484">https://doi.org/10.48550/arXiv.2307.09484</ext-link></comment></element-citation></ref>
<ref id="R12"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Luo</surname><given-names>Y.</given-names></name><name><surname>Zhang</surname><given-names>J.</given-names></name><name><surname>Fan</surname><given-names>S.</given-names></name><name><surname>Yang</surname><given-names>K.</given-names></name><name><surname>Hong</surname><given-names>M.</given-names></name><name><surname>Wu</surname><given-names>Y.</given-names></name><name><surname>Qiao</surname><given-names>M.</given-names></name><name><surname>Nie</surname><given-names>Z.</given-names></name></person-group><year>2024</year><article-title>BiomedGPT: An open multimodal large language model for biomedicine</article-title><source>IEEE Journal of Biomedical and Health Informatics</source><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/JBHI.2024.3505955">https://doi.org/10.1109/JBHI.2024.3505955</ext-link></comment></element-citation></ref>
<ref id="R13"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rong</surname><given-names>L.</given-names></name></person-group><year>2024</year><article-title>Research on prompt learning for automatic classification of books using large language models</article-title><source>Library Science Research</source><issue>1</issue><fpage>86</fpage><lpage>103</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.15941/j.cnki.issn1001-0424.2024.01.012">https://doi.org/10.15941/j.cnki.issn1001-0424.2024.01.012</ext-link></comment></element-citation></ref>
<ref id="R14"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Song</surname><given-names>Z.</given-names></name><name><surname>Yan</surname><given-names>B.</given-names></name><name><surname>Liu</surname><given-names>Y.</given-names></name><name><surname>Fang</surname><given-names>M.</given-names></name><name><surname>Li</surname><given-names>M.</given-names></name><name><surname>Yan</surname><given-names>R.</given-names></name><name><surname>Chen</surname><given-names>X.</given-names></name></person-group><year>2025</year><article-title>Injecting domain-specific knowledge into large language models: A comprehensive survey</article-title><comment>In</comment><source>Findings of the Association for Computational Linguistics: EMNLP 2025</source><comment>pp.</comment><fpage>25297</fpage><lpage>25311</lpage><publisher-name>Association for Computational Linguistics</publisher-name><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/2025.findings-emnlp.1379">https://doi.org/10.18653/v1/2025.findings-emnlp.1379</ext-link></comment></element-citation></ref>
<ref id="R15"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Verma</surname><given-names>M.</given-names></name></person-group><year>2023</year><article-title>Novel study on AI-based chatbot (ChatGPT) impacts on the traditional library management</article-title><source>International Journal of Trend in Scientific Research and Development</source><volume>7</volume><issue>1</issue><fpage>961</fpage><lpage>964</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://bit.ly/4xdGtP4">https://bit.ly/4xdGtP4</ext-link></comment><comment>(Archived by the Internet Archive at <ext-link ext-link-type="uri" xlink:href="https://bit.ly/3UZWgni">https://bit.ly/3UZWgni</ext-link> )</comment></element-citation></ref>
<ref id="R16"><element-citation publication-type="web"><person-group person-group-type="author"><name><surname>Wang</surname><given-names>D.</given-names></name></person-group><year>2023</year><source>XunziALLM</source><comment>[Large language model]</comment><publisher-name>GitHub</publisher-name><comment><ext-link ext-link-type="uri" xlink:href="https://github.com/Xunzi-LLM-of-Chinese-classics/XunziALLM">https://github.com/Xunzi-LLM-of-Chinese-classics/XunziALLM</ext-link></comment></element-citation></ref>
<ref id="R17"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname><given-names>N.</given-names></name><name><surname>Liu</surname><given-names>C.</given-names></name><name><surname>Liu</surname><given-names>J. F.</given-names></name><name><surname>Wang</surname><given-names>D. B.</given-names></name></person-group><year>2024</year><article-title>AIGC-driven automatic summarization of ancient texts: From natural language understanding to generation</article-title><source>Library Tribune</source><volume>44</volume><issue>9</issue><fpage>111</fpage><lpage>123</lpage></element-citation></ref>
<ref id="R18"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname><given-names>X.</given-names></name><name><surname>Yan</surname><given-names>D.</given-names></name><name><surname>Cai</surname><given-names>Y.</given-names></name></person-group><year>2024</year><article-title>Innovative practice of AI literacy education based on the ARCS model</article-title><source>Library Journal</source><fpage>1</fpage><lpage>12</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.13663/j.cnki.lj.2024.11.006">https://doi.org/10.13663/j.cnki.lj.2024.11.006</ext-link></comment></element-citation></ref>
<ref id="R19"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Wang</surname><given-names>X.</given-names></name></person-group><comment>n.d.</comment><article-title>Mu ming ju li [Examples of epitaph compositions]</article-title><comment>In</comment><source>Complete library of the four treasuries</source><edition>Wen-Yuan-Ge ed.</edition><volume>1482</volume><publisher-name>Shanghai Classics Publishing House</publisher-name><comment>(Original work published during the Ming dynasty).</comment></element-citation></ref>
<ref id="R20"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Xiao</surname><given-names>T.</given-names></name></person-group><year>2025</year><source>Wenxuan</source><comment>[Anthology of literature]</comment><edition>Facsimile reprint</edition><publisher-name>Chongwen Publishing House</publisher-name><comment>(Original work published ca. 520&#x2013;530 C.E.)</comment></element-citation></ref>
<ref id="R21"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Xu</surname><given-names>Q. K.</given-names></name><name><surname>Wang</surname><given-names>D. B.</given-names></name><name><surname>Liu</surname><given-names>Y. T.</given-names></name><name><surname>Huang</surname><given-names>S. Q.</given-names></name></person-group><year>2024</year><article-title>Research on the construction of ancient books knowledge base for knowledge services</article-title><source>Information Science</source><volume>42</volume><issue>5</issue><fpage>149</fpage><lpage>158</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.13833/j.issn.1007-7634.2024.05.016">https://doi.org/10.13833/j.issn.1007-7634.2024.05.016</ext-link></comment></element-citation></ref>
<ref id="R22"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname><given-names>H.</given-names></name><name><surname>Chen</surname><given-names>J.</given-names></name><name><surname>Jiang</surname><given-names>F.</given-names></name><name><surname>Yu</surname><given-names>F.</given-names></name><name><surname>Chen</surname><given-names>Z.</given-names></name><name><surname>Li</surname><given-names>J.</given-names></name><name><surname>Chen</surname><given-names>G.</given-names></name><name><surname>Wu</surname><given-names>X.</given-names></name><name><surname>Zhang</surname><given-names>Z.</given-names></name><name><surname>Xiao</surname><given-names>Q.</given-names></name><name><surname>Wan</surname><given-names>X.</given-names></name><name><surname>Wang</surname><given-names>B.</given-names></name><name><surname>Li</surname><given-names>H.</given-names></name></person-group><year>2023</year><article-title>HuatuoGPT, towards taming language model to be a doctor</article-title><source>arXiv</source><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18653/v1/2023.findings-emnlp.725">https://doi.org/10.18653/v1/2023.findings-emnlp.725</ext-link></comment></element-citation></ref>
<ref id="R23"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname><given-names>J. D.</given-names></name><name><surname>Yang</surname><given-names>S. H.</given-names></name><name><surname>Liu</surname><given-names>J. F.</given-names></name><name><surname>Huang</surname><given-names>Q.</given-names></name></person-group><year>2024</year><article-title>Empowering traditional Chinese medicine ancient texts with AIGC: Construction of the Huang-Di large model</article-title><source>Library Tribune</source><volume>44</volume><issue>10</issue><fpage>103</fpage><lpage>112</lpage></element-citation></ref>
<ref id="R24"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname><given-names>X.</given-names></name><name><surname>Tian</surname><given-names>C.</given-names></name><name><surname>Yang</surname><given-names>X.</given-names></name><name><surname>Chen</surname><given-names>L.</given-names></name><name><surname>Li</surname><given-names>Z.</given-names></name><name><surname>Petzold</surname><given-names>L. R.</given-names></name></person-group><year>2023</year><article-title>AlpaCare: Instruction-tuned large language models for medical application</article-title><source>arXiv</source><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.2310.14558">https://doi.org/10.48550/arXiv.2310.14558</ext-link></comment></element-citation></ref>
<ref id="R25"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhao</surname><given-names>S.</given-names></name><name><surname>Zhang</surname><given-names>J.</given-names></name><name><surname>Nie</surname><given-names>Z.</given-names></name></person-group><year>2023</year><article-title>Large-scale cell representation learning via divide-and-conquer contrastive learning</article-title><source>arXiv</source><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.2306.04371">https://doi.org/10.48550/arXiv.2306.04371</ext-link></comment></element-citation></ref>
<ref id="R26"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhao</surname><given-names>S. Q.</given-names></name><name><surname>Zhou</surname><given-names>Y.</given-names></name><name><surname>Ren</surname><given-names>Y.</given-names></name><name><surname>Chen</surname><given-names>Z.</given-names></name><name><surname>Jia</surname><given-names>C.</given-names></name><name><surname>Fang</surname><given-names>Z.</given-names></name><name><surname>Long</surname><given-names>Z.</given-names></name><name><surname>Liu</surname><given-names>S.</given-names></name><name><surname>Lan</surname><given-names>M.</given-names></name></person-group><year>2025</year><article-title>F&#x00F9;x&#x00EC;: A benchmark for evaluating language models on ancient Chinese text understanding and generation</article-title><source>arXiv</source><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arxiv.2503.15837">https://doi.org/10.48550/arxiv.2503.15837</ext-link></comment></element-citation></ref>
<ref id="R27"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhao</surname><given-names>Y.</given-names></name></person-group><year>2018</year><article-title>Preliminary discussion on the digital processing of Tang Dynasty epitaphs</article-title><source>Library Tribune</source><volume>38</volume><issue>6</issue><fpage>49</fpage><lpage>55</lpage></element-citation></ref>
<ref id="R28"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhao</surname><given-names>Z. X.</given-names></name><name><surname>Hu</surname><given-names>D.</given-names></name><name><surname>Liu</surname><given-names>C.</given-names></name><name><surname>Shen</surname><given-names>S.</given-names></name><name><surname>Wang</surname><given-names>D. B.</given-names></name></person-group><year>2024</year><article-title>Performance evaluation of Chinese general large models in humanities and social sciences</article-title><source>Library and Information Service</source><volume>68</volume><issue>13</issue><fpage>132</fpage><lpage>143</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.13266/j.issn.0252-3116.2024.13.012">https://doi.org/10.13266/j.issn.0252-3116.2024.13.012</ext-link></comment></element-citation></ref>
<ref id="R29"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zuo</surname><given-names>L.</given-names></name><name><surname>Zhao</surname><given-names>Z.</given-names></name><name><surname>Wang</surname><given-names>D.</given-names></name></person-group><year>2024</year><article-title>Automatic classification of &#x201C;Siku Quanshu&#x201D; based on large language models</article-title><source>Journal of Information Resources Management</source><volume>14</volume><issue>5</issue><fpage>22</fpage><lpage>35</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.13365/j.jirm.2024.05.023">https://doi.org/10.13365/j.jirm.2024.05.023</ext-link></comment></element-citation></ref>
</ref-list>
</back>
</article>