Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
dense
Generated from Trainer
dataset_size:33973
loss:CosineSimilarityLoss
Eval Results (legacy)
Instructions to use afiyarah/gemma-ins-make with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use afiyarah/gemma-ins-make with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("afiyarah/gemma-ins-make") sentences = [ "In the car insurance domain, represent this car make entity in arabic for entity similarity matching: يو دي", "In the car insurance domain, represent this car make entity in arabic and english for entity similarity matching: ppm", "In the car insurance domain, represent this car make entity in arabic for entity similarity matching: إس دي إل جي", "In the car insurance domain, represent this car make entity in arabic for entity similarity matching: كارد نر" ] 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!