初始化项目,由ModelHub XC社区提供模型
Model: mufeedh28/dictalm2-israeli-law-GGUF Source: Original Platform
This commit is contained in:
37
.gitattributes
vendored
Normal file
37
.gitattributes
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.model filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||||
|
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
dictalm2-israeli-law-merged.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
dictalm2-israeli-law.F16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
82
README.md
Normal file
82
README.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
---
|
||||||
|
base_model: mufeedh28/dictalm2-israeli-law-instruct-merged
|
||||||
|
tags:
|
||||||
|
- gguf
|
||||||
|
- mistral
|
||||||
|
- legal
|
||||||
|
- hebrew
|
||||||
|
- israel
|
||||||
|
- law
|
||||||
|
- ollama
|
||||||
|
license: apache-2.0
|
||||||
|
language:
|
||||||
|
- he
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
---
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
|
# DictaLM 2.0 — Israeli Law Chat (GGUF)
|
||||||
|
|
||||||
|
### Run the Hebrew legal chatbot locally with Ollama
|
||||||
|
|
||||||
|
**F16 full precision** | **~14.5 GB** | **Requires 16GB+ RAM**
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Quick Start
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ollama run hf.co/mufeedh28/dictalm2-israeli-law-GGUF
|
||||||
|
```
|
||||||
|
|
||||||
|
Then ask questions in Hebrew:
|
||||||
|
|
||||||
|
```
|
||||||
|
>>> מהן זכויות השוכר לפי חוק השכירות?
|
||||||
|
>>> מה קורה אם מעסיק לא משלם פיצויי פיטורים?
|
||||||
|
>>> האם ניתן לערער על החלטת בית משפט השלום?
|
||||||
|
```
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
This is the **F16 (full precision) GGUF** version of [DictaLM 2.0 — Israeli Law Chat](https://huggingface.co/mufeedh28/dictalm2-israeli-law-instruct-merged), a 7B Hebrew legal chatbot fine-tuned on 140K+ Israeli legal documents and 7,291 Q&A pairs.
|
||||||
|
|
||||||
|
For full model details, training data, and usage examples, see the [main model card](https://huggingface.co/mufeedh28/dictalm2-israeli-law-instruct-merged).
|
||||||
|
|
||||||
|
## File Details
|
||||||
|
|
||||||
|
| File | Precision | Size | Quality |
|
||||||
|
|------|:---------:|:----:|:-------:|
|
||||||
|
| `dictalm2-israeli-law.F16.gguf` | F16 | ~14.5 GB | Full precision — no quality loss |
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
- [Ollama](https://ollama.com/) installed
|
||||||
|
- 16 GB+ RAM (GPU or CPU)
|
||||||
|
|
||||||
|
## Alternative Usage
|
||||||
|
|
||||||
|
### With llama.cpp directly
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./llama-cli -m dictalm2-israeli-law.F16.gguf -p "[INST] מהן זכויות העובד בפיטורים? [/INST]" -n 512
|
||||||
|
```
|
||||||
|
|
||||||
|
### With llama-cpp-python
|
||||||
|
|
||||||
|
```python
|
||||||
|
from llama_cpp import Llama
|
||||||
|
|
||||||
|
llm = Llama(model_path="dictalm2-israeli-law.F16.gguf", n_ctx=2048)
|
||||||
|
output = llm("[INST] מהן זכויות העובד בפיטורים? [/INST]", max_tokens=512, temperature=0.7)
|
||||||
|
print(output["choices"][0]["text"])
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
> **Disclaimer:** This model may produce inaccurate legal information. Do not use as a substitute for professional legal advice.
|
||||||
|
|
||||||
|
Made by [Mufeed Hammud](https://www.linkedin.com/in/mufeed-hammud-a41b84245) | [Full Model](https://huggingface.co/mufeedh28/dictalm2-israeli-law-instruct-merged) | [GitHub](https://github.com/mofeed28/israeli-law-llm)
|
||||||
3
dictalm2-israeli-law.F16.gguf
Normal file
3
dictalm2-israeli-law.F16.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:629bc0cf83311e7ede8ebf570635ebae2a302a23b9743b8281ad3b65458f5998
|
||||||
|
size 14503635040
|
||||||
Reference in New Issue
Block a user