SentenceTransformer based on sentence-transformers/LaBSE
This is a
sentence-transformers
model finetuned from
sentence-transformers/LaBSE
. It maps sentences & paragraphs to a 768-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("sentence_transformers_model_id")
# Run inference
sentences = [
'Вӑл пӗлет: ҫак карапӑн командирӗ ҫамрӑк моряк, ӗлӗк артековец пулнӑскер, хӑйне вӗрентсе ӳстернӗ лагере асра тытса халӗ те тав туса саламлать.',
'Он уже знал, что кораблем этим командует молодой моряк-командир, сам когда-то бывший артековец и поныне хранящий благодарную память о лагере.',
'И разведчики это поняли.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Training Details
Training Dataset
Unnamed Dataset
Size: 1,455,347 training samples
Columns:
sentence_0
,
sentence_1
, and
label
Approximate statistics based on the first 1000 samples:
sentence_0
sentence_1
label
type
string
string
float
details
min: 3 tokens
mean: 22.57 tokens
max: 190 tokens
min: 3 tokens
mean: 22.28 tokens
max: 207 tokens
min: 1.0
mean: 1.0
max: 1.0
Samples:
sentence_0
sentence_1
label
Каяссипе каяс марри ҫинчен шухӑшланӑ ҫӗртех Петян каймалла пулнӑ, мӗншӗн тесен ачасем чылай малалла утнӑ ӗнтӗ.
Так что, когда в страшной борьбе с совестью победа осталась все-таки на стороне Пети, а совесть была окончательно раздавлена, оказалось, что мальчики зашли уже довольно далеко.
@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 lingtrain labse-chuvash-3 on huggingface.co
12
Total runs
0
24-hour runs
1
3-day runs
-1
7-day runs
-8
30-day runs
More Information About labse-chuvash-3 huggingface.co Model
labse-chuvash-3 huggingface.co
labse-chuvash-3 huggingface.co is an AI model on huggingface.co that provides labse-chuvash-3's model effect (), which can be used instantly with this lingtrain labse-chuvash-3 model. huggingface.co supports a free trial of the labse-chuvash-3 model, and also provides paid use of the labse-chuvash-3. Support call labse-chuvash-3 model through api, including Node.js, Python, http.
labse-chuvash-3 huggingface.co is an online trial and call api platform, which integrates labse-chuvash-3's modeling effects, including api services, and provides a free online trial of labse-chuvash-3, you can try labse-chuvash-3 online for free by clicking the link below.
lingtrain labse-chuvash-3 online free url in huggingface.co:
labse-chuvash-3 is an open source model from GitHub that offers a free installation service, and any user can find labse-chuvash-3 on GitHub to install. At the same time, huggingface.co provides the effect of labse-chuvash-3 install, users can directly use labse-chuvash-3 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.