Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup
Paper • 2101.06983 • Published • 2
How to use tomaarsen/multivector-gte-modernbert-base-miriad with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("tomaarsen/multivector-gte-modernbert-base-miriad")
sentences = [
"The weather is lovely today.",
"It's so sunny outside!",
"He drove to the stadium."
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]This is a Multi-Vector Encoder model trained on the miriad-4.4_m-split dataset using the sentence-transformers library. It maps inputs to sequences of 128-dimensional token-level vectors and scores them with late interaction (MaxSim), useful for semantic search with late interaction.
MultiVectorEncoder(
(0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'query_expansion': {'strategy': 'min', 'attend': False, 'token': None, 'length': 32}, 'architecture': 'ModernBertModel'})
(1): Dense({'in_features': 768, 'out_features': 128, 'bias': False, 'activation_function': 'torch.nn.modules.linear.Identity', 'module_input_name': 'token_embeddings', 'module_output_name': 'token_embeddings'})
(2): MultiVectorMask({'skiplist_words': ['!', '"', '#', '$', '%', '&', "'", '(', ')', '*', '+', ',', '-', '.', '/', ':', ';', '<', '=', '>', '?', '@', '[', '\\', ']', '^', '_', '`', '{', '|', '}', '~'], 'keep_only_token_ids': None})
(3): Normalize({'module_input_name': 'token_embeddings', 'module_output_name': 'token_embeddings'})
)
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import MultiVectorEncoder
# Download from the 🤗 Hub
model = MultiVectorEncoder("tomaarsen/multivector-gte-modernbert-base-miriad")
# Run inference: each input becomes a sequence of per-token vectors (variable length).
queries = [
'How does treatment with CZP plus MTX impact disease activity in patients with rheumatoid arthritis?\n',
]
documents = [
"ACR20 response rates were significantly higher with CZP plus MTX than placebo plus MTX at Week 1 (22.9 and 14.3% with CZP 200 mg plus MTX vs 5.6 and 3.3% with placebo plus MTX in the RAPID 1 and 2 trials, respectively) [4, 5] . ACR20 response rates peaked at Week 12 in both studies (63.8 and 62.7% for CZP 200 mg vs 18.3 and 12.7% for placebo in RAPID 1 and 2, respectively; both P < 0.001). At Week 24, ACR20 response rates were 58.8 and 57.3% for patients receiving CZP 200 mg plus MTX, respectively, vs 13.6 and 8.7%. The ITT populations for RAPID 1 and 2 consisted of all patients who were randomized into the studies; the modified ITT population for FAST4WARD consisted of all randomized patients who had taken one or more dose of study medication. Adapted from Mease [21] with permission of Future Medicine Ltd. CV: coefficient of variation; ITT: intention-to-treat; NA: not applicable.\n\n Significantly higher ACR50 and ACR70 response rates for CZP vs placebo groups were seen from Weeks 2 and 4 in RAPID 1, and Weeks 6 and 20 in RAPID 2, respectively. Responses were sustained to the end of the trials (Week 52 in RAPID 1 and Week 24 in RAPID 2; Table 2 ), and were similar in the CZP 400 mg plus MTX groups. CZP treatment also yielded significant improvements in all ACR core component scores, including reductions in swollen and tender joint scores and improvements in both patient's and physician's global assessments of disease activity, by Week 1 that were sustained throughout both studies [4, 5] . Treatment with CZP plus MTX was associated with significantly greater improvements in disease activity from Week 1, as evidenced by DAS-28 (ESR) scores, throughout both trials (P < 0.001 at all time points) [4, 5] . At Week 1, mean change from baseline in DAS-28 was À0.8 with CZP 200 mg and À0.3 with placebo in RAPID 1, and À0.8 with CZP 200 mg and À0.2 with placebo in RAPID 2. Improvements were sustained to the end of both studies (52 or 24 weeks, respectively; Fig. 1 ), and were similar with the CZP 400 mg dose. In RAPID 2, DAS-28 remission was observed in 9.4% of patients treated with CZP 200 mg plus MTX compared with only 0.8% of patients in the placebo group [5] .\n\n Both trials investigated the effects of CZP on the progression of joint damage. In RAPID 1, the mean (S.D.) change in mTSS from baseline to Week 52, which was a co-primary endpoint of the study, was significantly lower in patients receiving CZP 200 mg plus MTX [0.4 (5.7) in the CZP 200 mg group] compared with patients receiving placebo plus MTX [2.8 (7.8); P < 0.001] [4] . The changes were also significantly lower in the CZP plus MTX groups vs the placebo plus MTX group at Week 24 (P < 0.001). At both time points, significantly lower mean changes from baseline in both erosion (Week 24: 0 vs 0.7, Week 52: 0.1 vs 1.5; P < 0. [5] . Patients in the CZP 200 mg group in RAPID 2 also had significantly lower erosion (mean change from baseline: 0.1 vs 0.7) and joint space narrowing (mean change from baseline: 0.1 vs 0.5) subscores (P 4 0.01). Results for patients receiving the 400-mg dose were similar. An analysis of joint damage in patients who withdrew from the trials at Week 16 due to ACR20 non-response at Weeks 12 and 14 (as mandated by the study protocol) found that radiographic progression was inhibited by CZP plus MTX despite the fact that these patients did not meet the threshold for a clinical response [4, 5] .",
'Five minutes after atropine, the R:T ratio increased from 1.15 (0.4) to 1.40 (0.6) (P < 0.01); at 30 min it was 1.51 (0.7) (P < 0.001) and at 60 min it was 1.33 (0.5) (P < 0.05). The R-wave amplitude was not affected by atropine. No changes in heart rate, QTc interval, RSA and R:T ratio occurred after placebo. COMMENT These data show that, in the presence of vagal block by atropine, the QTc interval increased significantly and the T-wave of the ECG was flattened.\n\n We chose a relatively large dose of atropine to ensure parasympathetic block as confirmed by the disappearance of RSA. Day, McComp and Campbell fl] have suggested that QT dispersion (interlead variability) gives an indication of arrythmogenicity and repolarization. We used a single lead V 2 which, according to the same group, provides the closest approximation to maximum QT interval [4] . They also accept the validity of a single lead value for QTc when changes are monitored. The flattened T-wave after atropine in our volunteers probably also reflected irregularity in repolarization.\n\n Atropine has been shown to increase the incidence of cardiac arrhythmia during induction of anaesthesia [3] . In addition, i.v. atropine has been shown to cause ventricular tachycardia in a patient with a prolonged QT interval syndrome [5] . Inhibition of the sympathoadrenal tone by opioids shortens the QTc interval in patients with vagal block. Vagal stimulation protects the heart against arrhythmogenic vulnerability [2] and against prolongation of the QT interval. In our study, the QTc interval was prolonged, probably because sympathoadrenal tone became dominant after parasympathetic block by atropine.\n\n In diabetic patients, vagal denervation develops gradually. Maintenance of remaining borderline vagal function by avoiding anticholinergics may be of value in diabetic patients, as serious cardiac arrhythmia has been described in these patients during anaesthesia and after atropine. Furthermore, ventricular fibrillation after i.v. atropine for bradycardia has been shown to occur in acute myocardial infarction [6] . The routine use of anticholinergics at induction of anaesthesia must be seriously questioned.',
'This occurs since, in the folded state, the dansyl group is encapsulated in the hydrophobic cavity of the β-cyclodextrin ring resulting in a net fluorescence enhancement [99] . As a further development of this work, Riccardi and co-workers have described a tris-conjugated TBA 15 (tris-mTBA), equipped with a dansyl, a β-cyclodextrin and a biotin tag at the ends. This novel design has allowed the incorporation of TBA 15 onto streptavidin-coated NPs, leading to a remarkable increase of its anticoagulant properties. The developed systems have provided the basis for suitable aptamer-based devices for theranostic applications, allowing simultaneously both fluorescence-based detection and modulation of the thrombin activity [101] .\n\n Notably, in addition to the sensing approaches based on conformational switch random coil-G-quadruplex structure, also thrombin-induced changes starting from a hairpin structure are possible if the aptamer is properly engineered. In this context, Hamaguchi et al. have described a TBA 15 elongated at the 5 -end with few nucleotides complementary to the 3 -end and therefore able to adopt a stem-loop structure or hairpin [102] . In addition, the aptamer is equipped with a fluorescent/quencher pair, i.e., a fluorescein and a dabcyl moiety at the 5 -and 3 -end, respectively. In the absence of thrombin, the close proximity between the two reporter groups in the hairpin structure determines fluorescence quenching. After thrombin recognition, the stem-loop structure is destabilized in favour of interactions with the protein. Under these conditions, the fluorescent dye and the quencher are distant, thus allowing a "turn-on" of the fluorescence signal, indicative of the binding with the target molecule ( Figure 7c ).\n\n Alternative approaches for "structure switch signalling aptamers" are reported by Nutiu and Li [103] . Their strategy for designing aptamer-based fluorescent reporters involves structural switches from DNA/DNA duplex to DNA/target complex. In this study, the aptamer beacon consists of a tripartite duplex structure including a 5 -fluorescein-labeled oligomer (FDNA), a 3 -dabcyl-labeled oligomer (QDNA) and a longer oligonucleotide sequence comprising Stem-1 and Stem-2, complementary to FDNA and QDNA, respectively. Stem-2 also contains the TBA 15 sequence in a partial overhang (Figure 8a ). In the absence of the target protein, the aptamer naturally binds to FDNA and QDNA, bringing the fluorophore and the quencher in close proximity and thus completely inhibiting the fluorescence signal. The presence of thrombin triggers the formation of the aptamer-target complex, causing the release of QDNA and fully restoring the fluorescence emission.\n\n Cancers 2017, 9, 174 10 of 43\n\n Notably, in addition to the sensing approaches based on conformational switch random coil-G-quadruplex structure, also thrombin-induced changes starting from a hairpin structure are possible if the aptamer is properly engineered. In this context, Hamaguchi et al. have described a TBA15 elongated at the 5′-end with few nucleotides complementary to the 3′-end and therefore able to adopt a stem-loop structure or hairpin [102] . In addition, the aptamer is equipped with a fluorescent/quencher pair, i.e., a fluorescein and a dabcyl moiety at the 5′-and 3′-end, respectively. In the absence of thrombin, the close proximity between the two reporter groups in the hairpin structure determines fluorescence quenching. After thrombin recognition, the stem-loop structure is destabilized in favour of interactions with the protein. Under these conditions, the fluorescent dye and the quencher are distant, thus allowing a "turn-on" of the fluorescence signal, indicative of the binding with the target molecule ( Figure 7c ).\n\n Alternative approaches for "structure switch signalling aptamers" are reported by Nutiu and Li [103] . Their strategy for designing aptamer-based fluorescent reporters involves structural switches from DNA/DNA duplex to DNA/target complex. In this study, the aptamer beacon consists of a tripartite duplex structure including a 5′-fluorescein-labeled oligomer (FDNA), a 3′-dabcyl-labeled oligomer (QDNA) and a longer oligonucleotide sequence comprising Stem-1 and Stem-2, complementary to FDNA and QDNA, respectively. Stem-2 also contains the TBA15 sequence in a partial overhang (Figure 8a ).',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings[0].shape, document_embeddings[0].shape)
# (32, 128) (814, 128)
# Get the MaxSim similarity scores
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[26.4624, 9.1034, 3.9515]])
miriad_evalMultiVectorInformationRetrievalEvaluator| Metric | Value |
|---|---|
| maxsim_accuracy@1 | 0.974 |
| maxsim_accuracy@3 | 0.99 |
| maxsim_accuracy@5 | 0.995 |
| maxsim_accuracy@10 | 0.997 |
| maxsim_precision@1 | 0.974 |
| maxsim_precision@3 | 0.33 |
| maxsim_precision@5 | 0.199 |
| maxsim_precision@10 | 0.0997 |
| maxsim_recall@1 | 0.974 |
| maxsim_recall@3 | 0.99 |
| maxsim_recall@5 | 0.995 |
| maxsim_recall@10 | 0.997 |
| maxsim_ndcg@10 | 0.9864 |
| maxsim_mrr@10 | 0.9828 |
| maxsim_map@100 | 0.983 |
question and passage_text| question | passage_text | |
|---|---|---|
| type | string | string |
| modality | text | text |
| details |
|
|
| question | passage_text |
|---|---|
What factors may contribute to increased pulmonary conduit durability in patients who undergo the Ross operation compared to those with right ventricular outflow tract obstruction? |
I n 1966, Ross and Somerville 1 reported the first use of an aortic homograft to establish right ventricle-to-pulmonary artery continuity in a patient with tetralogy of Fallot and pulmonary atresia. Since that time, pulmonary position homografts have been used in a variety of right-sided congenital heart lesions. Actuarial 5-year homograft survivals for cryopreserved homografts are reported to range between 55% and 94%, with the shortest durability noted in patients less than 2 years of age. 4 Pulmonary position homografts also are used to replace pulmonary autografts explanted to repair left-sided outflow disease (the Ross operation). Several factors may be likely to favor increased pulmonary conduit durability in Ross patients compared with those with right ventricular outflow tract obstruction, including later age at operation (allowing for larger homografts), more normal pulmonary artery architecture, absence of severe right ventricular hypertrophy, and more natural positioning of ... |
How does MCAM expression in hMSC affect the growth and maintenance of hematopoietic progenitors? |
After culture in a 3-dimensional hydrogel-based matrix, which constitutes hypoxic conditions, MCAM expression is lost. Concordantly, Tormin et al. demonstrated that MCAM is down-regulated under hypoxic conditions. 10 Furthermore, it was shown by others and our group that oxygen tension causes selective modification of hematopoietic cell and mesenchymal stromal cell interactions in co-culture systems as well as influence HSPC metabolism. [44] [45] [46] Thus, the observed differences between Sharma et al. and our data in HSPC supporting capacity of hMSC are likely due to the different culture conditions used. Further studies are required to clarify the influence of hypoxia in our model system. Altogether these findings provide further evidence for the importance of MCAM in supporting HSPC. Furthermore, previous reports have shown that MCAM is down-regulated in MSC after several passages as well as during aging and differentiation. 19, 47 Interestingly, MCAM overexpression in hMSC enhance... |
What is the relationship between Fanconi anemia and breast and ovarian cancer susceptibility genes? |
( 31 ) , of which 5% -10 % may be caused by genetic factors ( 32 ) , up to half a million of these patients may be at risk of secondary hereditary neoplasms. The historic observation of twofold to fi vefold increased risks of cancers of the ovary, thyroid, and connective tissue after breast cancer ( 33 ) presaged the later syndromic association of these tumors with inherited mutations of BRCA1, BRCA2, PTEN, and p53 ( 16 ) . By far the largest cumulative risk of a secondary cancer in BRCA mutation carriers is associated with cancer in the contralateral breast, which may reach a risk of 29.5% at 10 years ( 34 ) . The Breast Cancer Linkage Consortium ( 35 , 36 ) also documented threefold to fi vefold increased risks of subsequent cancers of prostate, pancreas, gallbladder, stomach, skin (melanoma), and uterus in BRCA2 mutation carriers and twofold increased risks of prostate and pancreas cancer in BRCA1 mutation carriers; these results are based largely on self-reported family history inf... |
CachedMultiVectorMultipleNegativesRankingLoss with these parameters:{
"score_metric": "colbert_scores",
"mini_batch_size": 8,
"mini_batch_num_tokens": null,
"score_mini_batch_size": 8,
"scale": 1.0,
"size_average": true,
"gather_across_devices": false
}
per_device_train_batch_size: 128num_train_epochs: 1learning_rate: 3e-05warmup_steps: 0.05bf16: Trueload_best_model_at_end: Truebatch_sampler: no_duplicatesmax_length: 1024per_device_train_batch_size: 128num_train_epochs: 1max_steps: -1learning_rate: 3e-05lr_scheduler_type: linearlr_scheduler_kwargs: Nonewarmup_steps: 0.05optim: adamw_torch_fusedoptim_args: Noneweight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08optim_target_modules: Nonegradient_accumulation_steps: 1average_tokens_across_devices: Truemax_grad_norm: 1.0label_smoothing_factor: 0.0bf16: Truefp16: Falsebf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonegradient_checkpointing: Falsegradient_checkpointing_kwargs: Nonetorch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneuse_liger_kernel: Falseliger_kernel_config: Noneuse_cache: Falseneftune_noise_alpha: Nonetorch_empty_cache_steps: Noneauto_find_batch_size: Falselog_on_each_node: Truelogging_nan_inf_filter: Trueinclude_num_input_tokens_seen: nolog_level: passivelog_level_replica: warningdisable_tqdm: Falseproject: huggingfacetrackio_space_id: Nonetrackio_bucket_id: Nonetrackio_static_space_id: Noneper_device_eval_batch_size: 8prediction_loss_only: Trueeval_on_start: Falseeval_do_concat_batches: Trueeval_use_gather_object: Falseeval_accumulation_steps: Noneinclude_for_metrics: []batch_eval_metrics: Falsesave_only_model: Falsesave_on_each_node: Falseenable_jit_checkpoint: Falsepush_to_hub: Falsehub_private_repo: Nonehub_model_id: Nonehub_strategy: every_savehub_always_push: Falsehub_revision: Noneload_best_model_at_end: Trueignore_data_skip: Falserestore_callback_states_from_checkpoint: Falsefull_determinism: Falseseed: 42data_seed: Noneuse_cpu: Falseaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}parallelism_config: Nonedataloader_drop_last: Falsedataloader_num_workers: 0dataloader_pin_memory: Truedataloader_persistent_workers: Falsedataloader_prefetch_factor: Noneremove_unused_columns: Truelabel_names: Nonetrain_sampling_strategy: randomlength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falseddp_static_graph: Noneddp_backend: Noneddp_timeout: 1800fsdp: Nonefsdp_config: Nonedeepspeed: Nonedebug: []skip_memory_metrics: Truedo_predict: Falseresume_from_checkpoint: Nonewarmup_ratio: Nonelocal_rank: -1prompts: Nonebatch_sampler: no_duplicatesmulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}max_length: 1024| Epoch | Step | Training Loss | miriad_eval_maxsim_ndcg@10 |
|---|---|---|---|
| -1 | -1 | - | 0.9176 |
| 0.005 | 25 | 0.2384 | - |
| 0.01 | 50 | 0.1516 | - |
| 0.015 | 75 | 0.0738 | - |
| 0.02 | 100 | 0.0545 | - |
| 0.025 | 125 | 0.0356 | - |
| 0.03 | 150 | 0.0273 | - |
| 0.035 | 175 | 0.0282 | - |
| 0.04 | 200 | 0.0200 | - |
| 0.045 | 225 | 0.0218 | - |
| 0.05 | 250 | 0.0117 | - |
| 0.055 | 275 | 0.0121 | - |
| 0.06 | 300 | 0.0120 | - |
| 0.065 | 325 | 0.0137 | - |
| 0.07 | 350 | 0.0125 | - |
| 0.075 | 375 | 0.0154 | - |
| 0.08 | 400 | 0.0123 | - |
| 0.085 | 425 | 0.0100 | - |
| 0.09 | 450 | 0.0112 | - |
| 0.095 | 475 | 0.0109 | - |
| 0.1 | 500 | 0.0092 | 0.9788 |
| 0.105 | 525 | 0.0102 | - |
| 0.11 | 550 | 0.0105 | - |
| 0.115 | 575 | 0.0062 | - |
| 0.12 | 600 | 0.0113 | - |
| 0.125 | 625 | 0.0063 | - |
| 0.13 | 650 | 0.0118 | - |
| 0.135 | 675 | 0.0068 | - |
| 0.14 | 700 | 0.0086 | - |
| 0.145 | 725 | 0.0077 | - |
| 0.15 | 750 | 0.0103 | - |
| 0.155 | 775 | 0.0169 | - |
| 0.16 | 800 | 0.0097 | - |
| 0.165 | 825 | 0.0110 | - |
| 0.17 | 850 | 0.0072 | - |
| 0.175 | 875 | 0.0072 | - |
| 0.18 | 900 | 0.0081 | - |
| 0.185 | 925 | 0.0071 | - |
| 0.19 | 950 | 0.0091 | - |
| 0.195 | 975 | 0.0111 | - |
| 0.2 | 1000 | 0.0072 | 0.9794 |
| 0.205 | 1025 | 0.0068 | - |
| 0.21 | 1050 | 0.0076 | - |
| 0.215 | 1075 | 0.0076 | - |
| 0.22 | 1100 | 0.0076 | - |
| 0.225 | 1125 | 0.0146 | - |
| 0.23 | 1150 | 0.0068 | - |
| 0.235 | 1175 | 0.0062 | - |
| 0.24 | 1200 | 0.0094 | - |
| 0.245 | 1225 | 0.0063 | - |
| 0.25 | 1250 | 0.0103 | - |
| 0.255 | 1275 | 0.0070 | - |
| 0.26 | 1300 | 0.0075 | - |
| 0.265 | 1325 | 0.0072 | - |
| 0.27 | 1350 | 0.0053 | - |
| 0.275 | 1375 | 0.0043 | - |
| 0.28 | 1400 | 0.0091 | - |
| 0.285 | 1425 | 0.0092 | - |
| 0.29 | 1450 | 0.0077 | - |
| 0.295 | 1475 | 0.0092 | - |
| 0.3 | 1500 | 0.0064 | 0.9766 |
| 0.305 | 1525 | 0.0069 | - |
| 0.31 | 1550 | 0.0069 | - |
| 0.315 | 1575 | 0.0061 | - |
| 0.32 | 1600 | 0.0070 | - |
| 0.325 | 1625 | 0.0074 | - |
| 0.33 | 1650 | 0.0059 | - |
| 0.335 | 1675 | 0.0069 | - |
| 0.34 | 1700 | 0.0071 | - |
| 0.345 | 1725 | 0.0056 | - |
| 0.35 | 1750 | 0.0082 | - |
| 0.355 | 1775 | 0.0059 | - |
| 0.36 | 1800 | 0.0059 | - |
| 0.365 | 1825 | 0.0072 | - |
| 0.37 | 1850 | 0.0073 | - |
| 0.375 | 1875 | 0.0037 | - |
| 0.38 | 1900 | 0.0072 | - |
| 0.385 | 1925 | 0.0045 | - |
| 0.39 | 1950 | 0.0055 | - |
| 0.395 | 1975 | 0.0062 | - |
| 0.4 | 2000 | 0.0059 | 0.9781 |
| 0.405 | 2025 | 0.0057 | - |
| 0.41 | 2050 | 0.0076 | - |
| 0.415 | 2075 | 0.0034 | - |
| 0.42 | 2100 | 0.0072 | - |
| 0.425 | 2125 | 0.0055 | - |
| 0.43 | 2150 | 0.0086 | - |
| 0.435 | 2175 | 0.0062 | - |
| 0.44 | 2200 | 0.0036 | - |
| 0.445 | 2225 | 0.0061 | - |
| 0.45 | 2250 | 0.0108 | - |
| 0.455 | 2275 | 0.0049 | - |
| 0.46 | 2300 | 0.0079 | - |
| 0.465 | 2325 | 0.0036 | - |
| 0.47 | 2350 | 0.0042 | - |
| 0.475 | 2375 | 0.0072 | - |
| 0.48 | 2400 | 0.0103 | - |
| 0.485 | 2425 | 0.0041 | - |
| 0.49 | 2450 | 0.0048 | - |
| 0.495 | 2475 | 0.0061 | - |
| 0.5 | 2500 | 0.0043 | 0.9821 |
| 0.505 | 2525 | 0.0118 | - |
| 0.51 | 2550 | 0.0078 | - |
| 0.515 | 2575 | 0.0071 | - |
| 0.52 | 2600 | 0.0064 | - |
| 0.525 | 2625 | 0.0048 | - |
| 0.53 | 2650 | 0.0053 | - |
| 0.535 | 2675 | 0.0058 | - |
| 0.54 | 2700 | 0.0042 | - |
| 0.545 | 2725 | 0.0057 | - |
| 0.55 | 2750 | 0.0073 | - |
| 0.555 | 2775 | 0.0040 | - |
| 0.56 | 2800 | 0.0052 | - |
| 0.565 | 2825 | 0.0052 | - |
| 0.57 | 2850 | 0.0049 | - |
| 0.575 | 2875 | 0.0037 | - |
| 0.58 | 2900 | 0.0047 | - |
| 0.585 | 2925 | 0.0042 | - |
| 0.59 | 2950 | 0.0066 | - |
| 0.595 | 2975 | 0.0058 | - |
| 0.6 | 3000 | 0.0067 | 0.9864 |
@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",
}
@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}
}