SentenceTransformer based on intfloat/multilingual-e5-small
This is a
sentence-transformers
model finetuned from
intfloat/multilingual-e5-small
. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("agentlans/multilingual-e5-small-aligned")
# Run inference
sentences = [
'What do they think it is that prevents the products of human ingenuity from being themselves, fruits of the tree of life, and hence, in some sense, obeying evolutionary rules?',
'Կարծում եք ի՞նչն է խանգարում, որ մարդկային հնարամտության արդյունքները իրենք էլ լինեն կյանքի ծառի պտուղներ և այդպիսով ինչ-որ իմաստով ենթարկվեն էվոլուցիայի կանոններին:',
'(Smiech) No dobre, idem do Ameriky.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Training Details
Training Dataset
Unnamed Dataset
Size: 867,042 training samples
Columns:
sentence_0
and
sentence_1
Approximate statistics based on the first 1000 samples:
sentence_0
sentence_1
type
string
string
details
min: 3 tokens
mean: 21.83 tokens
max: 177 tokens
min: 4 tokens
mean: 24.92 tokens
max: 229 tokens
Samples:
sentence_0
sentence_1
I like English best of all subjects.
Tykkään englannista eniten kaikista aineista.
We shall offer negotiations. Quite right.
- Oferecer-nos-emos para negociar.
It was soon learned that Zelaya had been taken to Costa Rica, where he continued to call himself as the legal head of state.
Al snel werd bekend dat Zelaya naar Costa Rica was overgebracht, waar hij zich nog steeds het officiële staatshoofd noemde.
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}
MultipleNegativesRankingLoss
@misc{henderson2017efficient,
title={Efficient Natural Language Response Suggestion for Smart Reply},
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
year={2017},
eprint={1705.00652},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Runs of agentlans multilingual-e5-small-aligned on huggingface.co
90
Total runs
-2
24-hour runs
3
3-day runs
-2
7-day runs
33
30-day runs
More Information About multilingual-e5-small-aligned huggingface.co Model
multilingual-e5-small-aligned huggingface.co
multilingual-e5-small-aligned huggingface.co is an AI model on huggingface.co that provides multilingual-e5-small-aligned's model effect (), which can be used instantly with this agentlans multilingual-e5-small-aligned model. huggingface.co supports a free trial of the multilingual-e5-small-aligned model, and also provides paid use of the multilingual-e5-small-aligned. Support call multilingual-e5-small-aligned model through api, including Node.js, Python, http.
multilingual-e5-small-aligned huggingface.co is an online trial and call api platform, which integrates multilingual-e5-small-aligned's modeling effects, including api services, and provides a free online trial of multilingual-e5-small-aligned, you can try multilingual-e5-small-aligned online for free by clicking the link below.
agentlans multilingual-e5-small-aligned online free url in huggingface.co:
multilingual-e5-small-aligned is an open source model from GitHub that offers a free installation service, and any user can find multilingual-e5-small-aligned on GitHub to install. At the same time, huggingface.co provides the effect of multilingual-e5-small-aligned install, users can directly use multilingual-e5-small-aligned installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
multilingual-e5-small-aligned install url in huggingface.co: