SentenceTransformer based on intfloat/e5-small-unsupervised
This is a sentence-transformers model finetuned from intfloat/e5-small-unsupervised on the miriad-4.4_m-split dataset. It maps inputs to a 384-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 Type: Sentence Transformer
- Base model: intfloat/e5-small-unsupervised
- Maximum Sequence Length: 512 tokens
- Output Dimensionality: 384 dimensions
- Similarity Function: Cosine Similarity
- Supported Modality: Text
- Training Dataset:
- miriad-4.4_m-split
Model Sources
- Documentation: Sentence Transformers Documentation
- Repository: Sentence Transformers on GitHub
- Hugging Face: Sentence Transformers on Hugging Face
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': 'BertModel'})
(1): Pooling({'embedding_dimension': 384, 'pooling_mode': 'mean', 'include_prompt': True})
(2): Normalize({'module_input_name': 'sentence_embedding', 'module_output_name': 'sentence_embedding'})
)
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("much1na/e5-small-medical-ckpt")
# Run inference
queries = [
'What are the potential target genes of the downregulated miR-376b-3p?\n',
]
documents = [
'The potential target gene of the downregulated miR-376b-3p is Caspase-3, which is a protein involved in apoptosis.',
'Factors associated with AIDS-defining events in HIV-positive patients include persistent fever, duration of symptoms longer than 6 weeks, and delay in HIV diagnosis.',
'The goals in the management of facial lacerations are to close the wound and avoid infection, as well as to reduce scarring in order to prevent long-term cosmetic and psychological sequelae.',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 384] [3, 384]
# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[0.9480, 0.3394, 0.3731]])
Evaluation
Metrics
Information Retrieval
- Dataset:
medical-qa-dev - Evaluated with InformationRetrievalEvaluator with these parameters:
{ "query_prompt": "Represent the query for retrieving supporting documents: ", "corpus_prompt": "Represent the document for retrieval: " }
| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.4829 |
| cosine_accuracy@3 | 0.6973 |
| cosine_accuracy@5 | 0.7666 |
| cosine_accuracy@10 | 0.8301 |
| cosine_precision@1 | 0.4829 |
| cosine_precision@3 | 0.2324 |
| cosine_precision@5 | 0.1533 |
| cosine_precision@10 | 0.083 |
| cosine_recall@1 | 0.4829 |
| cosine_recall@3 | 0.6973 |
| cosine_recall@5 | 0.7666 |
| cosine_recall@10 | 0.8301 |
| cosine_ndcg@10 | 0.6586 |
| cosine_mrr@10 | 0.6033 |
| cosine_map@100 | 0.6078 |
Training Details
Training Dataset
miriad-4.4_m-split
- Dataset: miriad-4.4_m-split
- Size: 4,467,542 training samples
- Columns: question and answer
- Approximate statistics based on the first 100 samples:
question answer type string string modality text text details min: 12 tokensmean: 23.82 tokensmax: 71 tokens min: 37 tokensmean: 106.33 tokensmax: 203 tokens - Samples:
question answer 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? Several factors may contribute to increased pulmonary conduit durability in patients who undergo the Ross operation compared to those with right ventricular outflow tract obstruction. These factors include later age at operation (allowing for larger homografts), more normal pulmonary artery architecture, absence of severe right ventricular hypertrophy, and more natural positioning of the homograft. However, further systematic studies are needed to confirm these associations. How does MCAM expression in hMSC affect the growth and maintenance of hematopoietic progenitors? MCAM expression in hMSC has been shown to support the growth of hematopoietic progenitors. It enhances the adhesion and migration of HSPC, potentially through direct cell-cell interactions. However, the putative interaction partner of MCAM on HSPC remains unknown. Additionally, MCAM expression in hMSC does not seem to regulate the expression or secretion of SDF-1, a key factor in HSPC homing and maintenance. What is the relationship between Fanconi anemia and breast and ovarian cancer susceptibility genes? Fanconi anemia is a rare, autosomal recessive syndrome characterized by chromosomal instability, cancer susceptibility, and hypersensitivity to DNA cross-linking agents. It has been found that all known Fanconi anemia proteins cooperate with breast and/or ovarian cancer susceptibility gene products (BRCA1 and BRCA2) in a pathway required for cellular resistance to DNA cross-linking agents. This pathway, known as the "Fanconi anemia-BRCA pathway," is a DNA damage-activated signaling pathway that controls DNA repair. Methylation of one of the Fanconi anemia genes, FANCF, can lead to the inactivation of this pathway in breast and ovarian cancer, suggesting its importance in human carcinogenesis. - Loss: CachedGISTEmbedLoss with these parameters:
{ "guide": "SentenceTransformer('abhinand/MedEmbed-small-v0.1')", "temperature": 0.01, "mini_batch_size": 64, "mini_batch_num_tokens": null, "margin_strategy": "absolute", "margin": 0.05, "contrast_anchors": true, "contrast_positives": true, "gather_across_devices": false }
Evaluation Dataset
miriad-4.4_m-split
- Dataset: miriad-4.4_m-split
- Size: 10,000 evaluation samples
- Columns: question and answer
- Approximate statistics based on the first 100 samples:
question answer type string string modality text text details min: 11 tokensmean: 24.9 tokensmax: 74 tokens min: 41 tokensmean: 104.95 tokensmax: 242 tokens - Samples:
question answer What are some hereditary cancer syndromes that can result in various forms of cancer? Hereditary cancer syndromes, such as Hereditary Breast and Ovarian Cancer (HBOC) and Lynch Syndrome (LS), can result in various forms of cancer due to germline mutations in cancer predisposition genes. These syndromes are associated with an increased risk of developing specific types of cancer. How do MAK-4 and MAK-5 exert their antioxidant properties? MAK-4 and MAK-5 have been shown to have antioxidant properties both in vitro and in vivo. These preparations contain multiple antioxidants such as alpha-tocopherol, beta-carotene, ascorbate, bioflavonoid, catechin, polyphenols, riboflavin, and tannic acid. These antioxidants are known to scavenge free radicals and reactive oxygen species (ROS) such as superoxide, hydroxyl, and peroxyl radicals, as well as hydrogen peroxide. In the present study, the antioxidant properties of MAK-4 and MAK-5 were confirmed in mice, with higher oxygen radical absorbance capacity (ORAC) values observed in mice fed the MAK-supplemented diet. Additionally, the activity of liver enzymes GPX, GST, and QR, which are involved in detoxification processes, were upregulated in the MAK-fed mice. This suggests that MAK-4 and MAK-5 may protect against carcinogenesis by reducing oxidative stress and enhancing detoxification processes. What are the primary indications for a decompressive craniectomy, and what role does neurocritical care play in determining the suitability of a patient for this procedure? The primary indications for a decompressive craniectomy include refractory intracranial pressure (ICP) and progressive neurological deterioration due to mass effect from conditions like head trauma, or ischemic or hemorrhagic cerebrovascular disease. Neurocritical care and ICP monitoring are essential in identifying suitable candidates for the procedure, as it is considered a rescue surgical technique. These measures help to assess the patient's condition and determine the need for decompressive craniectomy in cases of elevated ICP. - Loss: CachedGISTEmbedLoss with these parameters:
{ "guide": "SentenceTransformer('abhinand/MedEmbed-small-v0.1')", "temperature": 0.01, "mini_batch_size": 64, "mini_batch_num_tokens": null, "margin_strategy": "absolute", "margin": 0.05, "contrast_anchors": true, "contrast_positives": true, "gather_across_devices": false }
Training Hyperparameters
Non-Default Hyperparameters
per_device_train_batch_size: 256num_train_epochs: 1warmup_steps: 0.1fp16: Trueper_device_eval_batch_size: 256eval_on_start: Truepush_to_hub: Truehub_model_id: much1na/e5-small-medical-ckpthub_strategy: checkpointprompts: {'question': 'Represent the query for retrieving supporting documents: ', 'answer': 'Represent the document for retrieval: '}batch_sampler: no_duplicates
All Hyperparameters
per_device_train_batch_size: 256num_train_epochs: 1max_steps: -1learning_rate: 5e-05lr_scheduler_type: linearlr_scheduler_kwargs: Nonewarmup_steps: 0.1optim: 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: Falsefp16: Truebf16_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: 256prediction_loss_only: Trueeval_on_start: Trueeval_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: Truehub_private_repo: Nonehub_model_id: much1na/e5-small-medical-ckpthub_strategy: checkpointhub_always_push: Falsehub_revision: Noneload_best_model_at_end: Falseignore_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: Truedataloader_num_workers: 0dataloader_pin_memory: Truedataloader_persistent_workers: Falsedataloader_prefetch_factor: Nonedataloader_multiprocessing_context: Nonedataloader_in_order: Trueremove_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: Nonelocal_rank: -1prompts: {'question': 'Represent the query for retrieving supporting documents: ', 'answer': 'Represent the document for retrieval: '}batch_sampler: no_duplicatesmulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}warmup_ratio: None
Training Logs
| Epoch | Step | Training Loss | Validation Loss | medical-qa-dev_cosine_ndcg@10 |
|---|---|---|---|---|
| 0 | 0 | - | 17.4108 | 0.0155 |
| 0.0011 | 10 | 14.3814 | - | - |
| 0.0023 | 20 | 12.8885 | - | - |
| 0.0034 | 30 | 7.0988 | - | - |
| 0.0046 | 40 | 1.1228 | - | - |
| 0.0057 | 50 | 0.1069 | - | - |
| 0.0069 | 60 | 0.0272 | - | - |
| 0.0080 | 70 | 0.0113 | - | - |
| 0.0092 | 80 | 0.0042 | - | - |
| 0.0103 | 90 | 0.0050 | - | - |
| 0.0115 | 100 | 0.0045 | - | - |
| 0.0126 | 110 | 0.0015 | - | - |
| 0.0138 | 120 | 0.0032 | - | - |
| 0.0149 | 130 | 0.0024 | - | - |
| 0.0160 | 140 | 0.0024 | - | - |
| 0.0172 | 150 | 0.0019 | - | - |
| 0.0183 | 160 | 0.0012 | - | - |
| 0.0195 | 170 | 0.0012 | - | - |
| 0.0206 | 180 | 0.0002 | - | - |
| 0.0218 | 190 | 0.0003 | - | - |
| 0.0229 | 200 | 0.0013 | 0.0011 | 0.6232 |
| 0.0241 | 210 | 0.0013 | - | - |
| 0.0252 | 220 | 0.0019 | - | - |
| 0.0264 | 230 | 0.0003 | - | - |
| 0.0275 | 240 | 0.0011 | - | - |
| 0.0287 | 250 | 0.0007 | - | - |
| 0.0298 | 260 | 0.0023 | - | - |
| 0.0309 | 270 | 0.0007 | - | - |
| 0.0321 | 280 | 0.0001 | - | - |
| 0.0332 | 290 | 0.0008 | - | - |
| 0.0344 | 300 | 0.0002 | - | - |
| 0.0355 | 310 | 0.0006 | - | - |
| 0.0367 | 320 | 0.0022 | - | - |
| 0.0378 | 330 | 0.0004 | - | - |
| 0.0390 | 340 | 0.0004 | - | - |
| 0.0401 | 350 | 0.0002 | - | - |
| 0.0413 | 360 | 0.0001 | - | - |
| 0.0424 | 370 | 0.0005 | - | - |
| 0.0436 | 380 | 0.0007 | - | - |
| 0.0447 | 390 | 0.0010 | - | - |
| 0.0458 | 400 | 0.0012 | 0.0005 | 0.6695 |
| 0.0470 | 410 | 0.0009 | - | - |
| 0.0481 | 420 | 0.0005 | - | - |
| 0.0493 | 430 | 0.0001 | - | - |
| 0.0504 | 440 | 0.0000 | - | - |
| 0.0516 | 450 | 0.0015 | - | - |
| 0.0527 | 460 | 0.0004 | - | - |
| 0.0539 | 470 | 0.0013 | - | - |
| 0.0550 | 480 | 0.0002 | - | - |
| 0.0562 | 490 | 0.0003 | - | - |
| 0.0573 | 500 | 0.0004 | - | - |
| 0.0585 | 510 | 0.0003 | - | - |
| 0.0596 | 520 | 0.0002 | - | - |
| 0.0607 | 530 | 0.0006 | - | - |
| 0.0619 | 540 | 0.0003 | - | - |
| 0.0630 | 550 | 0.0006 | - | - |
| 0.0642 | 560 | 0.0001 | - | - |
| 0.0653 | 570 | 0.0007 | - | - |
| 0.0665 | 580 | 0.0009 | - | - |
| 0.0676 | 590 | 0.0002 | - | - |
| 0.0688 | 600 | 0.0023 | 0.0008 | 0.6463 |
| 0.0699 | 610 | 0.0001 | - | - |
| 0.0711 | 620 | 0.0007 | - | - |
| 0.0722 | 630 | 0.0001 | - | - |
| 0.0734 | 640 | 0.0020 | - | - |
| 0.0745 | 650 | 0.0002 | - | - |
| 0.0756 | 660 | 0.0005 | - | - |
| 0.0768 | 670 | 0.0011 | - | - |
| 0.0779 | 680 | 0.0002 | - | - |
| 0.0791 | 690 | 0.0009 | - | - |
| 0.0802 | 700 | 0.0013 | - | - |
| 0.0814 | 710 | 0.0010 | - | - |
| 0.0825 | 720 | 0.0016 | - | - |
| 0.0837 | 730 | 0.0008 | - | - |
| 0.0848 | 740 | 0.0008 | - | - |
| 0.0860 | 750 | 0.0014 | - | - |
| 0.0871 | 760 | 0.0007 | - | - |
| 0.0883 | 770 | 0.0006 | - | - |
| 0.0894 | 780 | 0.0024 | - | - |
| 0.0905 | 790 | 0.0010 | - | - |
| 0.0917 | 800 | 0.0008 | 0.0010 | 0.6415 |
| 0.0928 | 810 | 0.0005 | - | - |
| 0.0940 | 820 | 0.0002 | - | - |
| 0.0951 | 830 | 0.0003 | - | - |
| 0.0963 | 840 | 0.0001 | - | - |
| 0.0974 | 850 | 0.0018 | - | - |
| 0.0986 | 860 | 0.0007 | - | - |
| 0.0997 | 870 | 0.0016 | - | - |
| 0.1009 | 880 | 0.0011 | - | - |
| 0.1020 | 890 | 0.0019 | - | - |
| 0.1032 | 900 | 0.0012 | - | - |
| 0.1043 | 910 | 0.0005 | - | - |
| 0.1054 | 920 | 0.0018 | - | - |
| 0.1066 | 930 | 0.0002 | - | - |
| 0.1077 | 940 | 0.0008 | - | - |
| 0.1089 | 950 | 0.0001 | - | - |
| 0.1100 | 960 | 0.0004 | - | - |
| 0.1112 | 970 | 0.0010 | - | - |
| 0.1123 | 980 | 0.0010 | - | - |
| 0.1135 | 990 | 0.0022 | - | - |
| 0.1146 | 1000 | 0.0014 | 0.0007 | 0.6660 |
| 0.1158 | 1010 | 0.0015 | - | - |
| 0.1169 | 1020 | 0.0014 | - | - |
| 0.1181 | 1030 | 0.0009 | - | - |
| 0.1192 | 1040 | 0.0020 | - | - |
| 0.1203 | 1050 | 0.0006 | - | - |
| 0.1215 | 1060 | 0.0002 | - | - |
| 0.1226 | 1070 | 0.0011 | - | - |
| 0.1238 | 1080 | 0.0005 | - | - |
| 0.1249 | 1090 | 0.0004 | - | - |
| 0.1261 | 1100 | 0.0010 | - | - |
| 0.1272 | 1110 | 0.0018 | - | - |
| 0.1284 | 1120 | 0.0031 | - | - |
| 0.1295 | 1130 | 0.0002 | - | - |
| 0.1307 | 1140 | 0.0016 | - | - |
| 0.1318 | 1150 | 0.0007 | - | - |
| 0.1330 | 1160 | 0.0008 | - | - |
| 0.1341 | 1170 | 0.0007 | - | - |
| 0.1352 | 1180 | 0.0012 | - | - |
| 0.1364 | 1190 | 0.0005 | - | - |
| 0.1375 | 1200 | 0.0035 | 0.0005 | 0.6827 |
| 0.1387 | 1210 | 0.0010 | - | - |
| 0.1398 | 1220 | 0.0007 | - | - |
| 0.1410 | 1230 | 0.0005 | - | - |
| 0.1421 | 1240 | 0.0010 | - | - |
| 0.1433 | 1250 | 0.0002 | - | - |
| 0.1444 | 1260 | 0.0004 | - | - |
| 0.1456 | 1270 | 0.0002 | - | - |
| 0.1467 | 1280 | 0.0003 | - | - |
| 0.1479 | 1290 | 0.0004 | - | - |
| 0.1490 | 1300 | 0.0004 | - | - |
| 0.1501 | 1310 | 0.0004 | - | - |
| 0.1513 | 1320 | 0.0003 | - | - |
| 0.1524 | 1330 | 0.0003 | - | - |
| 0.1536 | 1340 | 0.0007 | - | - |
| 0.1547 | 1350 | 0.0005 | - | - |
| 0.1559 | 1360 | 0.0002 | - | - |
| 0.1570 | 1370 | 0.0006 | - | - |
| 0.1582 | 1380 | 0.0003 | - | - |
| 0.1593 | 1390 | 0.0002 | - | - |
| 0.1605 | 1400 | 0.0005 | 0.0003 | 0.6584 |
| 0.1616 | 1410 | 0.0005 | - | - |
| 0.1628 | 1420 | 0.0009 | - | - |
| 0.1639 | 1430 | 0.0002 | - | - |
| 0.1650 | 1440 | 0.0003 | - | - |
| 0.1662 | 1450 | 0.0004 | - | - |
| 0.1673 | 1460 | 0.0013 | - | - |
| 0.1685 | 1470 | 0.0008 | - | - |
| 0.1696 | 1480 | 0.0011 | - | - |
| 0.1708 | 1490 | 0.0014 | - | - |
| 0.1719 | 1500 | 0.0013 | - | - |
| 0.1731 | 1510 | 0.0009 | - | - |
| 0.1742 | 1520 | 0.0015 | - | - |
| 0.1754 | 1530 | 0.0008 | - | - |
| 0.1765 | 1540 | 0.0011 | - | - |
| 0.1777 | 1550 | 0.0015 | - | - |
| 0.1788 | 1560 | 0.0005 | - | - |
| 0.1799 | 1570 | 0.0011 | - | - |
| 0.1811 | 1580 | 0.0001 | - | - |
| 0.1822 | 1590 | 0.0019 | - | - |
| 0.1834 | 1600 | 0.0024 | 0.0004 | 0.6666 |
| 0.1845 | 1610 | 0.0011 | - | - |
| 0.1857 | 1620 | 0.0014 | - | - |
| 0.1868 | 1630 | 0.0014 | - | - |
| 0.1880 | 1640 | 0.0030 | - | - |
| 0.1891 | 1650 | 0.0016 | - | - |
| 0.1903 | 1660 | 0.0014 | - | - |
| 0.1914 | 1670 | 0.0007 | - | - |
| 0.1926 | 1680 | 0.0016 | - | - |
| 0.1937 | 1690 | 0.0017 | - | - |
| 0.1948 | 1700 | 0.0018 | - | - |
| 0.1960 | 1710 | 0.0013 | - | - |
| 0.1971 | 1720 | 0.0008 | - | - |
| 0.1983 | 1730 | 0.0007 | - | - |
| 0.1994 | 1740 | 0.0005 | - | - |
| 0.2006 | 1750 | 0.0002 | - | - |
| 0.2017 | 1760 | 0.0017 | - | - |
| 0.2029 | 1770 | 0.0005 | - | - |
| 0.2040 | 1780 | 0.0001 | - | - |
| 0.2052 | 1790 | 0.0010 | - | - |
| 0.2063 | 1800 | 0.0004 | 0.0004 | 0.6436 |
| 0.2074 | 1810 | 0.0003 | - | - |
| 0.2086 | 1820 | 0.0002 | - | - |
| 0.2097 | 1830 | 0.0021 | - | - |
| 0.2109 | 1840 | 0.0005 | - | - |
| 0.2120 | 1850 | 0.0009 | - | - |
| 0.2132 | 1860 | 0.0003 | - | - |
| 0.2143 | 1870 | 0.0016 | - | - |
| 0.2155 | 1880 | 0.0024 | - | - |
| 0.2166 | 1890 | 0.0010 | - | - |
| 0.2178 | 1900 | 0.0005 | - | - |
| 0.2189 | 1910 | 0.0005 | - | - |
| 0.2201 | 1920 | 0.0009 | - | - |
| 0.2212 | 1930 | 0.0016 | - | - |
| 0.2223 | 1940 | 0.0007 | - | - |
| 0.2235 | 1950 | 0.0002 | - | - |
| 0.2246 | 1960 | 0.0009 | - | - |
| 0.2258 | 1970 | 0.0008 | - | - |
| 0.2269 | 1980 | 0.0003 | - | - |
| 0.2281 | 1990 | 0.0002 | - | - |
| 0.2292 | 2000 | 0.0021 | 0.0003 | 0.6644 |
| 0.2304 | 2010 | 0.0009 | - | - |
| 0.2315 | 2020 | 0.0014 | - | - |
| 0.2327 | 2030 | 0.0006 | - | - |
| 0.2338 | 2040 | 0.0007 | - | - |
| 0.2350 | 2050 | 0.0003 | - | - |
| 0.2361 | 2060 | 0.0010 | - | - |
| 0.2372 | 2070 | 0.0013 | - | - |
| 0.2384 | 2080 | 0.0006 | - | - |
| 0.2395 | 2090 | 0.0015 | - | - |
| 0.2407 | 2100 | 0.0004 | - | - |
| 0.2418 | 2110 | 0.0001 | - | - |
| 0.2430 | 2120 | 0.0008 | - | - |
| 0.2441 | 2130 | 0.0002 | - | - |
| 0.2453 | 2140 | 0.0002 | - | - |
| 0.2464 | 2150 | 0.0027 | - | - |
| 0.2476 | 2160 | 0.0009 | - | - |
| 0.2487 | 2170 | 0.0019 | - | - |
| 0.2499 | 2180 | 0.0021 | - | - |
| 0.2510 | 2190 | 0.0006 | - | - |
| 0.2521 | 2200 | 0.0008 | 0.0005 | 0.6432 |
| 0.2533 | 2210 | 0.0006 | - | - |
| 0.2544 | 2220 | 0.0005 | - | - |
| 0.2556 | 2230 | 0.0008 | - | - |
| 0.2567 | 2240 | 0.0001 | - | - |
| 0.2579 | 2250 | 0.0008 | - | - |
| 0.2590 | 2260 | 0.0002 | - | - |
| 0.2602 | 2270 | 0.0001 | - | - |
| 0.2613 | 2280 | 0.0012 | - | - |
| 0.2625 | 2290 | 0.0007 | - | - |
| 0.2636 | 2300 | 0.0012 | - | - |
| 0.2648 | 2310 | 0.0010 | - | - |
| 0.2659 | 2320 | 0.0023 | - | - |
| 0.2670 | 2330 | 0.0026 | - | - |
| 0.2682 | 2340 | 0.0026 | - | - |
| 0.2693 | 2350 | 0.0026 | - | - |
| 0.2705 | 2360 | 0.0008 | - | - |
| 0.2716 | 2370 | 0.0011 | - | - |
| 0.2728 | 2380 | 0.0012 | - | - |
| 0.2739 | 2390 | 0.0008 | - | - |
| 0.2751 | 2400 | 0.0016 | 0.0003 | 0.6513 |
| 0.2762 | 2410 | 0.0005 | - | - |
| 0.2774 | 2420 | 0.0002 | - | - |
| 0.2785 | 2430 | 0.0008 | - | - |
| 0.2797 | 2440 | 0.0003 | - | - |
| 0.2808 | 2450 | 0.0005 | - | - |
| 0.2819 | 2460 | 0.0002 | - | - |
| 0.2831 | 2470 | 0.0000 | - | - |
| 0.2842 | 2480 | 0.0003 | - | - |
| 0.2854 | 2490 | 0.0023 | - | - |
| 0.2865 | 2500 | 0.0012 | - | - |
| 0.2877 | 2510 | 0.0010 | - | - |
| 0.2888 | 2520 | 0.0002 | - | - |
| 0.2900 | 2530 | 0.0003 | - | - |
| 0.2911 | 2540 | 0.0003 | - | - |
| 0.2923 | 2550 | 0.0006 | - | - |
| 0.2934 | 2560 | 0.0003 | - | - |
| 0.2946 | 2570 | 0.0014 | - | - |
| 0.2957 | 2580 | 0.0001 | - | - |
| 0.2968 | 2590 | 0.0004 | - | - |
| 0.2980 | 2600 | 0.0007 | 0.0007 | 0.6695 |
| 0.2991 | 2610 | 0.0013 | - | - |
| 0.3003 | 2620 | 0.0001 | - | - |
| 0.3014 | 2630 | 0.0001 | - | - |
| 0.3026 | 2640 | 0.0008 | - | - |
| 0.3037 | 2650 | 0.0008 | - | - |
| 0.3049 | 2660 | 0.0003 | - | - |
| 0.3060 | 2670 | 0.0001 | - | - |
| 0.3072 | 2680 | 0.0004 | - | - |
| 0.3083 | 2690 | 0.0012 | - | - |
| 0.3095 | 2700 | 0.0003 | - | - |
| 0.3106 | 2710 | 0.0002 | - | - |
| 0.3117 | 2720 | 0.0008 | - | - |
| 0.3129 | 2730 | 0.0002 | - | - |
| 0.3140 | 2740 | 0.0002 | - | - |
| 0.3152 | 2750 | 0.0004 | - | - |
| 0.3163 | 2760 | 0.0001 | - | - |
| 0.3175 | 2770 | 0.0012 | - | - |
| 0.3186 | 2780 | 0.0003 | - | - |
| 0.3198 | 2790 | 0.0004 | - | - |
| 0.3209 | 2800 | 0.0021 | 0.0010 | 0.6447 |
| 0.3221 | 2810 | 0.0007 | - | - |
| 0.3232 | 2820 | 0.0004 | - | - |
| 0.3244 | 2830 | 0.0007 | - | - |
| 0.3255 | 2840 | 0.0003 | - | - |
| 0.3266 | 2850 | 0.0000 | - | - |
| 0.3278 | 2860 | 0.0014 | - | - |
| 0.3289 | 2870 | 0.0002 | - | - |
| 0.3301 | 2880 | 0.0003 | - | - |
| 0.3312 | 2890 | 0.0008 | - | - |
| 0.3324 | 2900 | 0.0003 | - | - |
| 0.3335 | 2910 | 0.0012 | - | - |
| 0.3347 | 2920 | 0.0008 | - | - |
| 0.3358 | 2930 | 0.0011 | - | - |
| 0.3370 | 2940 | 0.0004 | - | - |
| 0.3381 | 2950 | 0.0002 | - | - |
| 0.3393 | 2960 | 0.0012 | - | - |
| 0.3404 | 2970 | 0.0013 | - | - |
| 0.3415 | 2980 | 0.0017 | - | - |
| 0.3427 | 2990 | 0.0005 | - | - |
| 0.3438 | 3000 | 0.0013 | 0.0006 | 0.6528 |
| 0.3450 | 3010 | 0.0013 | - | - |
| 0.3461 | 3020 | 0.0003 | - | - |
| 0.3473 | 3030 | 0.0022 | - | - |
| 0.3484 | 3040 | 0.0003 | - | - |
| 0.3496 | 3050 | 0.0004 | - | - |
| 0.3507 | 3060 | 0.0004 | - | - |
| 0.3519 | 3070 | 0.0013 | - | - |
| 0.3530 | 3080 | 0.0018 | - | - |
| 0.3542 | 3090 | 0.0032 | - | - |
| 0.3553 | 3100 | 0.0003 | - | - |
| 0.3564 | 3110 | 0.0023 | - | - |
| 0.3576 | 3120 | 0.0015 | - | - |
| 0.3587 | 3130 | 0.0006 | - | - |
| 0.3599 | 3140 | 0.0005 | - | - |
| 0.3610 | 3150 | 0.0004 | - | - |
| 0.3622 | 3160 | 0.0002 | - | - |
| 0.3633 | 3170 | 0.0001 | - | - |
| 0.3645 | 3180 | 0.0002 | - | - |
| 0.3656 | 3190 | 0.0015 | - | - |
| 0.3668 | 3200 | 0.0001 | 0.0003 | 0.6488 |
| 0.3679 | 3210 | 0.0014 | - | - |
| 0.3691 | 3220 | 0.0009 | - | - |
| 0.3702 | 3230 | 0.0001 | - | - |
| 0.3713 | 3240 | 0.0019 | - | - |
| 0.3725 | 3250 | 0.0005 | - | - |
| 0.3736 | 3260 | 0.0015 | - | - |
| 0.3748 | 3270 | 0.0006 | - | - |
| 0.3759 | 3280 | 0.0018 | - | - |
| 0.3771 | 3290 | 0.0004 | - | - |
| 0.3782 | 3300 | 0.0007 | - | - |
| 0.3794 | 3310 | 0.0013 | - | - |
| 0.3805 | 3320 | 0.0004 | - | - |
| 0.3817 | 3330 | 0.0006 | - | - |
| 0.3828 | 3340 | 0.0003 | - | - |
| 0.3840 | 3350 | 0.0003 | - | - |
| 0.3851 | 3360 | 0.0008 | - | - |
| 0.3862 | 3370 | 0.0008 | - | - |
| 0.3874 | 3380 | 0.0001 | - | - |
| 0.3885 | 3390 | 0.0005 | - | - |
| 0.3897 | 3400 | 0.0019 | 0.0002 | 0.6586 |
Training Time
- Training: 3.1 hours
- Evaluation: 11.6 minutes
- Total: 3.3 hours
Framework Versions
- Python: 3.13.15
- Sentence Transformers: 6.2.0
- Transformers: 5.16.1
- PyTorch: 2.11.0+cu128
- Accelerate: 1.15.0
- Datasets: 5.1.0
- Tokenizers: 0.23.1
Additional Resources
- Training and Finetuning Embedding Models with Sentence Transformers: the end-to-end guide for training or finetuning Sentence Transformer models.
- Introduction to Matryoshka Embedding Models: variable-size embeddings that can be truncated with minimal quality loss.
- Binary and Scalar Embedding Quantization for Significantly Faster & Cheaper Retrieval: post-training compression of embedding vectors.
- Multimodal Embedding & Reranker Models with Sentence Transformers: use text, image, audio, and video models through the same API.
- Training and Finetuning Multimodal Embedding & Reranker Models with Sentence Transformers: train multimodal embedding models, with a Visual Document Retrieval walkthrough.
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",
}