Smashyalts
commited on
Commit
•
2393ba7
1
Parent(s):
f437bd1
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: facebook/bart-large-mnli
|
3 |
+
datasets:
|
4 |
+
- multi_nli
|
5 |
+
license: mit
|
6 |
+
pipeline_tag: zero-shot-classification
|
7 |
+
tags:
|
8 |
+
- openvino
|
9 |
+
- openvino-export
|
10 |
+
thumbnail: https://huggingface.co/front/thumbnails/facebook.png
|
11 |
+
---
|
12 |
+
|
13 |
+
This model was converted to OpenVINO from [`facebook/bart-large-mnli`](https://huggingface.co/facebook/bart-large-mnli) using [optimum-intel](https://github.com/huggingface/optimum-intel)
|
14 |
+
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
|
15 |
+
|
16 |
+
First make sure you have optimum-intel installed:
|
17 |
+
|
18 |
+
```bash
|
19 |
+
pip install optimum[openvino]
|
20 |
+
```
|
21 |
+
|
22 |
+
To load your model you can do as follows:
|
23 |
+
|
24 |
+
```python
|
25 |
+
from optimum.intel import OVModelForSequenceClassification
|
26 |
+
|
27 |
+
model_id = "Smashyalts/bart-large-mnli-openvino"
|
28 |
+
model = OVModelForSequenceClassification.from_pretrained(model_id)
|
29 |
+
```
|