Sentence Similarity
sentence-transformers
ONNX
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:11808
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use REDSOULTM/baxy-router-encoder-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use REDSOULTM/baxy-router-encoder-ft with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("REDSOULTM/baxy-router-encoder-ft") sentences = [ "abre o Netflix", "open a website, URL or web address in a browser; abrir una pagina web, abrir github o un sitio, abrir una direccion como python.org o localhost, navegar a un enlace, open a link in the browser. TAMBIEN: buscar o comprar un producto o juego en una TIENDA WEB (Instant Gaming, Steam store online, Epic Games, GOG, Amazon): ir al sitio de la tienda y buscar ahi el juego; find or buy a game on an online store website, go to the store site and search for the product", "audio volume, raise or lower the sound volume, turn it up or down (subir/bajar el volumen, lauter/leiser machen, alza/abbassa il volume, aumenta/diminui o volume, monter/baisser le volume); mute and unmute the sound (silenciar, desmutear, stummschalten, ton an, couper/rétablir le son, silenciar/reativar o som), system sound, media keys, audio devices listing", "WhatsApp messaging: send a message, REPLY/answer a message, open a chat, mandar/responder/contestar un mensaje por WhatsApp, respondele/contestale a una persona, escribir a alguien en wsp, decirle algo a alguien en whatsapp, mensaje de texto" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
| {"do_lower_case": true, "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "tokenize_chinese_chars": true, "strip_accents": null, "bos_token": "<s>", "eos_token": "</s>", "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "old_models/paraphrase-multilingual-MiniLM-L12-v2/0_Transformer", "tokenizer_class": "PreTrainedTokenizerFast"} |