#92 · Primary category: Foundation Models
lawyer-llama
中文法律LLaMA (LLaMA for Chinese legel domain)
Project last updated:08/28/24
GitHub Stars
1.0K
Forks
132
Contributors
4
License
Apache-2.0
Why we included this project
Chinese-language legal applications rarely have open, domain-tuned models to build on, and this repository provides exactly that: LLaMA weights trained specifically for the legal domain. The training started with continual pretraining over a large corpus of statutes and court judgments, so the model holds a working grasp of China's civil, criminal, administrative, and procedural law, and then moved to instruction tuning on bar exam question explanations and lawyer-style consultation replies generated by GPT-3.5 and GPT-4. The datasets used are released alongside the weights, including per-question analyses of national bar exam problems and statute-grounded consultation dialogues, so you can reuse or adapt the recipe for your own legal assistant. The v2 model adds a marriage-law retrieval module, and the README documents automatic evaluation against a family-law consultation benchmark, giving a concrete sense of how output quality compares with general-purpose models.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
CLIP
CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
MiniCPM-V
A Pocket-Sized MLLM for Ultra-Efficient Image and Video Understanding on Your Phone
generative-models
Generative Models by Stability AI
unilm
Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities