Downloads · 30 days
5
20% of all-time downloads
haofue2i1z3/Qwen3-8B-LegalIntake
Qwen3-8B-LegalIntake is a text generation model from haofue2i1z3. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
面向中文法律咨询 Intake 的 rank-64 LoRA,用于案件类型识别以及金额、时间要素的固定 JSON 抽取。
Downloads · 30 days
5
20% of all-time downloads
All-time downloads
25
Public
Repo size
710 MB
Likes
0
Public
Click a slice to open those files.
.safetensors698 MB · 98%
From the Hugging Face model README
面向中文法律咨询 Intake 的 rank-64 LoRA,用于案件类型识别以及金额、时间要素的固定 JSON 抽取。
在新冻结的 120 题 confirmatory 集上:
| 指标 | Base | 本模型 |
|---|---|---|
| JSON 有效率 | 1.0000 | 1.0000 |
| 案件类型准确率 | 1.0000 | 1.0000 |
| 整体 micro-F1 | 0.6031 | 0.7018 |
| 金额 F1 | 0.6077 | 0.8936 |
| 时间 F1 | 0.6000 | 0.6159 |
| 无依据抽取项 | 14 | 2 |
模型最终判定为 ARCHIVED_FINAL_FAIL:时间字段和负样本精确匹配没有通过预注册门禁。该 checkpoint 被公开是因为它承载了明确的确定性任务阳性结果,而不是因为已经达到部署标准。
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
adapter = "haofue2i1z3/Qwen3-8B-LegalIntake"
base = "Qwen/Qwen3-8B"
tokenizer = AutoTokenizer.from_pretrained(adapter, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(base, device_map="auto", torch_dtype="auto")
model = PeftModel.from_pretrained(model, adapter)