tomaarsen HF staff commited on
Commit
9e1b79b
1 Parent(s): 9463408

Add exported onnx model 'model.onnx'

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 ONNX model `model.onnx`.

## 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(
"TencentBAC/Conan-embedding-v1",
revision=f"refs/pr/{pr_number}",
backend="onnx",
)

# 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)
```

Files changed (1) hide show
  1. onnx/model.onnx +3 -0
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5bb3e37c9042659ff2959478f216bd407f5de26385ffe1d9d404545073990f4
3
+ size 1298440934