hsuwill000
commited on
Commit
•
e95f4f7
1
Parent(s):
62e4c7f
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: microsoft/Phi-3.5-mini-instruct
|
3 |
+
language:
|
4 |
+
- multilingual
|
5 |
+
library_name: transformers
|
6 |
+
license: mit
|
7 |
+
license_link: https://huggingface.co/microsoft/Phi-3.5-mini-instruct/resolve/main/LICENSE
|
8 |
+
pipeline_tag: text-generation
|
9 |
+
tags:
|
10 |
+
- nlp
|
11 |
+
- code
|
12 |
+
- openvino
|
13 |
+
- openvino-export
|
14 |
+
widget:
|
15 |
+
- messages:
|
16 |
+
- role: user
|
17 |
+
content: Can you provide ways to eat combinations of bananas and dragonfruits?
|
18 |
+
---
|
19 |
+
|
20 |
+
This model was converted to OpenVINO from [`microsoft/Phi-3.5-mini-instruct`](https://huggingface.co/microsoft/Phi-3.5-mini-instruct) using [optimum-intel](https://github.com/huggingface/optimum-intel)
|
21 |
+
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
|
22 |
+
First make sure you have optimum-intel installed:
|
23 |
+
```bash
|
24 |
+
pip install optimum[openvino]
|
25 |
+
```
|
26 |
+
To load your model you can do as follows:
|
27 |
+
```python
|
28 |
+
from optimum.intel import OVModelForCausalLM
|
29 |
+
model_id = "hsuwill000/Phi-3.5-mini-instruct-openvino"
|
30 |
+
model = OVModelForCausalLM.from_pretrained(model_id)
|
31 |
+
```
|