Sentence Similarity
sentence-transformers
ONNX
Safetensors
bert
feature-extraction
Generated from Trainer
loss:CosineSimilarityLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Mozilla/smart-tab-embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Mozilla/smart-tab-embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Mozilla/smart-tab-embedding") sentences = [ "Oracle Cloud - Infrastructure and Platform Services for Enterprises", "PulseAudio - Ubuntu Wiki", "Documentation page not found - Read the Docs", "Dwarf Fortress beginner tips - Video Games on Sports Illustrated" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K