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。