sridhariyer
commited on
Commit
•
3dee0ff
1
Parent(s):
88245c7
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: BAAI/bge-reranker-v2-m3
|
3 |
+
language:
|
4 |
+
- multilingual
|
5 |
+
license: apache-2.0
|
6 |
+
pipeline_tag: text-classification
|
7 |
+
tags:
|
8 |
+
- transformers
|
9 |
+
- sentence-transformers
|
10 |
+
- text-embeddings-inference
|
11 |
+
- openvino
|
12 |
+
- openvino-export
|
13 |
+
---
|
14 |
+
|
15 |
+
This model was converted to OpenVINO from [`BAAI/bge-reranker-v2-m3`](https://huggingface.co/BAAI/bge-reranker-v2-m3) using [optimum-intel](https://github.com/huggingface/optimum-intel)
|
16 |
+
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
|
17 |
+
|
18 |
+
First make sure you have optimum-intel installed:
|
19 |
+
|
20 |
+
```bash
|
21 |
+
pip install optimum[openvino]
|
22 |
+
```
|
23 |
+
|
24 |
+
To load your model you can do as follows:
|
25 |
+
|
26 |
+
```python
|
27 |
+
from optimum.intel import OVModelForSequenceClassification
|
28 |
+
|
29 |
+
model_id = "sridhariyer/bge-reranker-v2-m3-openvino"
|
30 |
+
model = OVModelForSequenceClassification.from_pretrained(model_id)
|
31 |
+
```
|