Sentence Similarity
sentence-transformers
Safetensors
Arabic
bert
feature-extraction
dense
retrieval
rag
Generated from Trainer
dataset_size:4038
loss:TripletLoss
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Omartificial-Intelligence-Space/SA-Retrieval-Embeddings-0.2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Omartificial-Intelligence-Space/SA-Retrieval-Embeddings-0.2B with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Omartificial-Intelligence-Space/SA-Retrieval-Embeddings-0.2B") sentences = [ "هذا شخص سعيد", "هذا كلب سعيد", "هذا شخص سعيد جدا", "اليوم هو يوم مشمس" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!