Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Krystalan/DRT-o1-7B
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
- zh
|
| 6 |
+
license: cc-by-nc-sa-4.0
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- machine tranlsation
|
| 10 |
+
- O1-like model
|
| 11 |
+
- Chat
|
| 12 |
+
- openvino
|
| 13 |
+
- nncf
|
| 14 |
+
- 4-bit
|
| 15 |
+
base_model_relation: quantized
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
This model is a quantized version of [`Krystalan/DRT-o1-7B`](https://huggingface.co/Krystalan/DRT-o1-7B) and is converted to the OpenVINO format. This model was obtained via the [nncf-quantization](https://huggingface.co/spaces/echarlaix/nncf-quantization) space with [optimum-intel](https://github.com/huggingface/optimum-intel).
|
| 19 |
+
First make sure you have `optimum-intel` installed:
|
| 20 |
+
```bash
|
| 21 |
+
pip install optimum[openvino]
|
| 22 |
+
```
|
| 23 |
+
To load your model you can do as follows:
|
| 24 |
+
```python
|
| 25 |
+
from optimum.intel import OVModelForCausalLM
|
| 26 |
+
model_id = "AIFunOver/DRT-o1-7B-openvino-4bit"
|
| 27 |
+
model = OVModelForCausalLM.from_pretrained(model_id)
|
| 28 |
+
```
|