Skip to content

LawAI:A Large Language Model-based Legal Assistant 中文法律大模型LawAI——法之昭昭,其路遥遥 #RAG #Qwen微调

Notifications You must be signed in to change notification settings

SheriocCode/LawAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

LawAI: A Large Language Model-based Legal Assistant Enhanced by RAG.

favicon

法之昭昭,其路遥遥

GitHub Contributors Issues GitHub pull requests GitHub stars
HuggingFace

LawAI Models

  • Base Model:Based on Qwen7b.
  • Enhancements: Significantly increased training data volume and rounds (about 2 days of training).
  • Limitation:Partial overfitting occurs(Caused by 2w pairs of Q&A with 30 epochs of training).
  • Base Model:Based on llama3.
  • Enhancements: Trained for non-professional legal knowledge Q&A (2 hours of training).
  • Limitation:Limited support for Chinese and limited dataset (8000 pairs of non-professional Q&A).

Introduction

Large Language Models (LLMs) have demonstrated strong universality in various fields. However, in vertical domains such as the legal field, the performance of these large models often leaves much to be desired. The reason lies in the fact that the legal field involves a vast amount of professional knowledge, complex legal principles, and highly refined rules and practices. Relying solely on general-purpose large models makes it difficult to achieve the ideal effect of legal consulting services.

To compensate for this deficiency, we have decided to develop the LawAI model, focusing on the application in the legal field. Our goal is to enable the model to deeply understand and apply legal knowledge through refined learning and training, thereby providing users with more accurate and reliable legal consulting services.

  • Focused on the Legal Field: Unlike general-purpose large models, the LawAI model specializes in the legal field. Through the input of a large amount of legal professional knowledge and practical experience, it possesses a stronger legal professionalism.

  • Refined Learning: We have conducted refined training for the model, including the study of legal provisions, analysis of cases, understanding of legal principles, etc., to ensure that the model can accurately grasp the core essentials of the legal field.

About

LawAI:A Large Language Model-based Legal Assistant 中文法律大模型LawAI——法之昭昭,其路遥遥 #RAG #Qwen微调

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages