We propose DISC-LawLLM, an intelligent legal system utilizing large language models (LLMs) to provide a wide range of legal services. We adopt legal syllogism prompting strategies to construct supervised fine-tuning datasets in the Chinese Judicial domain and fine-tune LLMs with legal reasoning capability. We augment LLMs with a retrieval module to enhance models' ability to access and utilize external legal knowledge. A comprehensive legal benchmark, DISC-Law-Eval, is presented to evaluate intelligent legal systems from both objective and subjective dimensions. Quantitative and qualitative results on DISC-Law-Eval demonstrate the effectiveness of our system in serving various users across diverse legal scenarios. The detailed resources are available at https://github.com/FudanDISC/DISC-LawLLM.
翻译:本文提出DISC-LawLLM,一种基于大语言模型(LLMs)的智能法律系统,旨在提供广泛的法律服务。我们采用法律三段论提示策略,构建面向中国司法领域的监督微调数据集,并对LLMs进行法律推理能力的微调。通过为LLMs引入检索模块,增强了模型获取和利用外部法律知识的能力。我们提出综合性法律基准DISC-Law-Eval,从客观与主观两个维度对智能法律系统进行评估。在DISC-Law-Eval上的定量与定性结果证明了我们的系统在多样法律场景中为不同用户提供服务的有效性。详细资源可访问 https://github.com/FudanDISC/DISC-LawLLM。