MPNet base trained on Natural Questions pairs
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, 'architecture': '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("tomaarsen/mpnet-base-nq-prompts-hardness-focal-gamma-0.5")
queries = [
"where does the last name francisco come from",
]
documents = [
'Francisco Francisco is the Spanish and Portuguese form of the masculine given name Franciscus (corresponding to English Francis).',
'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]',
'Times Square Times Square is a major commercial intersection, tourist destination, entertainment center and neighborhood in the Midtown Manhattan section of New York City at the junction of Broadway and Seventh Avenue. It stretches from West 42nd to West 47th Streets.[1] Brightly adorned with billboards and advertisements, Times Square is sometimes referred to as "The Crossroads of the World",[2] "The Center of the Universe",[3] "the heart of The Great White Way",[4][5][6] and the "heart of the world".[7] One of the world\'s busiest pedestrian areas,[8] it is also the hub of the Broadway Theater District[9] and a major center of the world\'s entertainment industry.[10] Times Square is one of the world\'s most visited tourist attractions, drawing an estimated 50 million visitors annually.[11] Approximately 330,000 people pass through Times Square daily,[12] many of them tourists,[13] while over 460,000 pedestrians walk through Times Square on its busiest days.[7]',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
Evaluation
Metrics
Information Retrieval
| Metric |
NanoClimateFEVER |
NanoDBPedia |
NanoFEVER |
NanoFiQA2018 |
NanoHotpotQA |
NanoMSMARCO |
NanoNFCorpus |
NanoNQ |
NanoQuoraRetrieval |
NanoSCIDOCS |
NanoArguAna |
NanoSciFact |
NanoTouche2020 |
| cosine_accuracy@1 |
0.3 |
0.56 |
0.48 |
0.26 |
0.6 |
0.34 |
0.38 |
0.4 |
0.82 |
0.38 |
0.24 |
0.44 |
0.4898 |
| cosine_accuracy@3 |
0.46 |
0.82 |
0.7 |
0.46 |
0.68 |
0.54 |
0.48 |
0.58 |
0.9 |
0.52 |
0.58 |
0.56 |
0.8367 |
| cosine_accuracy@5 |
0.56 |
0.9 |
0.76 |
0.54 |
0.68 |
0.7 |
0.5 |
0.74 |
0.98 |
0.58 |
0.8 |
0.7 |
0.9184 |
| cosine_accuracy@10 |
0.74 |
0.92 |
0.82 |
0.66 |
0.74 |
0.76 |
0.62 |
0.78 |
0.98 |
0.68 |
0.92 |
0.74 |
0.9796 |
| cosine_precision@1 |
0.3 |
0.56 |
0.48 |
0.26 |
0.6 |
0.34 |
0.38 |
0.4 |
0.82 |
0.38 |
0.24 |
0.44 |
0.4898 |
| cosine_precision@3 |
0.1733 |
0.48 |
0.24 |
0.2 |
0.3 |
0.18 |
0.2867 |
0.2 |
0.3733 |
0.26 |
0.1933 |
0.2 |
0.5238 |
| cosine_precision@5 |
0.136 |
0.444 |
0.156 |
0.16 |
0.184 |
0.14 |
0.244 |
0.152 |
0.248 |
0.224 |
0.16 |
0.148 |
0.5184 |
| cosine_precision@10 |
0.1 |
0.388 |
0.086 |
0.098 |
0.104 |
0.076 |
0.198 |
0.082 |
0.13 |
0.164 |
0.092 |
0.084 |
0.4163 |
| cosine_recall@1 |
0.1433 |
0.0634 |
0.47 |
0.1459 |
0.3 |
0.34 |
0.0133 |
0.38 |
0.7207 |
0.0797 |
0.24 |
0.405 |
0.0365 |
| cosine_recall@3 |
0.235 |
0.127 |
0.67 |
0.2683 |
0.45 |
0.54 |
0.0504 |
0.56 |
0.872 |
0.1607 |
0.58 |
0.54 |
0.1168 |
| cosine_recall@5 |
0.2933 |
0.1729 |
0.73 |
0.3716 |
0.46 |
0.7 |
0.0619 |
0.7 |
0.9493 |
0.2307 |
0.8 |
0.67 |
0.1883 |
| cosine_recall@10 |
0.41 |
0.2613 |
0.8 |
0.4633 |
0.52 |
0.76 |
0.0971 |
0.74 |
0.9633 |
0.3387 |
0.92 |
0.73 |
0.2776 |
| cosine_ndcg@10 |
0.3282 |
0.4778 |
0.6416 |
0.3526 |
0.5033 |
0.5508 |
0.2446 |
0.574 |
0.8904 |
0.3204 |
0.5733 |
0.5761 |
0.4631 |
| cosine_mrr@10 |
0.4218 |
0.7029 |
0.5984 |
0.3915 |
0.6417 |
0.4833 |
0.4411 |
0.5304 |
0.8747 |
0.4751 |
0.4619 |
0.5362 |
0.6593 |
| cosine_map@100 |
0.2562 |
0.3534 |
0.5924 |
0.2928 |
0.4495 |
0.494 |
0.0861 |
0.5222 |
0.8636 |
0.2525 |
0.466 |
0.5264 |
0.3612 |
Nano BEIR
- Dataset:
NanoBEIR_mean
- Evaluated with
NanoBEIREvaluator with these parameters:{
"dataset_names": [
"climatefever",
"dbpedia",
"fever",
"fiqa2018",
"hotpotqa",
"msmarco",
"nfcorpus",
"nq",
"quoraretrieval",
"scidocs",
"arguana",
"scifact",
"touche2020"
],
"dataset_id": "sentence-transformers/NanoBEIR-en",
"query_prompts": {
"climatefever": "query: ",
"dbpedia": "query: ",
"fever": "query: ",
"fiqa2018": "query: ",
"hotpotqa": "query: ",
"msmarco": "query: ",
"nfcorpus": "query: ",
"nq": "query: ",
"quoraretrieval": "query: ",
"scidocs": "query: ",
"arguana": "query: ",
"scifact": "query: ",
"touche2020": "query: "
},
"corpus_prompts": {
"climatefever": "document: ",
"dbpedia": "document: ",
"fever": "document: ",
"fiqa2018": "document: ",
"hotpotqa": "document: ",
"msmarco": "document: ",
"nfcorpus": "document: ",
"nq": "document: ",
"quoraretrieval": "document: ",
"scidocs": "document: ",
"arguana": "document: ",
"scifact": "document: ",
"touche2020": "document: "
}
}
| Metric |
Value |
| cosine_accuracy@1 |
0.4377 |
| cosine_accuracy@3 |
0.6244 |
| cosine_accuracy@5 |
0.7199 |
| cosine_accuracy@10 |
0.7954 |
| cosine_precision@1 |
0.4377 |
| cosine_precision@3 |
0.2777 |
| cosine_precision@5 |
0.2242 |
| cosine_precision@10 |
0.1553 |
| cosine_recall@1 |
0.2567 |
| cosine_recall@3 |
0.3977 |
| cosine_recall@5 |
0.4868 |
| cosine_recall@10 |
0.5601 |
| cosine_ndcg@10 |
0.4997 |
| cosine_mrr@10 |
0.5552 |
| cosine_map@100 |
0.4243 |
Training Details
Training Dataset
natural-questions
- Dataset: natural-questions at f9e894e
- Size: 99,231 training samples
- Columns:
query and answer
- Approximate statistics based on the first 1000 samples:
|
query |
answer |
| type |
string |
string |
| details |
- min: 10 tokens
- mean: 11.74 tokens
- max: 24 tokens
|
- min: 15 tokens
- mean: 137.2 tokens
- max: 508 tokens
|
- Samples:
| query |
answer |
who is required to report according to the hmda |
Home Mortgage Disclosure Act US financial institutions must report HMDA data to their regulator if they meet certain criteria, such as having assets above a specific threshold. The criteria is different for depository and non-depository institutions and are available on the FFIEC website.[4] In 2012, there were 7,400 institutions that reported a total of 18.7 million HMDA records.[5] |
what is the definition of endoplasmic reticulum in biology |
Endoplasmic reticulum The endoplasmic reticulum (ER) is a type of organelle in eukaryotic cells that forms an interconnected network of flattened, membrane-enclosed sacs or tube-like structures known as cisternae. The membranes of the ER are continuous with the outer nuclear membrane. The endoplasmic reticulum occurs in most types of eukaryotic cells, but is absent from red blood cells and spermatozoa. There are two types of endoplasmic reticulum: rough and smooth. The outer (cytosolic) face of the rough endoplasmic reticulum is studded with ribosomes that are the sites of protein synthesis. The rough endoplasmic reticulum is especially prominent in cells such as hepatocytes. The smooth endoplasmic reticulum lacks ribosomes and functions in lipid manufacture and metabolism, the production of steroid hormones, and detoxification.[1] The smooth ER is especially abundant in mammalian liver and gonad cells. The lacy membranes of the endoplasmic reticulum were first seen in 1945 using elect... |
what does the ski mean in polish names |
Polish name Since the High Middle Ages, Polish-sounding surnames ending with the masculine -ski suffix, including -cki and -dzki, and the corresponding feminine suffix -ska/-cka/-dzka were associated with the nobility (Polish szlachta), which alone, in the early years, had such suffix distinctions.[1] They are widely popular today. |
- Loss:
CachedMultipleNegativesRankingLoss with these parameters:{
"scale": 20.0,
"similarity_fct": "cos_sim",
"mini_batch_size": 16,
"gather_across_devices": false,
"directions": [
"query_to_doc"
],
"partition_mode": "joint",
"hardness_alpha": 0.0,
"hardness_mode": "hard_only",
"focal_gamma": 0.5
}
Evaluation Dataset
natural-questions
- Dataset: natural-questions at f9e894e
- Size: 1,000 evaluation samples
- Columns:
query and answer
- Approximate statistics based on the first 1000 samples:
|
query |
answer |
| type |
string |
string |
| details |
- min: 10 tokens
- mean: 11.78 tokens
- max: 22 tokens
|
- min: 11 tokens
- mean: 135.64 tokens
- max: 512 tokens
|
- Samples:
| query |
answer |
difference between russian blue and british blue cat |
Russian Blue The coat is known as a "double coat", with the undercoat being soft, downy and equal in length to the guard hairs, which are an even blue with silver tips. However, the tail may have a few very dull, almost unnoticeable stripes. The coat is described as thick, plush and soft to the touch. The feeling is softer than the softest silk. The silver tips give the coat a shimmering appearance. Its eyes are almost always a dark and vivid green. Any white patches of fur or yellow eyes in adulthood are seen as flaws in show cats.[3] Russian Blues should not be confused with British Blues (which are not a distinct breed, but rather a British Shorthair with a blue coat as the British Shorthair breed itself comes in a wide variety of colors and patterns), nor the Chartreux or Korat which are two other naturally occurring breeds of blue cats, although they have similar traits. |
who played the little girl on mrs doubtfire |
Mara Wilson Mara Elizabeth Wilson[2] (born July 24, 1987) is an American writer and former child actress. She is known for playing Natalie Hillard in Mrs. Doubtfire (1993), Susan Walker in Miracle on 34th Street (1994), Matilda Wormwood in Matilda (1996) and Lily Stone in Thomas and the Magic Railroad (2000). Since retiring from film acting, Wilson has focused on writing. |
what year did the movie the sound of music come out |
The Sound of Music (film) The film was released on March 2, 1965 in the United States, initially as a limited roadshow theatrical release. Although critical response to the film was widely mixed, the film was a major commercial success, becoming the number one box office movie after four weeks, and the highest-grossing film of 1965. By November 1966, The Sound of Music had become the highest-grossing film of all-time—surpassing Gone with the Wind—and held that distinction for five years. The film was just as popular throughout the world, breaking previous box-office records in twenty-nine countries. Following an initial theatrical release that lasted four and a half years, and two successful re-releases, the film sold 283 million admissions worldwide and earned a total worldwide gross of $286,000,000. |
- Loss:
CachedMultipleNegativesRankingLoss with these parameters:{
"scale": 20.0,
"similarity_fct": "cos_sim",
"mini_batch_size": 16,
"gather_across_devices": false,
"directions": [
"query_to_doc"
],
"partition_mode": "joint",
"hardness_alpha": 0.0,
"hardness_mode": "hard_only",
"focal_gamma": 0.5
}
Training Hyperparameters
Non-Default Hyperparameters
per_device_train_batch_size: 256
num_train_epochs: 1
learning_rate: 2e-05
warmup_steps: 0.1
bf16: True
eval_strategy: steps
per_device_eval_batch_size: 256
seed: 12
prompts: {'query': 'query: ', 'answer': 'document: '}
batch_sampler: no_duplicates
All Hyperparameters
Click to expand
per_device_train_batch_size: 256
num_train_epochs: 1
max_steps: -1
learning_rate: 2e-05
lr_scheduler_type: linear
lr_scheduler_kwargs: None
warmup_steps: 0.1
optim: adamw_torch_fused
optim_args: None
weight_decay: 0.0
adam_beta1: 0.9
adam_beta2: 0.999
adam_epsilon: 1e-08
optim_target_modules: None
gradient_accumulation_steps: 1
average_tokens_across_devices: True
max_grad_norm: 1.0
label_smoothing_factor: 0.0
bf16: True
fp16: False
bf16_full_eval: False
fp16_full_eval: False
tf32: None
gradient_checkpointing: False
gradient_checkpointing_kwargs: None
torch_compile: False
torch_compile_backend: None
torch_compile_mode: None
use_liger_kernel: False
liger_kernel_config: None
use_cache: False
neftune_noise_alpha: None
torch_empty_cache_steps: None
auto_find_batch_size: False
log_on_each_node: True
logging_nan_inf_filter: True
include_num_input_tokens_seen: no
log_level: passive
log_level_replica: warning
disable_tqdm: False
project: huggingface
trackio_space_id: trackio
eval_strategy: steps
per_device_eval_batch_size: 256
prediction_loss_only: True
eval_on_start: False
eval_do_concat_batches: True
eval_use_gather_object: False
eval_accumulation_steps: None
include_for_metrics: []
batch_eval_metrics: False
save_only_model: False
save_on_each_node: False
enable_jit_checkpoint: False
push_to_hub: False
hub_private_repo: None
hub_model_id: None
hub_strategy: every_save
hub_always_push: False
hub_revision: None
load_best_model_at_end: False
ignore_data_skip: False
restore_callback_states_from_checkpoint: False
full_determinism: False
seed: 12
data_seed: None
use_cpu: False
accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
parallelism_config: None
dataloader_drop_last: False
dataloader_num_workers: 0
dataloader_pin_memory: True
dataloader_persistent_workers: False
dataloader_prefetch_factor: None
remove_unused_columns: True
label_names: None
train_sampling_strategy: random
length_column_name: length
ddp_find_unused_parameters: None
ddp_bucket_cap_mb: None
ddp_broadcast_buffers: False
ddp_backend: None
ddp_timeout: 1800
fsdp: []
fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
deepspeed: None
debug: []
skip_memory_metrics: True
do_predict: False
resume_from_checkpoint: None
warmup_ratio: None
local_rank: -1
prompts: {'query': 'query: ', 'answer': 'document: '}
batch_sampler: no_duplicates
multi_dataset_batch_sampler: proportional
router_mapping: {}
learning_rate_mapping: {}
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.0454 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0129 |
5 |
4.8770 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0258 |
10 |
4.6526 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0387 |
15 |
4.0616 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0515 |
20 |
2.7719 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0644 |
25 |
1.4681 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0773 |
30 |
0.8773 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.0902 |
35 |
0.5789 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1031 |
40 |
0.3967 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1160 |
45 |
0.3194 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1289 |
50 |
0.2559 |
0.1787 |
0.2594 |
0.4426 |
0.6403 |
0.3809 |
0.4428 |
0.4486 |
0.1857 |
0.4414 |
0.8719 |
0.3208 |
0.5232 |
0.5114 |
0.4678 |
0.4567 |
| 0.1418 |
55 |
0.1948 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1546 |
60 |
0.2116 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1675 |
65 |
0.2122 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1804 |
70 |
0.1810 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.1933 |
75 |
0.1373 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2062 |
80 |
0.1717 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2191 |
85 |
0.1618 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2320 |
90 |
0.1490 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2448 |
95 |
0.1172 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2577 |
100 |
0.1239 |
0.1002 |
0.3106 |
0.4660 |
0.6606 |
0.3559 |
0.4911 |
0.5091 |
0.2110 |
0.4912 |
0.8966 |
0.3383 |
0.5575 |
0.5161 |
0.4701 |
0.4826 |
| 0.2706 |
105 |
0.1322 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2835 |
110 |
0.1475 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.2964 |
115 |
0.1174 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3093 |
120 |
0.1314 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3222 |
125 |
0.1338 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3351 |
130 |
0.0993 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3479 |
135 |
0.1097 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3608 |
140 |
0.1197 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3737 |
145 |
0.1190 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.3866 |
150 |
0.0970 |
0.0825 |
0.3078 |
0.4698 |
0.6394 |
0.3570 |
0.4834 |
0.5297 |
0.2328 |
0.5159 |
0.8968 |
0.3323 |
0.5669 |
0.5264 |
0.4515 |
0.4854 |
| 0.3995 |
155 |
0.1333 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4124 |
160 |
0.1339 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4253 |
165 |
0.0982 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4381 |
170 |
0.0974 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4510 |
175 |
0.1086 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4639 |
180 |
0.0955 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4768 |
185 |
0.0904 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.4897 |
190 |
0.0865 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5026 |
195 |
0.1060 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5155 |
200 |
0.1069 |
0.0769 |
0.3194 |
0.4741 |
0.6429 |
0.3380 |
0.5011 |
0.5232 |
0.2361 |
0.5329 |
0.8881 |
0.3218 |
0.5598 |
0.5485 |
0.4572 |
0.4879 |
| 0.5284 |
205 |
0.1057 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5412 |
210 |
0.1054 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5541 |
215 |
0.0832 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5670 |
220 |
0.0825 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5799 |
225 |
0.0866 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.5928 |
230 |
0.1067 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6057 |
235 |
0.0999 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6186 |
240 |
0.0863 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6314 |
245 |
0.0822 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6443 |
250 |
0.1050 |
0.0663 |
0.3321 |
0.4684 |
0.6491 |
0.3506 |
0.4934 |
0.5395 |
0.2314 |
0.5368 |
0.8880 |
0.3196 |
0.5774 |
0.5446 |
0.4567 |
0.4914 |
| 0.6572 |
255 |
0.0742 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6701 |
260 |
0.1125 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6830 |
265 |
0.1014 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.6959 |
270 |
0.0853 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7088 |
275 |
0.1067 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7216 |
280 |
0.0905 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7345 |
285 |
0.1011 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7474 |
290 |
0.0832 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7603 |
295 |
0.0998 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7732 |
300 |
0.0812 |
0.0640 |
0.3228 |
0.4743 |
0.6434 |
0.3653 |
0.5023 |
0.5562 |
0.2401 |
0.5580 |
0.8896 |
0.3269 |
0.5697 |
0.5763 |
0.4637 |
0.4991 |
| 0.7861 |
305 |
0.1137 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.7990 |
310 |
0.1136 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8119 |
315 |
0.0776 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8247 |
320 |
0.0890 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8376 |
325 |
0.0898 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8505 |
330 |
0.0713 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8634 |
335 |
0.0715 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8763 |
340 |
0.0761 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.8892 |
345 |
0.0794 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9021 |
350 |
0.0762 |
0.0628 |
0.3205 |
0.4816 |
0.6494 |
0.3516 |
0.5028 |
0.5481 |
0.2483 |
0.5713 |
0.8899 |
0.3217 |
0.5740 |
0.5661 |
0.4623 |
0.4991 |
| 0.9149 |
355 |
0.1053 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9278 |
360 |
0.0984 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9407 |
365 |
0.1060 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9536 |
370 |
0.0865 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9665 |
375 |
0.0847 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9794 |
380 |
0.0810 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| 0.9923 |
385 |
0.0706 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
| -1 |
-1 |
- |
- |
0.3282 |
0.4778 |
0.6416 |
0.3526 |
0.5033 |
0.5508 |
0.2446 |
0.5740 |
0.8904 |
0.3204 |
0.5733 |
0.5761 |
0.4631 |
0.4997 |
Framework Versions
- Python: 3.11.6
- Sentence Transformers: 5.3.0.dev0
- Transformers: 5.3.0.dev0
- PyTorch: 2.10.0+cu126
- Accelerate: 1.12.0
- Datasets: 4.3.0
- Tokenizers: 0.22.2
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}
}