eland-legal-ie-zh-gguf
台灣法律判決書資訊抽取模型 - GGUF 格式 (Ollama)
Model Description
本模型專為台灣法院判決書設計,可從判決書文本中自動抽取結構化資訊。
GGUF 格式適用於:
- Ollama
- llama.cpp
- 本地部署
Quick Start with Ollama
# 下載模型和 Modelfile
huggingface-cli download p988744/eland-legal-ie-zh-gguf \
eland-legal-ie-zh-q8_0.gguf Modelfile --local-dir ./
# 建立 Ollama 模型
ollama create eland-legal-ie -f Modelfile
# 執行
ollama run eland-legal-ie
使用範例
ollama run eland-legal-ie "請從以下判決書中抽取結構化資訊:
臺灣臺北地方法院民事判決
112年度訴字第1234號
原告:王小明
被告:ABC公司
..."
Available Quantizations
| File | Quantization | Size | Description |
|---|---|---|---|
| eland-legal-ie-zh-q8_0.gguf | Q8_0 | ~4.3GB | 最高品質 |
Performance
NER 準確率
| 實體類型 | F1 Score |
|---|---|
| PARTY | 88.0% |
| COURT | 100.0% |
| JUDGE | 100.0% |
| LAWYER | 80.0% |
| CASE_NUMBER | 76.9% |
| LAW_ARTICLE | 100.0% |
| CHARGE | 75.0% |
Output Format
模型輸出 JSON 格式:
{
"case_number": "112年度訴字第1234號",
"court": "臺灣臺北地方法院",
"case_type": "民事",
"charge": "損害賠償",
"entities": [
{"type": "PARTY", "name": "王小明", "role": "原告"},
{"type": "COURT", "name": "臺灣臺北地方法院"}
],
"events": [
{"type": "Verdict", "trigger": "判決"}
],
"summary": {
"verdict_result": "原告勝訴",
"award_amount": 1000000,
"legal_basis": ["民法第184條"]
}
}
Related Models
- eland-legal-ie-zh - LoRA Adapter
- eland-legal-ie-zh-vllm - vLLM 部署
License
Apache 2.0
- Downloads last month
- 1
Hardware compatibility
Log In to add your hardware
8-bit