CoolFace
Modelpublic

vab46/nomic-embed-text-v1.5_Clinical-Trials_Matryoshka

sourceHugging Faceapache-2.0updated 1mo agoView on Hugging Face
0likes44downloads
Model Card

nomic-embed text-v1.5 Clinical-Trials Matryoshka

This is a sentence-transformers model finetuned from nomic-ai/nomic-embed-text-v1.5 on the dataset from Clinical_trials_anchor-positive-pairs_EmbeddingModel-data. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, classification, clustering, and more.

Model Details

Model Description

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'NomicBertModel'})
  (1): Pooling({'embedding_dimension': 768, 'pooling_mode': 'mean', 'include_prompt': True})
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

bash
pip install -U sentence-transformers

Then you can load this model and run inference.

python
from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("vab46/nomic-embed-text-v1.5_Clinical-Trials_Matryoshka")
# Run inference
documents = [
    "TITLE: Exergames-acceptance and Commitment Therapy(e-ACT) for Breast Cancer Depression and Anxiety: A Randomized Controlled Trial The Efficacy of Exergames-acceptance and Commitment Therapy Program for Treatment of Depression and Other Psychological Complications in Breast Cancer: Comparison With Acceptance and Commitment Therapy Alone and Treatment-as-usual in a Randomized Controlled Trial\nSUMMARY: The goal of this three arm, double-blind, randomized controlled trial is to learn if an exergame-acceptance and commitment therapy (e-ACT) program can treat depression and anxiety in breast cancer patients, compared to acceptance and commitment therapy (ACT) alone and treatment-as-usual. The main question it aims to answer is:\nIs there a difference in the effectiveness of the e-ACT program in reducing depressive and anxiety symptoms, cancer-related fatigue, experiential avoidance, and serum IL-6 levels, while increasing BDNF and improving posttraumatic growth and quality of life among breast cancer patients, compared to ACT alone and treatment-as-usual, measured at baseline, 8 weeks (post-intervention), and 12 weeks after the intervention (follow-up)?\nResearchers will compare the e-ACT group, the ACT-alone group, and the treatment-as-usual group to see if the e-ACT program yields superior outcomes in reducing psychological distress and improving well-being.\nParticipants will:\nBe randomly assigned to one of three groups: (1) e-ACT (exergame + ACT), (2) ACT alone, or (3) treatment-as-usual (general patient education).\nAttend an 8-week program (one session per week) if in the e-ACT or ACT group; the control group continues their usual care.\nComplete questionnaires at three time points (baseline, 8 weeks, and 20 weeks) to assess depression, anxiety, quality of life, posttraumatic growth, valued living, experiential avoidance, and cancer-related fatigue.\nProvide blood samples at pre-intervention and post-intervention (week 8) for analysis of interleukin-6 (IL-6) and brain-derived neurotrophic factor (BDNF) biomarkers.\nThe INCLUSION CRITERIA include:\n1. Newly diagnosed breast cancer patients and patients with recurrent breast cancer confirmed by histopathological report, regardless of the stage of cancer.\n2. Those with HADS score of 8 or higher in both Depression and Anxiety sub-scales of the HADS.\n3. Patients who had been treated with surgery or were undergoing the standard regime of clinical anti-tumor treatment (chemotherapy, radiotherapy, immunotherapy, targeted therapy, etc.).\n4. Age 18 years old and above.\n5. Patients who were able to read and understand written Chinese.\nThe EXCLUSION CRITERIA are:\n1. Pregnant women,considered for the following reasons: Pregnancy involves significant hormonal and physical changes that could affect the participant's response to the e-ACT; the safety of e-ACT to the unborn child was of concern.\n2. Those who have current and lifetime history of engaging in any psychotherapy\n3. Those who consumed alcohol and illicit drugs .\n4. Those who has current and lifetime history of other psychiatric illnesses, such as psychotic disorders (schizophrenia, schizophreniform disorder, schizoaffective disorders, brief psychotic disorder, and delusional disorder), bipolar mood disorder, obsessive compulsive disorder, posttraumatic stress disorder, and attention deficit hyperactive disorder, and autism spectrum disorder\n5. Those who are on medications that can induce psychiatric symptoms, such as cardiovascular agents (clonidine, guanethidine, methyldopa, reserpine, beta blockers), dermatologic agents (isotretinoin), anticonvulsants (levetiracetam), antimigraine medications (triptans), hormonal agents (corticosteroids, oral contraceptives, gonadotropin-releasing hormone agonists, tamoxifen), varenicline, immunological agents (interferons), and levodopa.Or those who ccurrently using any psychotropic medication.\n6. Patient who has suicidal tendency.\n7. those who are physically unfit to answer questionnaires. (those are bed-bound or too weak to answer the questionnaire).",
]
queries = [
    'Could a patient with a history of depression and anxiety, who has been diagnosed with breast cancer, qualify for this study?',
    'I have obesity and high blood pressure, can I participate in this study and what will happen if I join?',
    'How old do you need to be to be eligible for this clinical trial?',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 768] [3, 768]

# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[0.7282, 0.1019, 0.2957]])

<!--

Direct Usage (Transformers)

<details><summary>Click to see the direct usage in Transformers</summary>

</details> -->

<!--

Downstream Usage (Sentence Transformers)

You can finetune this model on your own dataset.

<details><summary>Click to expand</summary>

</details> -->

<!--

Out-of-Scope Use

List how the model may foreseeably be misused and address what users ought not to do with the model. -->

Evaluation

Metrics

Information Retrieval
Metricdim 756dim 512dim 256dim 128dim 64
cosine_accuracy@10.38870.37870.37250.3450.2963
cosine_accuracy@30.51380.51380.49880.470.43
cosine_accuracy@50.56250.55750.53750.5250.4813
cosine_accuracy@100.60620.59880.5850.56750.5288
cosine_precision@10.38870.37870.37250.3450.2963
cosine_precision@30.17130.17130.16630.15670.1433
cosine_precision@50.11250.11150.10750.1050.0963
cosine_precision@100.06060.05990.05850.05670.0529
cosine_recall@10.38870.37870.37250.3450.2963
cosine_recall@30.51380.51380.49880.470.43
cosine_recall@50.56250.55750.53750.5250.4813
cosine_recall@100.60620.59880.5850.56750.5288
cosine_ndcg@10**0.49720.48910.47770.4550.41**
cosine_mrr@100.46230.45380.44340.4190.3722
cosine_map@1000.4670.45890.4490.4250.3788
Comparison with the baseline model performance on same data
metricdimensionsbase_model_valueFT_model_valuediff%change
accuracy@17680.3150.413750.0987531.34920635
accuracy@15120.301250.4150.1137537.7593361
accuracy@12560.286250.39250.1062537.11790393
accuracy@11280.261250.358750.097537.32057416
accuracy@1640.211250.30250.0912543.19526627
accuracy@10640.398750.511250.112528.21316614
accuracy@102560.468750.586250.117525.06666667
accuracy@101280.43750.573750.1362531.14285714
accuracy@107680.503750.598750.09518.85856079
accuracy@105120.50.596250.0962519.25
accuracy@37680.420.526250.1062525.29761905
accuracy@35120.403750.520.1162528.79256966
accuracy@32560.388750.503750.11529.58199357
accuracy@31280.3650.4750.1130.1369863
accuracy@3640.29750.423750.1262542.43697479
accuracy@5640.3450.466250.1212535.14492754
accuracy@52560.430.540.1125.58139535
accuracy@51280.393750.5150.1212530.79365079
accuracy@57680.45750.550.092520.21857923
accuracy@55120.448750.553750.10523.39832869
map@1007680.3820264650.480366080.09833961525.74157148
map@1005120.3706309170.4784537730.10782285729.09170609
map@1002560.3519049340.4595284980.10762356430.58313571
map@1001280.3243958310.4313214360.10692560632.96146109
map@100640.2729532170.3763922870.10343906937.89626304
mrr@102560.3462361110.4546378970.10840178631.3086308
mrr@10640.2669766870.3699707340.10299404838.57791816
mrr@101280.3185084330.4268556550.10834722234.01706553
mrr@105120.3648928570.4738621030.10896924629.8633541
mrr@107680.3764464290.4758526790.0994062526.40647977
ndcg@107680.4071591050.5054566390.09829753524.14229076
ndcg@105120.3973136690.5033151030.10600143326.67953348
ndcg@102560.375770360.486236390.11046603129.39721772
ndcg@101280.3472248320.4620756330.114850833.07678184
ndcg@10640.2983622310.4040663990.10570416835.42813311
precision@1640.211250.30250.0912543.19526627
precision@11280.261250.358750.097537.32057416
precision@12560.286250.39250.1062537.11790393
precision@15120.301250.4150.1137537.7593361
precision@17680.3150.413750.0987531.34920635
precision@107680.0503750.0598750.009518.85856079
precision@105120.050.0596250.00962519.25
precision@102560.0468750.0586250.0117525.06666667
precision@101280.043750.0573750.01362531.14285714
precision@10640.0398750.0511250.0112528.21316614
precision@3640.0991666670.141250.04208333342.43697479
precision@31280.1216666670.1583333330.03666666730.1369863
precision@32560.1295833330.1679166670.03833333329.58199357
precision@35120.1345833330.1733333330.0387528.79256966
precision@37680.140.1754166670.03541666725.29761905
precision@57680.09150.110.018520.21857923
precision@55120.089750.110750.02123.39832869
precision@52560.0860.1080.02225.58139535
precision@51280.078750.1030.0242530.79365079
precision@5640.0690.093250.0242535.14492754
recall@1640.211250.30250.0912543.19526627
recall@11280.261250.358750.097537.32057416
recall@15120.301250.4150.1137537.7593361
recall@17680.3150.413750.0987531.34920635
recall@12560.286250.39250.1062537.11790393
recall@107680.503750.598750.09518.85856079
recall@105120.50.596250.0962519.25
recall@102560.468750.586250.117525.06666667
recall@101280.43750.573750.1362531.14285714
recall@10640.398750.511250.112528.21316614
recall@35120.403750.520.1162528.79256966
recall@37680.420.526250.1062525.29761905
recall@32560.388750.503750.11529.58199357
recall@31280.3650.4750.1130.1369863
recall@3640.29750.423750.1262542.43697479
recall@52560.430.540.1125.58139535
recall@51280.393750.5150.1212530.79365079
recall@57680.45750.550.092520.21857923
recall@55120.448750.553750.10523.39832869
recall@5640.3450.466250.1212535.14492754
AVERAGE30.22854974
VARIANCE43.17916576
ST-DEV6.571085584

<!--

Bias, Risks and Limitations

What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.

  • Currently there are some precision issues particularly due to data noise(document chunks massively large at times).
  • Also there were 4 synthetic anchors(queries) generated from a positive(document).
  • So work in progress to shorten independent portions of document(i.e. from clinical trial records) and creating a mix mapping type between (query -> document), not just many to one relations.
  • Once chunks get more leaner and we have good proportion of one to one alongside many to one(anchor-positive) pair maps, precision shall greatly improve. -->

<!--

Recommendations

What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.

  • For the time being the emv=bedding model is suited to tasks like knowing similarity bewteen a short summary/ Long answer questions mapping with relevant document/output related to dug trials.
  • These embeddings should are highly specific to pubmed , clinical trials related drug R&D tasks; so performance in other domains is subject to evaluation currently. -->

Training Details

Training Dataset

json
  • Dataset: json
  • Size: 7,193 training samples
  • Columns: <code>positive</code> and <code>anchor</code>
  • Approximate statistics based on the first 100 samples: | | positive | anchor | |:---------|:---------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------| | type | string | string | | modality | text | text | | details | <ul><li>min: 271 tokens</li><li>mean: 671.29 tokens</li><li>max: 2110 tokens</li></ul> | <ul><li>min: 10 tokens</li><li>mean: 20.11 tokens</li><li>max: 35 tokens</li></ul> |
  • Samples: | positive | anchor | |:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------| | <code>TITLE: Comparison of Postoperative Analgesic Efficacy of Two Different Blocks in Modified Radical Mastectomy Surgery Comparison of Postoperative Analgesic Efficacy of Superior Posterior Serratus Intercostal Plane Block (SPSIP) and Anterior Serratus Plane Block in Modified Radical Mastectomy Surgery<br>SUMMARY: Postoperative pain following modified radical mastectomy remains a significant clinical challenge and may delay recovery, impair patient comfort, and increase opioid consumption. Ultrasound-guided fascial plane blocks have become an important component of multimodal analgesia for breast surgery. The serratus anterior plane block (SAPB) is an established regional anesthesia technique that provides effective postoperative analgesia. The serratus posterior superior intercostal plane block (SPSIPB) is a recently described interfascial block with promising analgesic effects, but evidence comparing its efficacy with SAPB in breast surgery remains limited.<br>This prospective, randomized, dou...</code> | <code>Is this trial open to male patients?</code> | | <code>TITLE: Masticatory Efficiency, Bite Force, and Patient-Reported Outcomes in Patients Rehabilitated With Complete and Partial Dentures Supported by Teeth, Mini-Implants, or Conventional Implants Masticatory Efficiency, Bite Force, and Patient-Reported Outcomes in Patients Rehabilitated With Conventional Complete Dentures, Conventional Removable Partial Dentures, Mini-Implant-Retained Overdentures, Conventional Implant-Retained Overdentures, and Implant-Assisted Removable Partial Dentures: A Cross-Sectional and Longitudinal Clinical Study<br>SUMMARY: This study aims to evaluate masticatory efficiency, bite force, and patient-reported outcomes in edentulous and partially edentulous patients rehabilitated with different removable prosthodontic treatment modalities. The study includes both cross-sectional and longitudinal components. The cross-sectional component will compare patients wearing conventional complete dentures, conventional removable partial dentures, mini-implant-retained overden...</code> | <code>Could I qualify for this trial if I have a partial denture?</code> | | <code>TITLE: ctDNA-driven Adaptive Proton Craniospinal Irradiation in Non-Small Cell Lung Cancer With Leptomeningeal Metastasis After Resistance to Third-Generation TKIs in the Consolidation Phase Dynamic Adaptive Radiotherapy for Non-Small Cell Lung Cancer With Leptomeningeal Metastasis After Resistance to Third-Generation TKIs in the Consolidation Phase: A Multicenter Randomized Controlled Trial Comparing Outcomes Between Proton Craniospinal Irradiation and Intrathecal Pemetrexed (DART-LM)<br>SUMMARY: \\Brief Summary (English)\\<br>The goal of this clinical trial is to learn if a risk-adaptive consolidation therapy, guided by cerebrospinal fluid (CSF) circulating tumor DNA (ctDNA) clearance kinetics after induction intrathecal pemetrexed, can improve intracranial progression-free survival (iPFS) compared to standard intrathecal pemetrexed consolidation in patients with leptomeningeal metastasis (LM) from EGFR-mutant non-small cell lung cancer (NSCLC) that has progressed on third-generation E...</code> | <code>I have lung cancer that has spread to my brain, can I take part in a trial that uses a special radiation treatment?</code> |
  • Loss: <code>MatryoshkaLoss</code> with these parameters:
json
  {
      "loss": "MultipleNegativesRankingLoss",
      "matryoshka_dims": [
          768,
          512,
          256,
          128,
          64
      ],
      "matryoshka_weights": [
          1,
          1,
          1,
          1,
          1
      ],
      "n_dims_per_step": -1
  }

Training Hyperparameters

Non-Default Hyperparameters
  • per_device_train_batch_size: 4
  • num_train_epochs: 4
  • learning_rate: 2e-05
  • lr_scheduler_type: cosine
  • warmup_steps: 0.1
  • gradient_accumulation_steps: 8
  • fp16: True
  • per_device_eval_batch_size: 32
  • load_best_model_at_end: True
  • batch_sampler: no_duplicates
All Hyperparameters

<details><summary>Click to expand</summary>

  • per_device_train_batch_size: 4
  • num_train_epochs: 4
  • max_steps: -1
  • learning_rate: 2e-05
  • lr_scheduler_type: cosine
  • lr_scheduler_kwargs: None
  • warmup_steps: 0.1
  • optim: adamwtorchfused
  • 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: 8
  • average_tokens_across_devices: True
  • max_grad_norm: 1.0
  • label_smoothing_factor: 0.0
  • bf16: False
  • fp16: True
  • 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: None
  • trackio_bucket_id: None
  • trackio_static_space_id: None
  • per_device_eval_batch_size: 32
  • 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: True
  • ignore_data_skip: False
  • restore_callback_states_from_checkpoint: False
  • full_determinism: False
  • seed: 42
  • data_seed: None
  • use_cpu: False
  • accelerator_config: {'splitbatches': False, 'dispatchbatches': None, 'evenbatches': True, 'useseedablesampler': True, 'nonblocking': False, 'gradientaccumulationkwargs': None}
  • parallelism_config: None
  • dataloader_drop_last: False
  • dataloader_num_workers: 0
  • dataloader_pin_memory: True
  • dataloader_persistent_workers: False
  • dataloader_prefetch_factor: None
  • dataloader_multiprocessing_context: None
  • dataloader_in_order: True
  • 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_static_graph: None
  • ddp_backend: None
  • ddp_timeout: 1800
  • fsdp: None
  • fsdp_config: None
  • deepspeed: None
  • debug: []
  • skip_memory_metrics: True
  • do_predict: False
  • resume_from_checkpoint: None
  • local_rank: -1
  • prompts: None
  • batch_sampler: no_duplicates
  • multi_dataset_batch_sampler: proportional
  • router_mapping: {}
  • learning_rate_mapping: {}
  • warmup_ratio: None

</details>

Training Logs

EpochStepTraining Lossdim_768_cosine_ndcg@10dim_512_cosine_ndcg@10dim_256_cosine_ndcg@10dim_128_cosine_ndcg@10dim_64_cosine_ndcg@10
0.0445104.1210-----
0.0889203.0847-----
0.1334302.5468-----
0.1779402.4293-----
0.2223502.0351-----
0.2668601.9562-----
0.3113701.8560-----
0.3558801.7936-----
0.4002901.4392-----
0.44471001.81190.50520.50240.48550.46160.4034
0.48921101.9161-----
0.53361201.5390-----
0.57811301.2008-----
0.62261401.5791-----
0.66701501.7636-----
0.71151601.8731-----
0.75601701.6094-----
0.80041801.4552-----
0.84491901.3247-----
0.88942001.66840.49500.49510.47290.44310.3967
0.93392101.1478-----
0.97832201.5489-----
1.02222301.1574-----
1.06672401.1790-----
1.11122501.0418-----
1.15562600.9808-----
1.20012701.3452-----
1.24462801.4245-----
1.28902901.1960-----
1.33353001.26130.48880.48400.47020.45000.4001
1.37803101.2790-----
1.42253201.0427-----
1.46693301.4931-----
1.51143400.9111-----
1.55593501.2460-----
1.60033601.2518-----
1.64483701.5406-----
1.68933801.1824-----
1.73373900.8772-----
1.77824001.31370.48840.48240.46870.44010.3959
1.82274101.4667-----
1.86714201.2337-----
1.91164301.3271-----
1.95614401.1768-----
2.04501.2846-----
2.04454600.9551-----
2.08894700.8428-----
2.13344800.8362-----
2.17794900.6628-----
2.22235000.78110.48840.47980.46220.44870.3936
2.26685101.1356-----
2.31135200.7177-----
2.35585300.9575-----
2.40025400.7495-----
2.44475500.9872-----
2.48925600.9362-----
2.53365700.7413-----
2.57815800.9984-----
2.62265900.7781-----
2.66706000.95450.48870.48600.46850.45070.4027
2.71156100.7938-----
2.75606200.7651-----
2.80046301.1165-----
2.84496400.9484-----
2.88946500.9166-----
2.93396600.8746-----
2.97836701.1498-----
3.02226800.7173-----
3.06676901.0119-----
3.11127000.73110.49700.49100.47710.45340.4073
3.15567100.7264-----
3.20017200.6853-----
3.24467300.6763-----
3.28907400.8079-----
3.33357500.6731-----
3.37807600.9650-----
3.42257700.7704-----
3.46697801.0366-----
3.51147900.9004-----
3.55598000.59770.49630.48850.47710.45440.4090
3.60038100.6151-----
3.64488200.8600-----
3.68938300.5171-----
3.73378400.8487-----
3.77828500.5347-----
3.82278600.7020-----
3.86718700.4907-----
3.91168800.5780-----
3.95618900.7386-----
4.09000.82230.49720.48910.47770.45500.4100
  • The bold row denotes the saved checkpoint.

Training Time

  • Training: 1.6 hours

Framework Versions

  • Python: 3.12.13
  • Sentence Transformers: 5.7.0
  • Transformers: 5.15.0
  • PyTorch: 2.11.0+cu128
  • Accelerate: 1.14.0
  • Datasets: 4.0.0
  • Tokenizers: 0.22.2

Additional Resources

Citation

BibTeX

Sentence Transformers
bibtex
@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",
}
MatryoshkaLoss
bibtex
@misc{kusupati2024matryoshka,
    title={Matryoshka Representation Learning},
    author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
    year={2024},
    eprint={2205.13147},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}
MultipleNegativesRankingLoss
bibtex
@misc{oord2019representationlearningcontrastivepredictive,
      title={Representation Learning with Contrastive Predictive Coding},
      author={Aaron van den Oord and Yazhe Li and Oriol Vinyals},
      year={2019},
      eprint={1807.03748},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1807.03748},
}

<!--

Glossary

Clearly define terms in order to be accessible across audiences. -->

<!--

Model Card Authors

Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction. -->

<!--

Model Card Contact

Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors. -->