Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Qwen/Qwen2.5-Coder-14B-Instruct
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
library_name: transformers
|
6 |
+
license: apache-2.0
|
7 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-Coder-14B-Instruct/blob/main/LICENSE
|
8 |
+
pipeline_tag: text-generation
|
9 |
+
tags:
|
10 |
+
- code
|
11 |
+
- codeqwen
|
12 |
+
- chat
|
13 |
+
- qwen
|
14 |
+
- qwen-coder
|
15 |
+
- openvino
|
16 |
+
- nncf
|
17 |
+
- fp16
|
18 |
+
---
|
19 |
+
|
20 |
+
This model is a quantized version of [`Qwen/Qwen2.5-Coder-14B-Instruct`](https://huggingface.co/Qwen/Qwen2.5-Coder-14B-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).
|
21 |
+
First make sure you have `optimum-intel` installed:
|
22 |
+
```bash
|
23 |
+
pip install optimum[openvino]
|
24 |
+
```
|
25 |
+
To load your model you can do as follows:
|
26 |
+
```python
|
27 |
+
from optimum.intel import OVModelForCausalLM
|
28 |
+
model_id = "AIFunOver/Qwen2.5-Coder-14B-Instruct-openvino-fp16"
|
29 |
+
model = OVModelForCausalLM.from_pretrained(model_id)
|
30 |
+
```
|