arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.04202cs.CLcs.AI
收藏

基于微调预训练大语言模型的法律文书起草

Legal Documents Drafting with Fine-Tuned Pre-Trained Large Language Model

National Taiwan University(国立台湾大学)

Chun-Hsien Lin, Pu-Jen Cheng

AI总结:

本文研究利用无需分词和人工标注的大量法律文书在本地微调预训练大语言模型,以实现法律文书草稿生成,同时保护信息隐私并提升安全性。

摘要:

随着大规模语言模型(LLM)的发展,微调预训练 LLM 已成为解决自然语言处理下游任务的主流范式。然而,在法律领域训练语言模型需要大量法律文书,以便语言模型能够学习法律术语以及法律文书格式的特殊性。典型的自然语言处理方法通常依赖大量人工标注的数据集进行训练。但在法律领域应用中,很难获得大量人工标注的数据集,这限制了典型方法在法律文书起草任务上的应用。本文的实验结果表明,我们不仅能够利用大量无需中文分词且无需标注的法律文书来微调大规模语言模型,更重要的是,可以在本地计算机上微调预训练 LLM 来完成生成法律文书草稿的任务,同时实现信息隐私保护并改善信息安全问题。

英文摘要:

With the development of large-scale Language Models (LLM), fine-tuning pre-trained LLM has become a mainstream paradigm for solving downstream tasks of natural language processing. However, training a language model in the legal field requires a large number of legal documents so that the language model can learn legal terminology and the particularity of the format of legal documents. The typical NLP approaches usually rely on many manually annotated data sets for training. However, in the legal field application, it is difficult to obtain a large number of manually annotated data sets, which restricts the typical method applied to the task of drafting legal documents. The experimental results of this paper show that not only can we leverage a large number of annotation-free legal documents without Chinese word segmentation to fine-tune a large-scale language model, but more importantly, it can fine-tune a pre-trained LLM on the local computer to achieve the generating legal document drafts task, and at the same time achieve the protection of information privacy and to improve information security issues.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑