节点文献

基于大模型指令微调的公文生成方法

Instruction Tuning of Large Language Models for Official Document Generation

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 梁瑞威蔡子杰方荟龙云飞孔祥增徐戈

【Author】 LIANG Ruiwei;CAI Zijie;FANG Hui;LONG Yunfei;KONG Xiangzeng;XU Ge;College of Mechanical and Electrical Engineering, Fujian Agriculture and Forestry University;School of Computer Science and Mathematics, Fujian University of Technology;School of Computer and Big Data, Minjiang University;Fujian Mental Health Human-Computer Interaction Technology Research Center;School of Computer Science and Electronic Engineering, University of Essex;

【通讯作者】 方荟;

【机构】 福建农林大学机电工程学院福建理工大学计算机科学与数学学院闽江学院计算机与大数据学院福建省心理健康人机交互技术研究中心埃塞克斯大学计算机与电子工程学院

【摘要】 公文在政府和企业机构中扮演着重要角色,其撰写严格遵循特定的格式和规范,且内容必须准确、清晰、逻辑严谨。然而,传统的公文撰写过程耗时烦琐,需要经验丰富的写作人员才能胜任。目前,公文写作数据集稀缺,且尚无大模型公文生成的研究。因此,该文介绍了一种基于大模型的指令微调方法,旨在提高公文写作质量和效率。具体来说,我们基于少量真实公文样本,结合公文专家的指导,设计了提示模板,引导ChatGPT生成了625对样本实例,并将这些实例构建成面向公文写作任务的指令数据集,解决了当前公文领域缺乏写作任务指令数据集的问题。随后,我们使用这一指令数据集对大模型进行了参数高效微调,并为公文写作评测设计了评估标准。实验结果表明,对四个基座模型进行微调,性能得到显著提升,在百分制人工评估标准下,基座模型Qwen-1.8B-Chat经LoRA微调后平均得分从74.32分提升到84.64分,证明了大模型经过领域数据集指令微调后能有效提高公文写作质量。

【Abstract】 Official documents follow specific formats and norms, and the contents must be accurate, clear, and logical. This paper introduced an instruction tuning method for large language models for qualified and efficient composition of official document. Specifically, we guide ChatGPT to generate 625 pairs of sample instances with prompt templates derived from a small number of official document samples and the guidance of experts. These instances are then converted into the instruction dataset for parameter-efficient tuning of the large language model. The experimental results indicate that positive results are observed for four base models, with the average score of the base model Qwen-1.8B-Chat increasing from 74.32 to 84.64 according human evaluation.

【基金】 科技创新2030-“新一代人工智能”重大项目(2022ZD0116308);闽江学院引进人才科技预研项目(MJY23033);闽江学院引进人才科技预研项目(MJY21032);福州海洋研究院“揭榜挂帅”项目(2024F02);福建省中青年教师教育科研项目(科技类)(JAT231095)
  • 【文献出处】 中文信息学报 ,Journal of Chinese Information Processing , 编辑部邮箱 ,2025年05期
  • 【分类号】TP391.1;TP18;C931.46
  • 【下载频次】120
节点文献中: 

本文链接的文献网络图示:

本文的引文网络