from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("yahyaabd/allstats-semantic-search-mini-model-v2-2")
# Run inference
sentences = [
'Perdagangan luar negeri, impor, Oktober 2020',
'Indikator Ekonomi November 1999',
'Indikator Ekonomi September 2005',
]
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]
Evaluation
Metrics
Semantic Similarity
Datasets:
allstats-semantic-search-mini-v2-eval
and
allstat-semantic-search-mini-v2-test
@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 yahyaabd allstats-semantic-search-mini-model-v2-2 on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-1
30-day runs
More Information About allstats-semantic-search-mini-model-v2-2 huggingface.co Model
allstats-semantic-search-mini-model-v2-2 huggingface.co is an AI model on huggingface.co that provides allstats-semantic-search-mini-model-v2-2's model effect (), which can be used instantly with this yahyaabd allstats-semantic-search-mini-model-v2-2 model. huggingface.co supports a free trial of the allstats-semantic-search-mini-model-v2-2 model, and also provides paid use of the allstats-semantic-search-mini-model-v2-2. Support call allstats-semantic-search-mini-model-v2-2 model through api, including Node.js, Python, http.
allstats-semantic-search-mini-model-v2-2 huggingface.co is an online trial and call api platform, which integrates allstats-semantic-search-mini-model-v2-2's modeling effects, including api services, and provides a free online trial of allstats-semantic-search-mini-model-v2-2, you can try allstats-semantic-search-mini-model-v2-2 online for free by clicking the link below.
yahyaabd allstats-semantic-search-mini-model-v2-2 online free url in huggingface.co:
allstats-semantic-search-mini-model-v2-2 is an open source model from GitHub that offers a free installation service, and any user can find allstats-semantic-search-mini-model-v2-2 on GitHub to install. At the same time, huggingface.co provides the effect of allstats-semantic-search-mini-model-v2-2 install, users can directly use allstats-semantic-search-mini-model-v2-2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
allstats-semantic-search-mini-model-v2-2 install url in huggingface.co: