Sentence Similarity
sentence-transformers
PyTorch
TensorBoard
English
deberta-v2
feature-extraction
Generated from Trainer
dataset_size:526885
loss:GISTEmbedLoss
loss:CoSENTLoss
loss:OnlineContrastiveLoss
loss:MultipleNegativesSymmetricRankingLoss
loss:MarginMSELoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use bobox/DeBERTaV3-small-GeneralSentenceTransformer-v2-checkpoints-tmp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use bobox/DeBERTaV3-small-GeneralSentenceTransformer-v2-checkpoints-tmp with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("bobox/DeBERTaV3-small-GeneralSentenceTransformer-v2-checkpoints-tmp") 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
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "[CLS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "[SEP]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "3": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128000": { | |
| "content": "[MASK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "[CLS]", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "do_lower_case": false, | |
| "eos_token": "[SEP]", | |
| "mask_token": "[MASK]", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "sp_model_kwargs": {}, | |
| "split_by_punct": false, | |
| "tokenizer_class": "DebertaV2Tokenizer", | |
| "unk_token": "[UNK]", | |
| "vocab_type": "spm" | |
| } | |