Sentence Similarity
sentence-transformers
TensorBoard
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:172826
loss:CosineSimilarityLoss
text-embeddings-inference
Instructions to use codersan/validadted_allMiniLM_withCosSimb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use codersan/validadted_allMiniLM_withCosSimb with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("codersan/validadted_allMiniLM_withCosSimb") sentences = [ "How do you make Yahoo your homepage?", "چگونه ویکی پدیا بدون تبلیغ در وب سایت خود درآمد کسب می کند؟", "چگونه می توانم برای امتحان INS 21 آماده شوم؟", "How can I make Yahoo my homepage on my browser?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
a2f5118 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:1c50c58153722d0e978604eb5757787e1bb439a2e1571d8d2ae3e5c3ba7d3599
size 5624
|