from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("pritamdeka/assamese-bert-nli-v2")
# Run inference
sentences = [
'A construction worker peeking out of a manhole while his coworker sits on the sidewalk smiling.',
'A worker is looking out of a manhole.',
'The workers are both inside the manhole.',
]
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]
Approximate statistics based on the first 1000 samples:
anchor
positive
negative
type
string
string
string
details
min: 6 tokens
mean: 18.54 tokens
max: 74 tokens
min: 4 tokens
mean: 9.97 tokens
max: 30 tokens
min: 5 tokens
mean: 10.59 tokens
max: 29 tokens
Samples:
anchor
positive
negative
Two women are embracing while holding to go packages.
Two woman are holding packages.
The men are fighting outside a deli.
Two young children in blue jerseys, one with the number 9 and one with the number 2 are standing on wooden steps in a bathroom and washing their hands in a sink.
Two kids in numbered jerseys wash their hands.
Two kids in jackets walk to school.
A man selling donuts to a customer during a world exhibition event held in the city of Angeles
@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 pritamdeka assamese-bert-nli-v2 on huggingface.co
110
Total runs
4
24-hour runs
18
3-day runs
2
7-day runs
13
30-day runs
More Information About assamese-bert-nli-v2 huggingface.co Model
assamese-bert-nli-v2 huggingface.co
assamese-bert-nli-v2 huggingface.co is an AI model on huggingface.co that provides assamese-bert-nli-v2's model effect (), which can be used instantly with this pritamdeka assamese-bert-nli-v2 model. huggingface.co supports a free trial of the assamese-bert-nli-v2 model, and also provides paid use of the assamese-bert-nli-v2. Support call assamese-bert-nli-v2 model through api, including Node.js, Python, http.
assamese-bert-nli-v2 huggingface.co is an online trial and call api platform, which integrates assamese-bert-nli-v2's modeling effects, including api services, and provides a free online trial of assamese-bert-nli-v2, you can try assamese-bert-nli-v2 online for free by clicking the link below.
pritamdeka assamese-bert-nli-v2 online free url in huggingface.co:
assamese-bert-nli-v2 is an open source model from GitHub that offers a free installation service, and any user can find assamese-bert-nli-v2 on GitHub to install. At the same time, huggingface.co provides the effect of assamese-bert-nli-v2 install, users can directly use assamese-bert-nli-v2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
assamese-bert-nli-v2 install url in huggingface.co: