mpnet-base trained with prompts on NQ (baseline)
This is a sentence-transformers model finetuned from microsoft/mpnet-base on the natural-questions 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 Type: Sentence Transformer
- Base model: microsoft/mpnet-base
- Maximum Sequence Length: 512 tokens
- Output Dimensionality: 768 dimensions
- Similarity Function: Cosine Similarity
- Training Dataset:
- Language: en
- License: apache-2.0
Model Sources
Full Model Architecture
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: MPNetModel
(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
model = SentenceTransformer("din0s/mpnet-base-nq-prompts-constant-lr")
sentences = [
'query: where does the last name francisco come from',
'document: Francisco Francisco is the Spanish and Portuguese form of the masculine given name Franciscus (corresponding to English Francis).',
'document: Book of Esther The Book of Esther, also known in Hebrew as "the Scroll" (Megillah), is a book in the third section (Ketuvim, "Writings") of the Jewish Tanakh (the Hebrew Bible) and in the Christian Old Testament. It is one of the five Scrolls (Megillot) in the Hebrew Bible. It relates the story of a Hebrew woman in Persia, born as Hadassah but known as Esther, who becomes queen of Persia and thwarts a genocide of her people. The story forms the core of the Jewish festival of Purim, during which it is read aloud twice: once in the evening and again the following morning. The books of Esther and Song of Songs are the only books in the Hebrew Bible that do not explicitly mention God.[2]',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
Evaluation
Metrics
Information Retrieval
- Datasets:
NanoClimateFEVER, NanoDBPedia, NanoFEVER, NanoFiQA2018, NanoHotpotQA, NanoMSMARCO, NanoNFCorpus, NanoNQ, NanoQuoraRetrieval, NanoSCIDOCS, NanoArguAna, NanoSciFact and NanoTouche2020
- Evaluated with
InformationRetrievalEvaluator
| Metric |
NanoClimateFEVER |
NanoDBPedia |
NanoFEVER |
NanoFiQA2018 |
NanoHotpotQA |
NanoMSMARCO |
NanoNFCorpus |
NanoNQ |
NanoQuoraRetrieval |
NanoSCIDOCS |
NanoArguAna |
NanoSciFact |
NanoTouche2020 |
| cosine_accuracy@1 |
0.24 |
0.58 |
0.46 |
0.4 |
0.5 |
0.3 |
0.34 |
0.46 |
0.86 |
0.38 |
0.22 |
0.44 |
0.5918 |
| cosine_accuracy@3 |
0.44 |
0.82 |
0.66 |
0.52 |
0.68 |
0.54 |
0.42 |
0.62 |
0.88 |
0.54 |
0.72 |
0.64 |
0.8571 |
| cosine_accuracy@5 |
0.58 |
0.86 |
0.74 |
0.56 |
0.68 |
0.64 |
0.48 |
0.74 |
0.96 |
0.62 |
0.82 |
0.74 |
0.898 |
| cosine_accuracy@10 |
0.7 |
0.92 |
0.84 |
0.66 |
0.78 |
0.76 |
0.58 |
0.76 |
0.98 |
0.74 |
0.9 |
0.76 |
0.9388 |
| cosine_precision@1 |
0.24 |
0.58 |
0.46 |
0.4 |
0.5 |
0.3 |
0.34 |
0.46 |
0.86 |
0.38 |
0.22 |
0.44 |
0.5918 |
| cosine_precision@3 |
0.1733 |
0.48 |
0.2333 |
0.22 |
0.2733 |
0.18 |
0.2667 |
0.2133 |
0.3667 |
0.2533 |
0.24 |
0.2267 |
0.5306 |
| cosine_precision@5 |
0.136 |
0.436 |
0.156 |
0.168 |
0.184 |
0.128 |
0.224 |
0.152 |
0.24 |
0.216 |
0.164 |
0.16 |
0.4939 |
| cosine_precision@10 |
0.096 |
0.38 |
0.088 |
0.102 |
0.106 |
0.076 |
0.198 |
0.08 |
0.13 |
0.166 |
0.09 |
0.086 |
0.4184 |
| cosine_recall@1 |
0.1033 |
0.0679 |
0.45 |
0.1959 |
0.25 |
0.3 |
0.0215 |
0.44 |
0.7607 |
0.0807 |
0.22 |
0.405 |
0.0417 |
| cosine_recall@3 |
0.235 |
0.1183 |
0.66 |
0.3189 |
0.41 |
0.54 |
0.0383 |
0.59 |
0.852 |
0.1577 |
0.72 |
0.61 |
0.1158 |
| cosine_recall@5 |
0.2917 |
0.1796 |
0.74 |
0.3976 |
0.46 |
0.64 |
0.0477 |
0.7 |
0.9227 |
0.2247 |
0.82 |
0.715 |
0.182 |
| cosine_recall@10 |
0.3907 |
0.2705 |
0.82 |
0.4846 |
0.53 |
0.76 |
0.0703 |
0.72 |
0.9633 |
0.3417 |
0.9 |
0.75 |
0.2812 |
| cosine_ndcg@10 |
0.2995 |
0.4763 |
0.6371 |
0.3938 |
0.4778 |
0.5263 |
0.2308 |
0.589 |
0.9009 |
0.3179 |
0.5675 |
0.6006 |
0.4736 |
| cosine_mrr@10 |
0.3838 |
0.7109 |
0.58 |
0.4733 |
0.5929 |
0.4516 |
0.3975 |
0.5575 |
0.8902 |
0.4792 |
0.4591 |
0.5607 |
0.7087 |
| cosine_map@100 |
0.228 |
0.347 |
0.5796 |
0.3326 |
0.4099 |
0.4617 |
0.0862 |
0.549 |
0.8796 |
0.2454 |
0.4647 |
0.55 |
0.3685 |
Nano BEIR
| Metric |
Value |
| cosine_accuracy@1 |
0.444 |
| cosine_accuracy@3 |
0.6413 |
| cosine_accuracy@5 |
0.7168 |
| cosine_accuracy@10 |
0.7938 |
| cosine_precision@1 |
0.444 |
| cosine_precision@3 |
0.2813 |
| cosine_precision@5 |
0.2198 |
| cosine_precision@10 |
0.1551 |
| cosine_recall@1 |
0.2567 |
| cosine_recall@3 |
0.4128 |
| cosine_recall@5 |
0.4862 |
| cosine_recall@10 |
0.5602 |
| cosine_ndcg@10 |
0.4993 |
| cosine_mrr@10 |
0.5573 |
| cosine_map@100 |
0.4232 |
Training Details
Training Dataset
natural-questions
Evaluation Dataset
natural-questions
Training Hyperparameters
Non-Default Hyperparameters
eval_strategy: steps
per_device_train_batch_size: 256
per_device_eval_batch_size: 256
learning_rate: 2e-05
num_train_epochs: 1
lr_scheduler_type: constant
seed: 12
bf16: True
prompts: {'query': 'query: ', 'answer': 'document: '}
batch_sampler: no_duplicates
All Hyperparameters
Click to expand
overwrite_output_dir: False
do_predict: False
eval_strategy: steps
prediction_loss_only: True
per_device_train_batch_size: 256
per_device_eval_batch_size: 256
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: 2e-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: 1
max_steps: -1
lr_scheduler_type: constant
lr_scheduler_kwargs: {}
warmup_ratio: 0.0
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: 12
data_seed: None
jit_mode_eval: False
use_ipex: False
bf16: True
fp16: False
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: {'query': 'query: ', 'answer': 'document: '}
batch_sampler: no_duplicates
multi_dataset_batch_sampler: proportional
Training Logs
| Epoch |
Step |
Training Loss |
Validation Loss |
NanoClimateFEVER_cosine_ndcg@10 |
NanoDBPedia_cosine_ndcg@10 |
NanoFEVER_cosine_ndcg@10 |
NanoFiQA2018_cosine_ndcg@10 |
NanoHotpotQA_cosine_ndcg@10 |
NanoMSMARCO_cosine_ndcg@10 |
NanoNFCorpus_cosine_ndcg@10 |
NanoNQ_cosine_ndcg@10 |
NanoQuoraRetrieval_cosine_ndcg@10 |
NanoSCIDOCS_cosine_ndcg@10 |
NanoArguAna_cosine_ndcg@10 |
NanoSciFact_cosine_ndcg@10 |
NanoTouche2020_cosine_ndcg@10 |
NanoBEIR_mean_cosine_ndcg@10 |
| -1 |
-1 |
- |
- |
0.0442 |
0.0851 |
0.0326 |
0.0282 |
0.0625 |
0.0708 |
0.0262 |
0.0331 |
0.6747 |
0.0387 |
0.2764 |
0.0617 |
0.0721 |
0.1159 |
| 0.0026 |
1 |
5.0155 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0129 |
5 |
3.8537 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0258 |
10 |
1.6094 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0387 |
15 |
0.9025 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0515 |
20 |
0.5079 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0644 |
25 |
0.4246 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0773 |
30 |
0.4264 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0902 |
35 |
0.2578 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1031 |
40 |
0.2537 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1160 |
45 |
0.2374 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1289 |
50 |
0.2078 |
0.1992 |
0.2778 |
0.4510 |
0.6393 |
0.3868 |
0.4730 |
0.4930 |
0.1996 |
0.4692 |
0.8867 |
0.3254 |
0.5219 |
0.5243 |
0.4703 |
0.4706 |
| 0.1418 |
55 |
0.2205 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1546 |
60 |
0.2145 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1675 |
65 |
0.1644 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1804 |
70 |
0.1611 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1933 |
75 |
0.1602 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2062 |
80 |
0.1732 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2191 |
85 |
0.1874 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2320 |
90 |
0.1623 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2448 |
95 |
0.1469 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2577 |
100 |
0.1517 |
0.1307 |
0.2917 |
0.4817 |
0.6528 |
0.3832 |
0.5037 |
0.5277 |
0.2128 |
0.5294 |
0.9026 |
0.3384 |
0.5649 |
0.5579 |
0.4727 |
0.4938 |
| 0.2706 |
105 |
0.1145 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2835 |
110 |
0.144 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2964 |
115 |
0.1583 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3093 |
120 |
0.1319 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3222 |
125 |
0.1416 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3351 |
130 |
0.1295 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3479 |
135 |
0.1138 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3608 |
140 |
0.1423 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3737 |
145 |
0.143 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3866 |
150 |
0.1319 |
0.1174 |
0.3166 |
0.4549 |
0.6236 |
0.3555 |
0.4693 |
0.5039 |
0.2215 |
0.5243 |
0.9002 |
0.3266 |
0.5736 |
0.5595 |
0.4721 |
0.4847 |
| 0.3995 |
155 |
0.1244 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4124 |
160 |
0.1255 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4253 |
165 |
0.1067 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4381 |
170 |
0.1225 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4510 |
175 |
0.1072 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4639 |
180 |
0.1125 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4768 |
185 |
0.119 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4897 |
190 |
0.1096 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5026 |
195 |
0.1155 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5155 |
200 |
0.1171 |
0.1058 |
0.2964 |
0.4651 |
0.6241 |
0.3638 |
0.4763 |
0.5121 |
0.2213 |
0.5489 |
0.9016 |
0.3253 |
0.5672 |
0.5876 |
0.4722 |
0.4894 |
| 0.5284 |
205 |
0.1264 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5412 |
210 |
0.1168 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5541 |
215 |
0.1198 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5670 |
220 |
0.1354 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5799 |
225 |
0.1187 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5928 |
230 |
0.1074 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6057 |
235 |
0.1026 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6186 |
240 |
0.1236 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6314 |
245 |
0.1059 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6443 |
250 |
0.114 |
0.0979 |
0.3282 |
0.4723 |
0.6592 |
0.3596 |
0.4713 |
0.5196 |
0.2251 |
0.5650 |
0.9010 |
0.3274 |
0.5823 |
0.6016 |
0.4793 |
0.4994 |
| 0.6572 |
255 |
0.103 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6701 |
260 |
0.1253 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6830 |
265 |
0.105 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6959 |
270 |
0.0917 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7088 |
275 |
0.1103 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7216 |
280 |
0.1002 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7345 |
285 |
0.1149 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7474 |
290 |
0.1088 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7603 |
295 |
0.1242 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7732 |
300 |
0.0968 |
0.0901 |
0.3161 |
0.4755 |
0.6567 |
0.3917 |
0.4978 |
0.5183 |
0.2427 |
0.5516 |
0.8967 |
0.3257 |
0.5903 |
0.5891 |
0.4739 |
0.5020 |
| 0.7861 |
305 |
0.0928 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7990 |
310 |
0.104 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8119 |
315 |
0.0869 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8247 |
320 |
0.1004 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8376 |
325 |
0.1109 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8505 |
330 |
0.1028 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8634 |
335 |
0.1007 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8763 |
340 |
0.1149 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8892 |
345 |
0.1077 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9021 |
350 |
0.0846 |
0.0870 |
0.3114 |
0.4608 |
0.6333 |
0.3856 |
0.4752 |
0.5016 |
0.2392 |
0.5967 |
0.9055 |
0.3259 |
0.5651 |
0.5744 |
0.4609 |
0.4950 |
| 0.9149 |
355 |
0.0959 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9278 |
360 |
0.0932 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9407 |
365 |
0.0988 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9536 |
370 |
0.0779 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9665 |
375 |
0.0968 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9794 |
380 |
0.1007 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9923 |
385 |
0.0953 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| -1 |
-1 |
- |
- |
0.2995 |
0.4763 |
0.6371 |
0.3938 |
0.4778 |
0.5263 |
0.2308 |
0.5890 |
0.9009 |
0.3179 |
0.5675 |
0.6006 |
0.4736 |
0.4993 |
Framework Versions
- Python: 3.11.11
- Sentence Transformers: 3.4.1
- Transformers: 4.48.3
- PyTorch: 2.5.1+cu124
- Accelerate: 1.3.0
- Datasets: 3.3.2
- 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",
}
CachedMultipleNegativesRankingLoss
@misc{gao2021scaling,
title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup},
author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan},
year={2021},
eprint={2101.06983},
archivePrefix={arXiv},
primaryClass={cs.LG}
}