tomaarsen HF staff commited on
Commit
5e233c4
1 Parent(s): a5beb1e

Add exported openvino model 'openvino_model.xml'

Browse files

Hello!

*This pull request has been automatically generated from the [Sentence Transformers backend-export](https://huggingface.co/spaces/sentence-transformers/backend-export) Space.*

## Pull Request overview
* Add exported OpenVINO model `openvino_model.xml`.

## Tip:
Consider testing this pull request before merging by loading the model from this PR with the `revision` argument:
```python
from sentence_transformers import SentenceTransformer

# TODO: Fill in the PR number
pr_number = 2
model = SentenceTransformer(
"BAAI/bge-base-en-v1.5",
revision=f"refs/pr/{pr_number}",
backend="openvino",
)

# Verify that everything works as expected
embeddings = model.encode(["The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium."])
print(embeddings.shape)

similarities = model.similarity(embeddings, embeddings)
print(similarities)
```

openvino/openvino_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b90f691cf4d189fb0de383eb8c701765519ff7267abe86bfa9b5a78f13068ea5
3
+ size 435570848
openvino/openvino_model.xml ADDED
The diff for this file is too large to render. See raw diff