Improve language tag
#1
by
lbourdois
- opened
README.md
CHANGED
|
@@ -1,26 +1,38 @@
|
|
| 1 |
-
---
|
| 2 |
-
base_model: Qwen/Qwen2.5-1.5B-Instruct
|
| 3 |
-
language:
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
-
|
| 12 |
-
-
|
| 13 |
-
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-1.5B-Instruct
|
| 3 |
+
language:
|
| 4 |
+
- zho
|
| 5 |
+
- eng
|
| 6 |
+
- fra
|
| 7 |
+
- spa
|
| 8 |
+
- por
|
| 9 |
+
- deu
|
| 10 |
+
- ita
|
| 11 |
+
- rus
|
| 12 |
+
- jpn
|
| 13 |
+
- kor
|
| 14 |
+
- vie
|
| 15 |
+
- tha
|
| 16 |
+
- ara
|
| 17 |
+
library_name: transformers
|
| 18 |
+
license: apache-2.0
|
| 19 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct/blob/main/LICENSE
|
| 20 |
+
pipeline_tag: text-generation
|
| 21 |
+
tags:
|
| 22 |
+
- chat
|
| 23 |
+
- openvino
|
| 24 |
+
- nncf
|
| 25 |
+
- fp16
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
This model is a quantized version of [`Qwen/Qwen2.5-1.5B-Instruct`](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) 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).
|
| 29 |
+
First make sure you have `optimum-intel` installed:
|
| 30 |
+
```bash
|
| 31 |
+
pip install optimum[openvino]
|
| 32 |
+
```
|
| 33 |
+
To load your model you can do as follows:
|
| 34 |
+
```python
|
| 35 |
+
from optimum.intel import OVModelForCausalLM
|
| 36 |
+
model_id = "AIFunOver/Qwen2.5-1.5B-Instruct-openvino-fp16"
|
| 37 |
+
model = OVModelForCausalLM.from_pretrained(model_id)
|
| 38 |
+
```
|