初始化项目,由ModelHub XC社区提供模型
Model: dicta-il/DictaLM-3.0-Nemotron-12B-Instruct-GGUF Source: Original Platform
This commit is contained in:
41
.gitattributes
vendored
Normal file
41
.gitattributes
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
*.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-Nemotron-12B-Instruct-BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
DictaLM-3.0-Nemotron-12B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
DictaLM-3.0-Nemotron-12B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
DictaLM-3.0-Nemotron-12B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
DictaLM-3.0-Nemotron-12B-Instruct-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-Nemotron-12B-Instruct-BF16.gguf
Normal file
3
DictaLM-3.0-Nemotron-12B-Instruct-BF16.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:485e77d58215ef177afb229e9eda1b874341fef37c4237dd16cc2398e2572223
|
||||||
|
size 24632568544
|
||||||
3
DictaLM-3.0-Nemotron-12B-Instruct-Q4_K_M.gguf
Normal file
3
DictaLM-3.0-Nemotron-12B-Instruct-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ca0af13ef66768ca835fbbdb122959a06fc9d42b23a7b2b2bc38bf75b09ab0e6
|
||||||
|
size 7494495200
|
||||||
3
DictaLM-3.0-Nemotron-12B-Instruct-Q5_K_M.gguf
Normal file
3
DictaLM-3.0-Nemotron-12B-Instruct-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9b20db6d43ecae9b62cd65c522fbd6acad5e14bfe5fa284c9a92e0c30bc554c3
|
||||||
|
size 8764255200
|
||||||
3
DictaLM-3.0-Nemotron-12B-Instruct-Q6_K.gguf
Normal file
3
DictaLM-3.0-Nemotron-12B-Instruct-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5b4f16e49f141f68eeef3c25dd9bc970486c42dd6de3b3f4df59a31a17570040
|
||||||
|
size 10113375200
|
||||||
3
DictaLM-3.0-Nemotron-12B-Instruct-Q8_0.gguf
Normal file
3
DictaLM-3.0-Nemotron-12B-Instruct-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:840cec9832a281f59e93ca43993c264ec99fa1fa9897e5aa61f5d81fc110a9b8
|
||||||
|
size 13094136800
|
||||||
95
README.md
Normal file
95
README.md
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
---
|
||||||
|
license: other
|
||||||
|
license_name: nvidia-open-model-license
|
||||||
|
license_link: >-
|
||||||
|
https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/
|
||||||
|
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 12-billion-parameter Hybrid-SSM instruct model, with full precision (BF16), originally initialized from [NVIDIA-Nemotron-Nano-12B-v2-Base](https://huggingface.co/nvidia/NVIDIA-Nemotron-Nano-12B-v2-Base).
|
||||||
|
|
||||||
|
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-Nemotron-12B-Instruct", trust_remote_code=True)
|
||||||
|
|
||||||
|
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': 'בהחלט! הנה מתכון פשוט למיונז ביתי:\n\nמרכיבים:\n- 1 חלמון ביצה\n- 1 כף חומץ או מיץ לימון\n- 1 כפית מלח\n- 1 כף מים\n- 1 כוס שמן צמחי (לדוגמה, שמן חמניות או שמן צמחי)\n\nהוראות:\n1. בקערה קטנה, שברים את החלמון והחומץ או מיץ הלימון. הוסיפו את המלח והמים וטרפו עד לקבלת תערובת אחידה.\n2. בעזרת בלנדר מוט או מערבל ידני, טפטפו את השמן לאט לתערובת החלמון תוך כדי טריפה מתמדת. חשוב להוסיף את השמן בהדרגה כדי למנוע קריסה של המיונז.\n3. המשיכו להוסיף את השמן עד שכל הכמות נוספה והמיונז התגבש. אם המיונז עדיין דליל מדי, ניתן להוסיף'}
|
||||||
|
```
|
||||||
|
|
||||||
|
### vLLM
|
||||||
|
|
||||||
|
```bash
|
||||||
|
vllm serve dicta-il/DictaLM-3.0-Nemotron-12B-Instruct --enable-auto-tool-choice --tool-call-parser hermes --trust-remote-code
|
||||||
|
```
|
||||||
|
|
||||||
|
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-Nemotron-12B-Instruct",
|
||||||
|
messages=[
|
||||||
|
{"role": "user", "content": "Hello, how are you?"}
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
|
print(response.choices[0].message.content)
|
||||||
|
```
|
||||||
|
|
||||||
|
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:66eef8f613c976b6c72860b619e63a6ff5c53010b08411505f1a345aa9e7f82e
|
||||||
|
size 5100000
|
||||||
Reference in New Issue
Block a user