NepKANUN:基于RAG的尼泊尔法律助手
NepKANUN: A RAG-Based Nepali Legal Assistant
浏览论文内容
中文总结 AI 辅助
针对尼泊尔法律信息获取难的问题,提出基于微调大语言模型和RAG框架的法律助手NepKANUN,以定制问答数据训练,在BERTScore上取得高F1分数,并通过专家评审验证,有效促进法律知识普及。
中文摘要 AI 辅助
由于法律术语复杂、资源有限以及错误信息泛滥,在尼泊尔获取法律信息十分困难。我们引入了一个专为尼泊尔法律文本定制的人工智能法律助手,它基于微调的大型语言模型构建。当集成到检索增强生成(RAG)框架中时,该技术能够为自然语言法律查询提供精确、简明的答案。该模型使用了一个包含高质量问答对的自定义数据集进行训练,根据BERTScore评估,其在简单、中等和复杂问题上的F1分数分别达到了0.82、0.77和0.71,表现优异。专家评审进一步证实了其可用性。我们的方法展示了通过专注于定制法律数据并整合RAG,将生成与检索相结合能够有效促进尼泊尔法律知识的普及。
英文摘要
Accessing legal information in Nepal is difficult due to complex terminology, limited resources, and misinformation. We introduce an AI-powered legal assistant that is tailored for Nepali legal texts and is built on a fine-tuned large language model. The technology provides precise, streamlined answers to natural language legal inquiries when integrated into a Retrieval-Augmented Generation (RAG) framework. It was trained using a custom dataset of high-quality question-answer pairs, and according to BERTScore, it obtained strong F1 scores of 0.82 (simple), 0.77 (moderate), and 0.71 (complex). Its usability is further confirmed by expert reviews. Our method shows how merging generation and retrieval can effectively democratize access to legal knowledge in Nepal by focusing on customized legal data and incorporating RAG.
发表机构
- Kathmandu University(加德满都大学)
机构由 AI 辅助整理,请以论文原文为准。