Sentence Similarity
ONNX
sentence-transformers
light-embed
bert
feature-extraction
text-embeddings-inference
Instructions to use LightEmbed/sbert-all-MiniLM-L6-v2-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use LightEmbed/sbert-all-MiniLM-L6-v2-onnx with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("LightEmbed/sbert-all-MiniLM-L6-v2-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
Commit History
Add new SentenceTransformer model. c3ed879 verified
Add new SentenceTransformer model. 4223aa7 verified
Add new SentenceTransformer model. 3e8c9bf verified
Add new SentenceTransformer model. eb30144 verified
Add new SentenceTransformer model. a0f3972 verified
remove redundant files d792ef7
nguyenthaibinh commited on
Add new SentenceTransformer model. 132ae0e verified
Add new SentenceTransformer model. c0d3062 verified
Add new SentenceTransformer model. 97dea54 verified
Add new SentenceTransformer model. 7b4d389 verified
Add new SentenceTransformer model. 6050c34 verified
add base model name 13a8a84
nguyenthaibinh commited on
fixed typo error 0ee66b4
nguyenthaibinh commited on
add model_info.json 414552d
nguyenthaibinh commited on
changed onnx model file name d828993
nguyenthaibinh commited on
upload json config files 0c4496a
nguyenthaibinh commited on