Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dense
Generated from Trainer
dataset_size:93755
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use ghost-beard-9942/multilingual-e5-base-custom-finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ghost-beard-9942/multilingual-e5-base-custom-finetune with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ghost-beard-9942/multilingual-e5-base-custom-finetune") sentences = [ "query: Classic Curry Powder Mild 100g", "passage: Products for personal hygiene, body care, grooming, and feminine/infant care — not household cleaning. Shampoo, Conditioner, Duschgel, Seife, Handseife, Körperlotion, Bodylotion. Zahnpasta, Zahnbürste, Mundwasser, Zahnseide. Deo, Deodorant, Antitranspirant, Parfüm, Rasierer, Rasiercreme, Aftershave. Tampons, Binden, Menstruationstasse, Windeln, Babyfeuchttücher, Babycreme. Sonnencreme, Lippenpflege, Gesichtscreme, Akne-Gel, Kondome. shampooing, gel douche, dentifrice, déodorant, champú, gel de ducha, pasta de dientes.", "passage: Liquid fats, vinegars, and ready-made salad dressings used in cooking or as condiments. Olivenöl, Rapsöl, Sonnenblumenöl, Kokosöl, Sesamöl, Leinöl, Trüffelöl, Walnussöl. Apfelessig, Balsamico, Weinessig, Reisessig, Weißweinessig. Salatdressing, Caesar Dressing, Vinaigrette, Joghurt-Dressing. huile d'olive, vinaigre, vinaigrette, aceite de oliva, vinagre, aliño.", "passage: Dry seasonings, herbs, spice blends, and stock products used to flavour cooking — not sauces or fresh herbs. Salz, Pfeffer, Paprikapulver, Chilipulver, Kreuzkümmel, Kurkuma, Curry, Zimt, Muskat, Koriander. Oregano, Basilikum, Thymian, Rosmarin, Lorbeer, Majoran, getrocknete Kräuter, Kräutermischungen. Gemüsebrühe, Hühnerbrühe, Rinderbrühe, Bouillon, Suppenwürze, Maggi, Knorr. épices, herbes séchées, bouillon, condiments, especias, hierbas, caldo." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 349 Bytes
631464a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | [
{
"idx": 0,
"name": "0",
"path": "",
"type": "sentence_transformers.models.Transformer"
},
{
"idx": 1,
"name": "1",
"path": "1_Pooling",
"type": "sentence_transformers.models.Pooling"
},
{
"idx": 2,
"name": "2",
"path": "2_Normalize",
"type": "sentence_transformers.models.Normalize"
}
] |