SentenceTransformer based on Snowflake/snowflake-arctic-embed-m
This is a
sentence-transformers
model finetuned from
Snowflake/snowflake-arctic-embed-m
. 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 = [
'The weather is lovely today.',
"It's so sunny outside!",
'He drove to the stadium.',
]
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 1 samples:
sentence_0
sentence_1
type
string
string
details
min: 27 tokens
mean: 27.0 tokens
max: 27 tokens
min: 65 tokens
mean: 65.0 tokens
max: 65 tokens
Samples:
sentence_0
sentence_1
QUESTION #1: What action must potential registrants take if they fail to reach an agreement with previous registrants?
5.
If there is failure to reach such an agreement, the potential registrant(s) shall inform the Agency and the previous registrant(s) thereof at the earliest one month after receipt, from the Agency, of the name and address of the previous registrant(s).
@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",
}
MatryoshkaLoss
@misc{kusupati2024matryoshka,
title={Matryoshka Representation Learning},
author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
year={2024},
eprint={2205.13147},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
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 amentaphd example on huggingface.co
10
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About example huggingface.co Model
example huggingface.co
example huggingface.co is an AI model on huggingface.co that provides example's model effect (), which can be used instantly with this amentaphd example model. huggingface.co supports a free trial of the example model, and also provides paid use of the example. Support call example model through api, including Node.js, Python, http.
example huggingface.co is an online trial and call api platform, which integrates example's modeling effects, including api services, and provides a free online trial of example, you can try example online for free by clicking the link below.
amentaphd example online free url in huggingface.co:
example is an open source model from GitHub that offers a free installation service, and any user can find example on GitHub to install. At the same time, huggingface.co provides the effect of example install, users can directly use example installed effect in huggingface.co for debugging and trial. It also supports api for free installation.