---
title: CourtAssistant
canonical_url: "https://www.modelscope.cn/models/zhucl123/CourtAssistant"
md_url: "https://www.modelscope.cn/models/zhucl123/CourtAssistant.md"
repository: zhucl123/CourtAssistant
chinese_name: "中文法律争议焦点提取模型"
last_updated: 2025-05-30
pipeline_tag: text-generation
tasks:
  - text-generation
base_model:
  - Qwen/Qwen2.5-7B-Instruct
base_model_relation: quantized
library_name:
  - transformer
  - gguf
language:
  - zh
downloads: 41
stars: 3
tags:
  - legal
  - gguf
---

# CourtAssistant

> CourtAssistant - zhucl123 在 ModelScope 开源的模型。输入案情，即当事人双方的诉讼及答辩内容，总结争议焦点

zhucl123/CourtAssistant 是 ModelScope 魔搭社区上的text-generation模型，基于 Qwen/Qwen2.5-7B-Instruct 构建。

- **Repository**: zhucl123/CourtAssistant
- **Tasks**: text-generation
- **Base model**: Qwen/Qwen2.5-7B-Instruct
- **Tags**: legal, gguf
- **Downloads**: 41
- **Stars**: 3
- **Last updated**: 2025-05-30

Source: https://www.modelscope.cn/models/zhucl123/CourtAssistant

---

# 模型介绍

争议焦点提取助手，输入案情后会总结争议焦点

  更多详情请访问：<link>https://github.com/zhucl123/CourtAssistant</link>

## 基本信息

- **作者:** 智法先锋 from 对外经济贸易大学
- **类型:** Text-Generation
- **语言:** 中文
- **基底模型:** Qwen2.5-7B-Instruct


## 模型调用

本模型已通过LLAMA.CPP量化为gguf格式，建议使用OLLAMA导入

   ```bash
   ollama create courtAssistant <path-to-ca.mf>
   ```

或者python使用transformers调用

  ```bash
  from transformers import AutoTokenizer, AutoModelForCausalLM
  
  model_id = "zcl123/CourtAssistant"
  file_name = "ca.gguf"
  
  tokenizer = AutoTokenizer.from_pretrained(model_id, gguf_file=file_name, clean_up_tokenization_spaces=True)
  model = AutoModelForCausalLM.from_pretrained(model_id, gguf_file=file_name)
  ```

## 训练信息

### 数据集

数据集来源自北大法宝、裁判文书网和人民法院案例库中的民事裁判文书，案由包括合同、物权、侵权等，共2053份。

其中每一份都在文中提及了法院对于争议焦点的总结部分，使用正则表达式+大模型API提取作为数据

预训练数据集结构为：

|问|答|
|---|---|
| <当事人辩诉案情> | <法院争议焦点> |

### 训练方法

使用LLAMAFACTORY框架，以Qwen2.5-7B-Instruct为基底模型微调
