Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Qwen/Qwen2.5-0.5B
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
library_name: transformers
|
6 |
+
license: apache-2.0
|
7 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-0.5B/blob/main/LICENSE
|
8 |
+
pipeline_tag: text-generation
|
9 |
+
tags:
|
10 |
+
- openvino
|
11 |
+
- openvino-export
|
12 |
+
---
|
13 |
+
|
14 |
+
This model was converted to OpenVINO from [`Qwen/Qwen2.5-0.5B`](https://huggingface.co/Qwen/Qwen2.5-0.5B) using [optimum-intel](https://github.com/huggingface/optimum-intel)
|
15 |
+
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
|
16 |
+
|
17 |
+
First make sure you have optimum-intel installed:
|
18 |
+
|
19 |
+
```bash
|
20 |
+
pip install optimum[openvino]
|
21 |
+
```
|
22 |
+
|
23 |
+
To load your model you can do as follows:
|
24 |
+
|
25 |
+
```python
|
26 |
+
from optimum.intel import OVModelForCausalLM
|
27 |
+
|
28 |
+
model_id = "piimaila/Qwen2.5-0.5B-openvino"
|
29 |
+
model = OVModelForCausalLM.from_pretrained(model_id)
|
30 |
+
```
|