Sentence Similarity
sentence-transformers
Safetensors
qwen2
feature-extraction
Generated from Trainer
dataset_size:21769
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use am-azadi/KaLM-embedding-multilingual-mini-v1_Fine_Tuned_1e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use am-azadi/KaLM-embedding-multilingual-mini-v1_Fine_Tuned_1e with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("am-azadi/KaLM-embedding-multilingual-mini-v1_Fine_Tuned_1e") sentences = [ "Blooming Canals of Venice, Italy. by: [IG] ", "This comparison shows the values of gasoline in Cádiz and in Gibraltar in 2021 The comparison of fuel prices circulates in Spain at least since 2018", "Genuine image of a Venice canal laden with lotus blossoms The lotus blossoms were digitally inserted into this image by a graphic artist", "PT deputy presented PL for police to carry unloaded weapons Bill \"5439/2022\" for police officers to carry unloaded weapons does not exist" ] 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!