paper-with-me

홈 › Papers

Lawyer LLaMA Technical Report

2023-05-24 · Quzhe Huang, Mingxu Tao, Chen Zhang, Zhenwei An, Cong Jiang, Zhibin Chen, Zirui Wu, Yansong Feng

Large Language Models (LLMs), like LLaMA, have exhibited remarkable performance across various tasks. Nevertheless, when deployed to specific domains such as law or medicine, the models still confront the challenge of a deficiency in domain-specific knowledge and an inadequate capability to leverage that knowledge to resolve domain-related problems. In this paper, we propose a new framework to adapt LLMs to specific domains and build Lawyer LLaMA, a legal domain LLM, based on this framework. Specifically, we inject domain knowledge during the continual training stage and teach the model to learn professional skills using properly designed supervised fine-tuning tasks. Moreover, to alleviate the hallucination problem during the model's generation, we add a retrieval module and extract relevant legal articles before the model answers any queries. When learning domain-specific skills, we find that experts' experience is much more useful than experiences distilled from ChatGPT, where hundreds of expert-written data outperform tens of thousands of ChatGPT-generated ones. We will release our model and data.

📄 PDF Abstract BibTeX arXiv:2305.15062

Code (1)

andrewzhe/lawyer-llama 공식 구현 pytorch

Tasks

ArticlesHallucinationRetrieval

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

VinaLLaMA: LLaMA-based Vietnamese Foundation Model

2023-12-18 · Quan Nguyen, Huy Pham, Dung Dao

In this technical report, we present VinaLLaMA, an open-weight, state-of-the-art (SOTA) Large Language Model for the Vietnamese language, built upon LLaMA-2 with an additional 800 billion trained tokens. VinaLLaMA not on…

Language ModelingLanguage ModellingLarge Language Modelmodel

The Llama 4 Herd: Architecture, Training, Evaluation, and Deployment Notes

2026-01-15 · Redacted by arXiv arxiv

This document consolidates publicly reported technical details about Metas Llama 4 model family. It summarizes (i) released variants (Scout and Maverick) and the broader herd context including the previewed Behemoth teac…

LawLuo: A Multi-Agent Collaborative Framework for Multi-Round Chinese Legal Consultation

2024-07-23 · Jingyun Sun, Chengxiao Dai, Zhongze Luo, Yangbo Chang 외

Legal Large Language Models (LLMs) have shown promise in providing legal consultations to non-experts. However, most existing Chinese legal consultation models are based on single-agent systems, which differ from real-wo…

HallucinationRAGReading Comprehension

Kotlin ML Pack: Technical Report

2024-05-29 · Sergey Titov, Mikhail Evtikhiev, Anton Shapkin, Oleg Smirnov 외

In this technical report, we present three novel datasets of Kotlin code: KStack, KStack-clean, and KExercises. We also describe the results of fine-tuning CodeLlama and DeepSeek models on this data. Additionally, we pre…

Code GenerationHumanEvalLanguage ModelingLanguage Modelling

AgentCourt: Simulating Court with Adversarial Evolvable Lawyer Agents

2024-08-15 · Guhong Chen, Liyang Fan, Zihan Gong, Nan Xie 외

In this paper, we present a simulation system called AgentCourt that simulates the entire courtroom process. The judge, plaintiff's lawyer, defense lawyer, and other participants are autonomous agents driven by large lan…