初始化项目,由ModelHub XC社区提供模型
Model: dicta-il/DictaLM-3.0-1.7B-Thinking-GGUF Source: Original Platform
This commit is contained in:
40
.gitattributes
vendored
Normal file
40
.gitattributes
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
*.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
|
||||||
|
DictaLM-3.0-1.7B-Thinking-BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
DictaLM-3.0-1.7B-Thinking-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
DictaLM-3.0-1.7B-Thinking-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
DictaLM-3.0-1.7B-Thinking-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
imatrix_dict.gguf_file filter=lfs diff=lfs merge=lfs -text
|
||||||
3
DictaLM-3.0-1.7B-Thinking-BF16.gguf
Normal file
3
DictaLM-3.0-1.7B-Thinking-BF16.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6f9f80270f1d852f54e776034c3e360b09fd937a2533887196ddbd07b523958d
|
||||||
|
size 3447349248
|
||||||
3
DictaLM-3.0-1.7B-Thinking-Q4_K_M.gguf
Normal file
3
DictaLM-3.0-1.7B-Thinking-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a92a6b58ea48a3ea1b6099bda070bb0dab440b17e2afc527874827be96d28c94
|
||||||
|
size 1107409152
|
||||||
3
DictaLM-3.0-1.7B-Thinking-Q5_K_M.gguf
Normal file
3
DictaLM-3.0-1.7B-Thinking-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f810e4c4e59c8707fb280c0ad66b4b2d1a49f8b3875cab53e867a876be2ecc03
|
||||||
|
size 1257879808
|
||||||
3
DictaLM-3.0-1.7B-Thinking-Q8_0.gguf
Normal file
3
DictaLM-3.0-1.7B-Thinking-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5218355a0b968f25dd837a455a71f7dc6fe67cc75ab4baa4f340b48bba3775c8
|
||||||
|
size 1834426624
|
||||||
96
README.md
Normal file
96
README.md
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
---
|
||||||
|
license: apache-2.0
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
language:
|
||||||
|
- en
|
||||||
|
- he
|
||||||
|
tags:
|
||||||
|
- pretrained
|
||||||
|
inference:
|
||||||
|
parameters:
|
||||||
|
temperature: 0.6
|
||||||
|
---
|
||||||
|
|
||||||
|
[<img src="https://i.ibb.co/5Lbwyr1/dicta-logo.jpg" width="300px"/>](https://dicta.org.il)
|
||||||
|
|
||||||
|
# Dicta-LM 3.0: Advancing The Frontier of Hebrew Sovereign LLMs
|
||||||
|
|
||||||
|
Dicta-LM 3.0 is a powerful open-weight collection of LLMs, trained on extensive corpora of Hebrew and English texts. The models are available for download and for unlimited use. The models set a new SOTA for their weight-class for Hebrew, both as base models and chat models.
|
||||||
|
|
||||||
|
This is the 1.7-billion-parameter *reasoning* model, with full precision (BF16), originally initialized from [Qwen3-1.7B-Base](https://huggingface.co/Qwen/Qwen3-1.7B-Base).
|
||||||
|
|
||||||
|
This model is a reasoning chat model, which means that before responding to any given message from the user, the model first thinks out the right way to respond in a designated thinking block.
|
||||||
|
|
||||||
|
For full details of this model please read our [release blog post](https://dicta.org.il/dicta-lm-3) or the [technical report](https://www.dicta.org.il/publications/DictaLM_3_0___Techincal_Report.pdf).
|
||||||
|
|
||||||
|
You can view and access the full collection of base/instruct unquantized/quantized versions of `DictaLM 3.0` [here](https://huggingface.co/collections/dicta-il/dictalm-30-collection).
|
||||||
|
|
||||||
|
## Instruction format
|
||||||
|
|
||||||
|
In order to leverage instruction fine-tuning, your prompt should be rendered using the chat template specified for this model. Most libraries deal with this automatically, so you can just let them do it.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
We recommend using vLLM, but you can use Transformers as well:
|
||||||
|
|
||||||
|
### Transformers
|
||||||
|
|
||||||
|
```python
|
||||||
|
|
||||||
|
from transformers import pipeline
|
||||||
|
|
||||||
|
generator = pipeline('text-generation', model="dicta-il/DictaLM-3.0-1.7B-Thinking")
|
||||||
|
|
||||||
|
messages = [
|
||||||
|
{"role": "user", "content": "איזה רוטב אהוב עליך?"},
|
||||||
|
{"role": "assistant", "content": "טוב, אני די מחבב כמה טיפות מיץ לימון סחוט טרי. זה מוסיף בדיוק את הכמות הנכונה של טעם חמצמץ לכל מה שאני מבשל במטבח!"},
|
||||||
|
{"role": "user", "content": "האם יש לך מתכונים למיונז?"}
|
||||||
|
]
|
||||||
|
|
||||||
|
print(generator(messages)[0]['generated_text'][-1]) # just print the last message
|
||||||
|
# 'role': 'assistant', 'content': 'המשתמש שואל: "האם יש לך מתכונים למיונז?" אנחנו צריכים לספק מתכונים למיונז. לספק מתכונים ברורים, אולי עם שלבים. לספק כמה גרסאות. צריך להיות ידידותי.</think>בהחלט! הנה כמה מתכונים קלים, טעימים למיונז שתוכל לנסות. בחר את זה שמתאים לאפיון המטבח שלך, והרגיש חופשי להתאים את העוצמה של החריפות או התיבול לפי הטעם שלך.\n\n---\n\n## 1. מיונז בסיסי (מתכון בסיסי)\n\n**מרכיבים**\n- 2 כוסות חלב (או כל חלב מתוק אחר)\n- 1 ביצה גדולה\n- 1 כפית מיץ לימון טרי\n- 1 כפית מיץ תפוזים טרי (אופציונלי)\n- 1⁄2 כפית חרדל דיז\'ון\n- 1⁄2 כפית מלח\n- 1⁄4 כפית פלפל שחור טחון טרי\n\n**הוראות**\n1. **הכנת הביצה** – בקערה, טורפים יחד ביצה'}
|
||||||
|
```
|
||||||
|
|
||||||
|
### vLLM
|
||||||
|
|
||||||
|
```bash
|
||||||
|
vllm serve dicta-il/DictaLM-3.0-1.7B-Thinking --enable-auto-tool-choice --tool-call-parser hermes --reasoning_parser deepseek_r1
|
||||||
|
```
|
||||||
|
|
||||||
|
And then you can access it via the openai library:
|
||||||
|
|
||||||
|
```python
|
||||||
|
from openai import OpenAI
|
||||||
|
|
||||||
|
client = OpenAI(
|
||||||
|
base_url="http://localhost:8000/v1",
|
||||||
|
api_key="sk-no-key-required"
|
||||||
|
)
|
||||||
|
|
||||||
|
response = client.chat.completions.create(
|
||||||
|
model="dicta-il/DictaLM-3.0-1.7B-Thinking",
|
||||||
|
messages=[
|
||||||
|
{"role": "user", "content": "Hello, how are you?"}
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
|
print(response.choices[0].message.content)
|
||||||
|
```
|
||||||
|
|
||||||
|
> The reasoning traces should be available in the response structure in the designated fild.
|
||||||
|
|
||||||
|
The model supports tool-calling, enabling integration with external tools and APIs. For example how to use the tool calling, see the [vLLM documentation](https://docs.vllm.ai/en/stable/features/tool_calling/#tool-calling).
|
||||||
|
|
||||||
|
## Citation
|
||||||
|
|
||||||
|
If you use this model, please cite:
|
||||||
|
|
||||||
|
```bibtex
|
||||||
|
@article{Shmidman2025DictaLM3,
|
||||||
|
title={{Dicta-LM 3.0: Advancing The Frontier of Hebrew Sovereign LLMs}},
|
||||||
|
author={Shaltiel Shmidman and Avi Shmidman and Amir DN Cohen and Moshe Koppel},
|
||||||
|
year={2025},
|
||||||
|
publisher={{DICTA / Jerusalem, Israel}},
|
||||||
|
note={https://www.dicta.org.il/publications/DictaLM_3_0___Techincal_Report.pdf}
|
||||||
|
}
|
||||||
|
```
|
||||||
3
imatrix_dict.gguf_file
Normal file
3
imatrix_dict.gguf_file
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d78ba5216b8e72946908e006f11e7403772171ff40b128ff0ad80bcc8f2ecb6a
|
||||||
|
size 2094592
|
||||||
Reference in New Issue
Block a user