Instructions to use LightEmbed/sentence-t5-base-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use LightEmbed/sentence-t5-base-onnx with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("LightEmbed/sentence-t5-base-onnx") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Add new SentenceTransformer model.
Browse files- model.onnx +2 -2
model.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6980aee61724e688fc8e7a311262cc2d4c6779d6550c78bafdecadb585bc729f
|
| 3 |
+
size 441117149
|