Sentence Similarity
sentence-transformers
PyTorch
English
deberta-v2
feature-extraction
Generated from Trainer
dataset_size:869552
loss:CachedGISTEmbedLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use bobox/DeBERTaV3-small-GeneralSentenceTransformer-v3-step1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use bobox/DeBERTaV3-small-GeneralSentenceTransformer-v3-step1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("bobox/DeBERTaV3-small-GeneralSentenceTransformer-v3-step1") sentences = [ "A man in a Santa Claus costume is sitting on a wooden chair holding a microphone and a stringed instrument.", "The man is is near the ball.", "The man is wearing a costume.", "People are having a picnic." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened about 1 year ago
by
SFconvertbot