Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- multilingual
|
| 4 |
+
- ar
|
| 5 |
+
- zh
|
| 6 |
+
- cs
|
| 7 |
+
- da
|
| 8 |
+
- nl
|
| 9 |
+
- en
|
| 10 |
+
- fi
|
| 11 |
+
- fr
|
| 12 |
+
- de
|
| 13 |
+
- he
|
| 14 |
+
- hu
|
| 15 |
+
- it
|
| 16 |
+
- ja
|
| 17 |
+
- ko
|
| 18 |
+
- 'no'
|
| 19 |
+
- pl
|
| 20 |
+
- pt
|
| 21 |
+
- ru
|
| 22 |
+
- es
|
| 23 |
+
- sv
|
| 24 |
+
- th
|
| 25 |
+
- tr
|
| 26 |
+
- uk
|
| 27 |
+
library_name: transformers
|
| 28 |
+
license: mit
|
| 29 |
+
license_link: https://huggingface.co/microsoft/Phi-4-mini-instruct/resolve/main/LICENSE
|
| 30 |
+
pipeline_tag: text-generation
|
| 31 |
+
tags:
|
| 32 |
+
- nlp
|
| 33 |
+
- code
|
| 34 |
+
- openvino
|
| 35 |
+
- openvino-export
|
| 36 |
+
widget:
|
| 37 |
+
- messages:
|
| 38 |
+
- role: user
|
| 39 |
+
content: Can you provide ways to eat combinations of bananas and dragonfruits?
|
| 40 |
+
base_model: microsoft/Phi-4-mini-instruct
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
This model was converted to OpenVINO from [`microsoft/Phi-4-mini-instruct`](https://huggingface.co/microsoft/Phi-4-mini-instruct) using [optimum-intel](https://github.com/huggingface/optimum-intel)
|
| 44 |
+
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
|
| 45 |
+
|
| 46 |
+
First make sure you have optimum-intel installed:
|
| 47 |
+
|
| 48 |
+
```bash
|
| 49 |
+
pip install optimum[openvino]
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
To load your model you can do as follows:
|
| 53 |
+
|
| 54 |
+
```python
|
| 55 |
+
from optimum.intel import OVModelForCausalLM
|
| 56 |
+
|
| 57 |
+
model_id = "Anonymous6598/Phi-4-mini-instruct-openvino"
|
| 58 |
+
model = OVModelForCausalLM.from_pretrained(model_id)
|
| 59 |
+
```
|