Sentence Similarity
sentence-transformers
Safetensors
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use Youmnaaaa/Semantic-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Youmnaaaa/Semantic-model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Youmnaaaa/Semantic-model") 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] - Transformers
How to use Youmnaaaa/Semantic-model with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Youmnaaaa/Semantic-model") model = AutoModel.from_pretrained("Youmnaaaa/Semantic-model") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d3ad742d66291644abb401f290b7df1a8fb38c55290b7f23eb56816a3280aeef
- Size of remote file:
- 28 kB
- SHA256:
- 6e015ac4e39b105fda4dfdf9921fe3cd4fa1ae1c03cf609be79322cee70a9249
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.