Sentence Similarity
sentence-transformers
Safetensors
gemma3_text
feature-extraction
dense
Generated from Trainer
dataset_size:1000
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Neelkumar/my-embedding-gemma-1000 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Neelkumar/my-embedding-gemma-1000 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Neelkumar/my-embedding-gemma-1000") sentences = [ "Qu'est-ce qui a motivé le retour de Claude LeBouthilier au Nouveau-Brunswick?", "The driver of a vehicle that is approaching a railway crossing at which a stop sign has been erected shall stop the vehicle within fifteen metres, but not less than five metres, from the nearest rail of the railway.", "Je suis revenu vivre au Nouveau-Brunswick parce que je ne pouvais plus dissocier mon écriture de mon lieu d’origine et de mon existence quotidienne.", "Quelles sont les procédures pour obtenir un passeport canadien?" ] 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!