from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("yahyaabd/allstats-semantic-base-v1")
# Run inference
sentences = [
'analisis kinerja ekspor indonesia feb 2014',
'Buletin Statistik Perdagangan Luar Negeri Ekspor Menurut Kelompok Komoditi dan Negara Februari 2014',
'Laporan Bulanan Data Sosial Ekonomi Januari 2019',
]
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]
Evaluation
Metrics
Semantic Similarity
Datasets:
allstats-semantic-base-v1-eval
and
allstat-semantic-base-v1-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-base-v1 on huggingface.co
1
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About allstats-semantic-base-v1 huggingface.co Model
allstats-semantic-base-v1 huggingface.co
allstats-semantic-base-v1 huggingface.co is an AI model on huggingface.co that provides allstats-semantic-base-v1's model effect (), which can be used instantly with this yahyaabd allstats-semantic-base-v1 model. huggingface.co supports a free trial of the allstats-semantic-base-v1 model, and also provides paid use of the allstats-semantic-base-v1. Support call allstats-semantic-base-v1 model through api, including Node.js, Python, http.
allstats-semantic-base-v1 huggingface.co is an online trial and call api platform, which integrates allstats-semantic-base-v1's modeling effects, including api services, and provides a free online trial of allstats-semantic-base-v1, you can try allstats-semantic-base-v1 online for free by clicking the link below.
yahyaabd allstats-semantic-base-v1 online free url in huggingface.co:
allstats-semantic-base-v1 is an open source model from GitHub that offers a free installation service, and any user can find allstats-semantic-base-v1 on GitHub to install. At the same time, huggingface.co provides the effect of allstats-semantic-base-v1 install, users can directly use allstats-semantic-base-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
allstats-semantic-base-v1 install url in huggingface.co: