yahyaabd / allstats-semantic-search-model-v1-3

huggingface.co
Total runs: 133
24-hour runs: 3
7-day runs: 13
30-day runs: 52
Model's Last Updated: January 07 2025
sentence-similarity

Introduction of allstats-semantic-search-model-v1-3

Model Details of allstats-semantic-search-model-v1-3

SentenceTransformer based on sentence-transformers/paraphrase-multilingual-mpnet-base-v2

This is a sentence-transformers model finetuned from sentence-transformers/paraphrase-multilingual-mpnet-base-v2 on the allstats-semantic-search-synthetic-dataset-v1 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.

Model Details
Model Description
Model Sources
Full Model Architecture
SentenceTransformer(
  (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: XLMRobertaModel 
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)
Usage
Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("yahyaabd/allstats-semantic-search-model-v1-3")
# Run inference
sentences = [
    'perubahan nilai tukar petani bulan mei 2017',
    'Perkembangan Nilai Tukar Petani Mei 2017',
    'Statistik Restoran/Rumah Makan Tahun 2014',
]
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
Metric allstats-semantic-search-v1-3-dev allstat-semantic-search-v1-3-test
pearson_cosine 0.9941 0.9943
spearman_cosine 0.9444 0.944
Training Details
Training Dataset
allstats-semantic-search-synthetic-dataset-v1
  • Dataset: allstats-semantic-search-synthetic-dataset-v1 at b13c0a7
  • Size: 212,940 training samples
  • Columns: query , doc , and label
  • Approximate statistics based on the first 1000 samples:
    query doc label
    type string string float
    details
    • min: 5 tokens
    • mean: 11.46 tokens
    • max: 34 tokens
    • min: 5 tokens
    • mean: 14.47 tokens
    • max: 54 tokens
    • min: 0.0
    • mean: 0.5
    • max: 1.05
  • Samples:
    query doc label
    aDta industri besar dan sedang Indonesia 2008 Statistik Industri Besar dan Sedang Indonesia 2008 0.9
    profil bisnis konstruksi individu jawa barat 2022 Statistik Industri Manufaktur Indonesia 2015 - Bahan Baku 0.15
    data statistik ekonomi indonesia Nilai Tukar Valuta Asing di Indonesia 2014 0.08
  • Loss: CosineSimilarityLoss with these parameters:
    {
        "loss_fct": "torch.nn.modules.loss.MSELoss"
    }
    
Evaluation Dataset
allstats-semantic-search-synthetic-dataset-v1
  • Dataset: allstats-semantic-search-synthetic-dataset-v1 at b13c0a7
  • Size: 26,618 evaluation samples
  • Columns: query , doc , and label
  • Approximate statistics based on the first 1000 samples:
    query doc label
    type string string float
    details
    • min: 5 tokens
    • mean: 11.38 tokens
    • max: 34 tokens
    • min: 4 tokens
    • mean: 14.63 tokens
    • max: 55 tokens
    • min: 0.0
    • mean: 0.51
    • max: 1.0
  • Samples:
    query doc label
    tahun berapa ekspor naik 2,37% dan impor naik 30,30%? Bulan November 2006 Ekspor Naik 2,37 % dan Impor Naik 30,30 % 1.0
    Berapa produksi padi pada tahun 2023? Produksi padi tahun lainnya 0.0
    data statistik solus per aqua 2015 Statistik Solus Per Aqua (SPA) 2015 0.97
  • Loss: CosineSimilarityLoss with these parameters:
    {
        "loss_fct": "torch.nn.modules.loss.MSELoss"
    }
    
Training Hyperparameters
Non-Default Hyperparameters
  • eval_strategy : steps
  • per_device_train_batch_size : 32
  • per_device_eval_batch_size : 32
  • num_train_epochs : 8
  • warmup_ratio : 0.1
  • fp16 : True
All Hyperparameters
Click to expand
  • overwrite_output_dir : False
  • do_predict : False
  • eval_strategy : steps
  • prediction_loss_only : True
  • per_device_train_batch_size : 32
  • per_device_eval_batch_size : 32
  • per_gpu_train_batch_size : None
  • per_gpu_eval_batch_size : None
  • gradient_accumulation_steps : 1
  • eval_accumulation_steps : None
  • torch_empty_cache_steps : None
  • learning_rate : 5e-05
  • weight_decay : 0.0
  • adam_beta1 : 0.9
  • adam_beta2 : 0.999
  • adam_epsilon : 1e-08
  • max_grad_norm : 1.0
  • num_train_epochs : 8
  • max_steps : -1
  • lr_scheduler_type : linear
  • lr_scheduler_kwargs : {}
  • warmup_ratio : 0.1
  • warmup_steps : 0
  • log_level : passive
  • log_level_replica : warning
  • log_on_each_node : True
  • logging_nan_inf_filter : True
  • save_safetensors : True
  • save_on_each_node : False
  • save_only_model : False
  • restore_callback_states_from_checkpoint : False
  • no_cuda : False
  • use_cpu : False
  • use_mps_device : False
  • seed : 42
  • data_seed : None
  • jit_mode_eval : False
  • use_ipex : False
  • bf16 : False
  • fp16 : True
  • fp16_opt_level : O1
  • half_precision_backend : auto
  • bf16_full_eval : False
  • fp16_full_eval : False
  • tf32 : None
  • local_rank : 0
  • ddp_backend : None
  • tpu_num_cores : None
  • tpu_metrics_debug : False
  • debug : []
  • dataloader_drop_last : False
  • dataloader_num_workers : 0
  • dataloader_prefetch_factor : None
  • past_index : -1
  • disable_tqdm : False
  • remove_unused_columns : True
  • label_names : None
  • load_best_model_at_end : False
  • ignore_data_skip : False
  • fsdp : []
  • fsdp_min_num_params : 0
  • fsdp_config : {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • fsdp_transformer_layer_cls_to_wrap : None
  • accelerator_config : {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
  • deepspeed : None
  • label_smoothing_factor : 0.0
  • optim : adamw_torch
  • optim_args : None
  • adafactor : False
  • group_by_length : False
  • length_column_name : length
  • ddp_find_unused_parameters : None
  • ddp_bucket_cap_mb : None
  • ddp_broadcast_buffers : False
  • dataloader_pin_memory : True
  • dataloader_persistent_workers : False
  • skip_memory_metrics : True
  • use_legacy_prediction_loop : False
  • push_to_hub : False
  • resume_from_checkpoint : None
  • hub_model_id : None
  • hub_strategy : every_save
  • hub_private_repo : None
  • hub_always_push : False
  • gradient_checkpointing : False
  • gradient_checkpointing_kwargs : None
  • include_inputs_for_metrics : False
  • include_for_metrics : []
  • eval_do_concat_batches : True
  • fp16_backend : auto
  • push_to_hub_model_id : None
  • push_to_hub_organization : None
  • mp_parameters :
  • auto_find_batch_size : False
  • full_determinism : False
  • torchdynamo : None
  • ray_scope : last
  • ddp_timeout : 1800
  • torch_compile : False
  • torch_compile_backend : None
  • torch_compile_mode : None
  • dispatch_batches : None
  • split_batches : None
  • include_tokens_per_second : False
  • include_num_input_tokens_seen : False
  • neftune_noise_alpha : None
  • optim_target_modules : None
  • batch_eval_metrics : False
  • eval_on_start : False
  • use_liger_kernel : False
  • eval_use_gather_object : False
  • average_tokens_across_devices : False
  • prompts : None
  • batch_sampler : batch_sampler
  • multi_dataset_batch_sampler : proportional
Training Logs
Click to expand
Epoch Step Training Loss Validation Loss allstats-semantic-search-v1-3-dev_spearman_cosine allstat-semantic-search-v1-3-test_spearman_cosine
0.0751 500 0.0609 0.0371 0.7097 -
0.1503 1000 0.0331 0.0266 0.7438 -
0.2254 1500 0.0253 0.0212 0.7804 -
0.3005 2000 0.0214 0.0189 0.7771 -
0.3757 2500 0.0204 0.0193 0.7856 -
0.4508 3000 0.0182 0.0167 0.8043 -
0.5259 3500 0.0184 0.0158 0.7940 -
0.6011 4000 0.0164 0.0166 0.7990 -
0.6762 4500 0.0161 0.0162 0.8133 -
0.7513 5000 0.0169 0.0152 0.8000 -
0.8264 5500 0.0164 0.0151 0.8000 -
0.9016 6000 0.0153 0.0180 0.7939 -
0.9767 6500 0.0154 0.0142 0.8168 -
1.0518 7000 0.0127 0.0131 0.8108 -
1.1270 7500 0.0118 0.0130 0.8196 -
1.2021 8000 0.0113 0.0122 0.8241 -
1.2772 8500 0.0112 0.0122 0.8224 -
1.3524 9000 0.0109 0.0120 0.8367 -
1.4275 9500 0.0109 0.0110 0.8319 -
1.5026 10000 0.0109 0.0104 0.8446 -
1.5778 10500 0.0106 0.0106 0.8322 -
1.6529 11000 0.0103 0.0107 0.8414 -
1.7280 11500 0.0099 0.0102 0.8317 -
1.8032 12000 0.0091 0.0097 0.8521 -
1.8783 12500 0.0099 0.0092 0.8425 -
1.9534 13000 0.0088 0.0087 0.8470 -
2.0285 13500 0.0083 0.0083 0.8460 -
2.1037 14000 0.0068 0.0081 0.8602 -
2.1788 14500 0.0068 0.0080 0.8592 -
2.2539 15000 0.0073 0.0079 0.8586 -
2.3291 15500 0.0076 0.0082 0.8552 -
2.4042 16000 0.0065 0.0072 0.8680 -
2.4793 16500 0.0059 0.0075 0.8699 -
2.5545 17000 0.0069 0.0079 0.8655 -
2.6296 17500 0.0063 0.0069 0.8692 -
2.7047 18000 0.0064 0.0073 0.8739 -
2.7799 18500 0.0061 0.0069 0.8694 -
2.8550 19000 0.0054 0.0062 0.8782 -
2.9301 19500 0.0057 0.0063 0.8712 -
3.0053 20000 0.0056 0.0061 0.8821 -
3.0804 20500 0.0043 0.0059 0.8790 -
3.1555 21000 0.0042 0.0059 0.8851 -
3.2307 21500 0.0047 0.0060 0.8805 -
3.3058 22000 0.0047 0.0064 0.8796 -
3.3809 22500 0.0045 0.0056 0.8868 -
3.4560 23000 0.0045 0.0059 0.8863 -
3.5312 23500 0.0044 0.0057 0.8862 -
3.6063 24000 0.0045 0.0058 0.8818 -
3.6814 24500 0.004 0.0055 0.8838 -
3.7566 25000 0.0041 0.0056 0.8934 -
3.8317 25500 0.0044 0.0054 0.8922 -
3.9068 26000 0.0041 0.0052 0.8929 -
3.9820 26500 0.0044 0.0051 0.8955 -
4.0571 27000 0.0038 0.0047 0.8960 -
4.1322 27500 0.0029 0.0047 0.9005 -
4.2074 28000 0.0032 0.0049 0.9046 -
4.2825 28500 0.0031 0.0044 0.9030 -
4.3576 29000 0.0028 0.0044 0.8997 -
4.4328 29500 0.0031 0.0042 0.9060 -
4.5079 30000 0.0031 0.0042 0.9046 -
4.5830 30500 0.0029 0.0042 0.9075 -
4.6582 31000 0.0028 0.0040 0.9112 -
4.7333 31500 0.0029 0.0041 0.9082 -
4.8084 32000 0.003 0.0041 0.9069 -
4.8835 32500 0.0028 0.0040 0.9117 -
4.9587 33000 0.0026 0.0039 0.9143 -
5.0338 33500 0.0027 0.0037 0.9149 -
5.1089 34000 0.0022 0.0036 0.9167 -
5.1841 34500 0.0022 0.0035 0.9153 -
5.2592 35000 0.0023 0.0036 0.9143 -
5.3343 35500 0.0021 0.0034 0.9216 -
5.4095 36000 0.002 0.0034 0.9199 -
5.4846 36500 0.002 0.0034 0.9242 -
5.5597 37000 0.0019 0.0034 0.9220 -
5.6349 37500 0.0022 0.0032 0.9247 -
5.7100 38000 0.0021 0.0033 0.9229 -
5.7851 38500 0.0019 0.0032 0.9238 -
5.8603 39000 0.002 0.0031 0.9250 -
5.9354 39500 0.0018 0.0031 0.9266 -
6.0105 40000 0.0018 0.0030 0.9289 -
6.0856 40500 0.0014 0.0029 0.9293 -
6.1608 41000 0.0016 0.0029 0.9287 -
6.2359 41500 0.0014 0.0028 0.9306 -
6.3110 42000 0.0016 0.0029 0.9316 -
6.3862 42500 0.0014 0.0028 0.9321 -
6.4613 43000 0.0015 0.0027 0.9346 -
6.5364 43500 0.0012 0.0027 0.9351 -
6.6116 44000 0.0014 0.0026 0.9360 -
6.6867 44500 0.0014 0.0027 0.9355 -
6.7618 45000 0.0018 0.0025 0.9358 -
6.8370 45500 0.0012 0.0025 0.9378 -
6.9121 46000 0.0014 0.0024 0.9385 -
6.9872 46500 0.0012 0.0023 0.9395 -
7.0624 47000 0.0011 0.0023 0.9397 -
7.1375 47500 0.001 0.0024 0.9402 -
7.2126 48000 0.0011 0.0023 0.9410 -
7.2878 48500 0.001 0.0024 0.9416 -
7.3629 49000 0.0009 0.0024 0.9418 -
7.4380 49500 0.001 0.0023 0.9423 -
7.5131 50000 0.0011 0.0023 0.9410 -
7.5883 50500 0.001 0.0023 0.9424 -
7.6634 51000 0.0011 0.0022 0.9431 -
7.7385 51500 0.0011 0.0022 0.9433 -
7.8137 52000 0.0009 0.0022 0.9438 -
7.8888 52500 0.001 0.0022 0.9442 -
7.9639 53000 0.001 0.0022 0.9444 -
8.0 53240 - - - 0.9440
Framework Versions
  • Python: 3.10.12
  • Sentence Transformers: 3.3.1
  • Transformers: 4.47.1
  • PyTorch: 2.2.2+cu121
  • Accelerate: 1.2.1
  • Datasets: 3.2.0
  • Tokenizers: 0.21.0
Citation
BibTeX
Sentence Transformers
@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-model-v1-3 on huggingface.co

133
Total runs
3
24-hour runs
3
3-day runs
13
7-day runs
52
30-day runs

More Information About allstats-semantic-search-model-v1-3 huggingface.co Model

allstats-semantic-search-model-v1-3 huggingface.co

allstats-semantic-search-model-v1-3 huggingface.co is an AI model on huggingface.co that provides allstats-semantic-search-model-v1-3's model effect (), which can be used instantly with this yahyaabd allstats-semantic-search-model-v1-3 model. huggingface.co supports a free trial of the allstats-semantic-search-model-v1-3 model, and also provides paid use of the allstats-semantic-search-model-v1-3. Support call allstats-semantic-search-model-v1-3 model through api, including Node.js, Python, http.

allstats-semantic-search-model-v1-3 huggingface.co Url

https://huggingface.co/yahyaabd/allstats-semantic-search-model-v1-3

yahyaabd allstats-semantic-search-model-v1-3 online free

allstats-semantic-search-model-v1-3 huggingface.co is an online trial and call api platform, which integrates allstats-semantic-search-model-v1-3's modeling effects, including api services, and provides a free online trial of allstats-semantic-search-model-v1-3, you can try allstats-semantic-search-model-v1-3 online for free by clicking the link below.

yahyaabd allstats-semantic-search-model-v1-3 online free url in huggingface.co:

https://huggingface.co/yahyaabd/allstats-semantic-search-model-v1-3

allstats-semantic-search-model-v1-3 install

allstats-semantic-search-model-v1-3 is an open source model from GitHub that offers a free installation service, and any user can find allstats-semantic-search-model-v1-3 on GitHub to install. At the same time, huggingface.co provides the effect of allstats-semantic-search-model-v1-3 install, users can directly use allstats-semantic-search-model-v1-3 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

allstats-semantic-search-model-v1-3 install url in huggingface.co:

https://huggingface.co/yahyaabd/allstats-semantic-search-model-v1-3

Url of allstats-semantic-search-model-v1-3

allstats-semantic-search-model-v1-3 huggingface.co Url

Provider of allstats-semantic-search-model-v1-3 huggingface.co

yahyaabd
ORGANIZATIONS

Other API from yahyaabd

huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:January 15 2025