This is a
sentence-transformers
model finetuned from
cahya/NusaBert-v1.2
on the
stsb
dataset. 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("cahya/NusaBert-v1.2-sts")
# Run inference
sentences = [
'While Queen may refer to both Queen regent (sovereign) or Queen consort, the King has always been the sovereign.',
'There is a very good reason not to refer to the Queen\'s spouse as "King" - because they aren\'t the King.',
'A man plays the guitar.',
]
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]
@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",
}
Runs of cahya NusaBert-v1.2-sts on huggingface.co
81
Total runs
-3
24-hour runs
-4
3-day runs
-19
7-day runs
-19
30-day runs
More Information About NusaBert-v1.2-sts huggingface.co Model
NusaBert-v1.2-sts huggingface.co
NusaBert-v1.2-sts huggingface.co is an AI model on huggingface.co that provides NusaBert-v1.2-sts's model effect (), which can be used instantly with this cahya NusaBert-v1.2-sts model. huggingface.co supports a free trial of the NusaBert-v1.2-sts model, and also provides paid use of the NusaBert-v1.2-sts. Support call NusaBert-v1.2-sts model through api, including Node.js, Python, http.
NusaBert-v1.2-sts huggingface.co is an online trial and call api platform, which integrates NusaBert-v1.2-sts's modeling effects, including api services, and provides a free online trial of NusaBert-v1.2-sts, you can try NusaBert-v1.2-sts online for free by clicking the link below.
cahya NusaBert-v1.2-sts online free url in huggingface.co:
NusaBert-v1.2-sts is an open source model from GitHub that offers a free installation service, and any user can find NusaBert-v1.2-sts on GitHub to install. At the same time, huggingface.co provides the effect of NusaBert-v1.2-sts install, users can directly use NusaBert-v1.2-sts installed effect in huggingface.co for debugging and trial. It also supports api for free installation.