Sentence Similarity
sentence-transformers
PyTorch
Spanish
roberta
feature-extraction
text-embeddings-inference
Instructions to use ITESM/st_demo_6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ITESM/st_demo_6 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ITESM/st_demo_6") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from ITESM/st_demo_6: direct link, hf CLI and curl.
- Browser
- Download file 2.22 MB
-
https://huggingface.co/ITESM/st_demo_6/resolve/main/tokenizer.json
- Command line
-
hf download hf://ITESM/st_demo_6/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ITESM/st_demo_6/resolve/main/tokenizer.json
2.22 MB
File too large to display, you can check the raw version instead.