from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("yahyaabd/allstats-semantic-mpnet")
# Run inference
sentences = [
'Pernikahan usia anak di Indonesia periode 2013-2015',
'Jumlah penduduk Indonesia 2013-2015',
'Indeks Tendensi Bisnis dan Indeks Tendensi Konsumen 2013',
]
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-mpnet-eval
and
allstats-semantic-mpnet-test
Approximate statistics based on the first 1000 samples:
query
doc
label
type
string
string
float
details
min: 4 tokens
mean: 11.38 tokens
max: 46 tokens
min: 4 tokens
mean: 14.48 tokens
max: 67 tokens
min: 0.0
mean: 0.51
max: 1.0
Samples:
query
doc
label
Industri teh Indonesia tahun 2021
Statistik Transportasi Laut 2014
0.1
Tahun berapa data pertumbuhan ekonomi Indonesia tersebut?
Nilai Tukar Petani (NTP) November 2023 sebesar 116,73 atau naik 0,82 persen. Harga Gabah Kering Panen di Tingkat Petani turun 1,94 persen dan Harga Beras Premium di Penggilingan turun 0,91 persen.
@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-mpnet on huggingface.co
3
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
3
30-day runs
More Information About allstats-semantic-mpnet huggingface.co Model
allstats-semantic-mpnet huggingface.co
allstats-semantic-mpnet huggingface.co is an AI model on huggingface.co that provides allstats-semantic-mpnet's model effect (), which can be used instantly with this yahyaabd allstats-semantic-mpnet model. huggingface.co supports a free trial of the allstats-semantic-mpnet model, and also provides paid use of the allstats-semantic-mpnet. Support call allstats-semantic-mpnet model through api, including Node.js, Python, http.
allstats-semantic-mpnet huggingface.co is an online trial and call api platform, which integrates allstats-semantic-mpnet's modeling effects, including api services, and provides a free online trial of allstats-semantic-mpnet, you can try allstats-semantic-mpnet online for free by clicking the link below.
yahyaabd allstats-semantic-mpnet online free url in huggingface.co:
allstats-semantic-mpnet is an open source model from GitHub that offers a free installation service, and any user can find allstats-semantic-mpnet on GitHub to install. At the same time, huggingface.co provides the effect of allstats-semantic-mpnet install, users can directly use allstats-semantic-mpnet installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
allstats-semantic-mpnet install url in huggingface.co: