Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Paper โข 1908.10084 โข Published โข 19
Run nadinekl/scifact-ft-ce on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/nadinekl/scifact-ft-ce. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/nadinekl/scifact-ft-ce on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use nadinekl/scifact-ft-ce with sentence-transformers:
from sentence_transformers import CrossEncoder
model = CrossEncoder("nadinekl/scifact-ft-ce")
query = "Which planet is known as the Red Planet?"
passages = [
"Venus is often called Earth's twin because of its similar size and proximity.",
"Mars, known for its reddish appearance, is often referred to as the Red Planet.",
"Jupiter, the largest planet in our solar system, has a prominent red spot.",
"Saturn, famous for its rings, is sometimes mistaken for the Red Planet."
]
scores = model.predict([(query, passage) for passage in passages])
print(scores)This is a Cross Encoder model finetuned from BAAI/bge-reranker-base using the sentence-transformers library. It computes scores for pairs of texts, which can be used for text reranking and semantic search.
CrossEncoder(
(0): Transformer({'transformer_task': 'sequence-classification', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'logits'}}, 'module_output_name': 'scores', 'architecture': 'XLMRobertaForSequenceClassification'})
)
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import CrossEncoder
# Download from the ๐ค Hub
model = CrossEncoder("cross_encoder_model_id")
# Get scores for pairs of inputs
pairs = [
['Transcription factor EB induces transcription of pro-inflammatory cytokines in macrophages infected with Staphylococcus aureus.', 'SOCS1/JAB is a negative regulator of LPS-induced macrophage activation.. Bacterial lipopolysaccharide (LPS) triggers innate immune responses through Toll-like receptor (TLR) 4. We show here that the suppressor of cytokine-signaling-1 (SOCS1/JAB) is rapidly induced by LPS and negatively regulates LPS signaling. SOCS1(+/-) mice or SOCS1(-/-) mice with interferon-gamma (IFNgamma)-deficient background were more sensitive to LPS-induced lethal effects than were wild-type littermates. LPS-induced NO(2)(-) synthesis and TNFalpha production were augmented in SOCS1(-/-) macrophages. Furthermore, LPS tolerance, a protection mechanism against endotoxin shock, was also strikingly reduced in SOCS1(-/-) cells. LPS-induced I-kappaB and p38 phosphorylation was upregulated in SOCS1(-/-) macrophages, and forced expression of SOCS1 suppressed LPS-induced NF-kappaB activation. Thus, SOCS1 directly suppresses TLR4 signaling and modulates innate immunity.'],
['Pseudogene PTENP1 encodes a transcript that regulates PTEN expression.', "Regulation of poly(A) site choice of several yeast mRNAs. Several yeast genes produce multiple transcripts with different 3'-ends. Of these, four genes are known to produce truncated transcripts that end within the coding sequence of longer transcripts: CBP1 , AEP2 / ATP13 , RNA14 and SIR1 . It has been shown that the level of the truncated CBP1 transcript increases during the switch to respiratory growth while that of the full-length transcript decreases. To determine whether this phenomenon is unique to CBP1 , northern analysis was used to determine whether the levels of other truncated transcripts are regulated similarly by carbon source. The levels of the shortest transcripts of AEP2 / ATP13 and RNA14 increased during respiration while the shortest SIR1 transcript remained constant. However, two longer SIR1 transcripts were regulated reciprocally by carbon source. Mapping the 3'-ends of each transcript by sequencing partial cDNA clones revealed multiple 3'-ends for each transcript. Examination of the sequences surrounding the 3'-ends of the induced transcripts failed to identify a consensus sequence but did reveal weak putative 3'-end formation signals in all of the transcripts. Similarly, no consensus sequence was found when the sequences surrounding the 3'-ends of the longest transcripts were compared, but again weak putative 3'-end formation signals were identified. These data are suggestive of carbon source regulation of alternative poly(A) site choice in yeast."],
['1-1% of colorectal cancer patients are diagnosed with regional or distant metastases.', "Relation between Medicare screening reimbursement and stage at diagnosis for older patients with colon cancer.. CONTEXT Medicare's reimbursement policy was changed in 1998 to provide coverage for screening colonoscopies for patients with increased colon cancer risk, and expanded further in 2001 to cover screening colonoscopies for all individuals. OBJECTIVE To determine whether the Medicare reimbursement policy changes were associated with an increase in either colonoscopy use or early stage colon cancer diagnosis. DESIGN, SETTING, AND PARTICIPANTS Patients in the Surveillance, Epidemiology, and End Results Medicare linked database who were 67 years of age and older and had a primary diagnosis of colon cancer during 1992-2002, as well as a group of Medicare beneficiaries who resided in Surveillance, Epidemiology, and End Results areas but who were not diagnosed with cancer. MAIN OUTCOME MEASURES Trends in colonoscopy and sigmoidoscopy use among Medicare beneficiaries without cancer were assessed using multivariate Poisson regression. Among the patients with cancer, stage was classified as early (stage I) vs all other (stages II-IV). Time was categorized as period 1 (no screening coverage, 1992-1997), period 2 (limited coverage, January 1998-June 2001), and period 3 (universal coverage, July 2001-December 2002). A multivariate logistic regression (outcome = early stage) was used to assess temporal trends in stage at diagnosis; an interaction term between tumor site and time was included. RESULTS Colonoscopy use increased from an average rate of 285/100,000 per quarter in period 1 to 889 and 1919/100,000 per quarter in periods 2 (P<.001) and 3 (P vs 2<.001), respectively. During the study period, 44,924 eligible patients were diagnosed with colorectal cancer. The proportion of patients diagnosed at an early stage increased from 22.5% in period 1 to 25.5% in period 2 and 26.3% in period 3 (P<.001 for each pairwise comparison). The changes in Medicare coverage were strongly associated with early stage at diagnosis for patients with proximal colon lesions (adjusted relative risk period 2 vs 1, 1.19; 95% confidence interval, 1.13-1.26; adjusted relative risk period 3 vs 2, 1.10; 95% confidence interval, 1.02-1.17) but weakly associated, if at all, for patients with distal colon lesions (adjusted relative risk period 2 vs 1, 1.07; 95% confidence interval, 1.01-1.13; adjusted relative risk period 3 vs 2, 0.97; 95% confidence interval, 0.90-1.05). CONCLUSIONS Expansion of Medicare reimbursement to cover colon cancer screening was associated with an increased use of colonoscopy for Medicare beneficiaries, and for those who were diagnosed with colon cancer, an increased probability of being diagnosed at an early stage. The selective effect of the coverage change on proximal colon lesions suggests that increased use of whole-colon screening modalities such as colonoscopy may have played a pivotal role."],
['Charcoal shows no benefit for acute paraquat poisoning.', 'Systematic review of controlled clinical trials of gastric lavage in acute organophosphorus pesticide poisoning.. BACKGROUND Organophosphorus pesticide (OP) self-poisoning is a major problem in the developing rural world. There is little clinical trial data to guide therapy, hindering the identification of best therapy. Despite the recognition of adverse effects, gastric lavage is commonly done in Asia. We aimed to identify studies assessing its effectiveness. METHOD We systematically searched the literature for controlled clinical studies that assessed the effect of gastric lavage in OP pesticide self-poisoning. RESULTS All 56 studies identified were Chinese and reported benefit from the intervention studied, including multiple gastric lavages, use of norepinephrine or pralidoxime in the lavage fluid, concurrent treatment with naloxone or scopolamine, insertion of the gastric tube via a laparotomy incision, and lavage later than 12 h post-ingestion. However, only 23 were RCTs and none presented adequate methodology for their quality to be assessed. The patient population and study treatment protocol were not defined - large variation in case fatality in the control arm of the studies (from 4.5 to 93%) suggests marked variation between studies and likely between study arms. No study compared an intervention against a control group receiving no gastric lavage or provided any data to indicate whether a significant quantity of poison was removed. CONCLUSION Despite widespread use of multiple gastric lavages for OP pesticide poisoning across Asia, there is currently no high-quality evidence to support its clinical effectiveness. There is a need for studies to identify in which patients and for what duration gastric lavage is able to remove significant quantities of poison. Following these studies, large clinical trials will be required to address the effectiveness and safety of gastric lavage (either single or multiple) in acute OP pesticide poisoning.'],
['Retinoic acid receptor-related orphan receptor gamma (RORฮณ) is a therapeutic target for castration-resistant prostate cancer (CRPC)', 'Characterization of the interaction between retinoic acid receptor/retinoid X receptor (RAR/RXR) heterodimers and transcriptional coactivators through structural and fluorescence anisotropy studies.. Retinoid receptors (RARs and RXRs) are ligand-activated transcription factors that regulate the transcription of target genes by recruiting coregulator complexes at cognate promoters. To understand the effects of heterodimerization and ligand binding on coactivator recruitment, we solved the crystal structure of the complex between the RARbeta/RXRalpha ligand-binding domain heterodimer, its 9-cis retinoic acid ligand, and an LXXLL-containing peptide (termed NR box 2) derived from the nuclear receptor interaction domain (NID) of the TRAP220 coactivator. In parallel, we measured the binding affinities of the isolated NR box 2 peptide or the full-length NID of the coactivator SRC-1 for retinoid receptors in the presence of various types of ligands. Our correlative analysis of three-dimensional structures and fluorescence data reveals that heterodimerization does not significantly alter the structure of individual subunits or their intrinsic capacity to interact with NR box 2. Similarly, we show that the ability of a protomer to recruit NR box 2 does not vary as a function of the ligand binding status of the partner receptor. In contrast, the strength of the overall association between the heterodimer and the full-length SRC-1 NID is dictated by the combinatorial action of RAR and RXR ligands, the simultaneous presence of the two receptor agonists being required for highest binding affinity. We identified an LXXLL peptide-driven mechanism by which the concerted reorientation of three phenylalanine side chains generates an "aromatic clamp" that locks the RXR activation helix H12 in the transcriptionally active conformation. Finally, we show how variations of helix H11-ligand interactions can alter the communication pathway linking helices H11, H12, and the connecting loop L11-12 to the coactivator-binding site. Together, our results reveal molecular and structural features that impact on the ligand-dependent interaction of the RAR/RXR heterodimer with nuclear receptor coactivators.'],
]
scores = model.predict(pairs)
print(scores)
# [1.3250e-03 5.3788e-04 9.8626e-01 9.7146e-01 9.7839e-03]
# Or rank different texts based on similarity to a single text
ranks = model.rank(
'Transcription factor EB induces transcription of pro-inflammatory cytokines in macrophages infected with Staphylococcus aureus.',
[
'SOCS1/JAB is a negative regulator of LPS-induced macrophage activation.. Bacterial lipopolysaccharide (LPS) triggers innate immune responses through Toll-like receptor (TLR) 4. We show here that the suppressor of cytokine-signaling-1 (SOCS1/JAB) is rapidly induced by LPS and negatively regulates LPS signaling. SOCS1(+/-) mice or SOCS1(-/-) mice with interferon-gamma (IFNgamma)-deficient background were more sensitive to LPS-induced lethal effects than were wild-type littermates. LPS-induced NO(2)(-) synthesis and TNFalpha production were augmented in SOCS1(-/-) macrophages. Furthermore, LPS tolerance, a protection mechanism against endotoxin shock, was also strikingly reduced in SOCS1(-/-) cells. LPS-induced I-kappaB and p38 phosphorylation was upregulated in SOCS1(-/-) macrophages, and forced expression of SOCS1 suppressed LPS-induced NF-kappaB activation. Thus, SOCS1 directly suppresses TLR4 signaling and modulates innate immunity.',
"Regulation of poly(A) site choice of several yeast mRNAs. Several yeast genes produce multiple transcripts with different 3'-ends. Of these, four genes are known to produce truncated transcripts that end within the coding sequence of longer transcripts: CBP1 , AEP2 / ATP13 , RNA14 and SIR1 . It has been shown that the level of the truncated CBP1 transcript increases during the switch to respiratory growth while that of the full-length transcript decreases. To determine whether this phenomenon is unique to CBP1 , northern analysis was used to determine whether the levels of other truncated transcripts are regulated similarly by carbon source. The levels of the shortest transcripts of AEP2 / ATP13 and RNA14 increased during respiration while the shortest SIR1 transcript remained constant. However, two longer SIR1 transcripts were regulated reciprocally by carbon source. Mapping the 3'-ends of each transcript by sequencing partial cDNA clones revealed multiple 3'-ends for each transcript. Examination of the sequences surrounding the 3'-ends of the induced transcripts failed to identify a consensus sequence but did reveal weak putative 3'-end formation signals in all of the transcripts. Similarly, no consensus sequence was found when the sequences surrounding the 3'-ends of the longest transcripts were compared, but again weak putative 3'-end formation signals were identified. These data are suggestive of carbon source regulation of alternative poly(A) site choice in yeast.",
"Relation between Medicare screening reimbursement and stage at diagnosis for older patients with colon cancer.. CONTEXT Medicare's reimbursement policy was changed in 1998 to provide coverage for screening colonoscopies for patients with increased colon cancer risk, and expanded further in 2001 to cover screening colonoscopies for all individuals. OBJECTIVE To determine whether the Medicare reimbursement policy changes were associated with an increase in either colonoscopy use or early stage colon cancer diagnosis. DESIGN, SETTING, AND PARTICIPANTS Patients in the Surveillance, Epidemiology, and End Results Medicare linked database who were 67 years of age and older and had a primary diagnosis of colon cancer during 1992-2002, as well as a group of Medicare beneficiaries who resided in Surveillance, Epidemiology, and End Results areas but who were not diagnosed with cancer. MAIN OUTCOME MEASURES Trends in colonoscopy and sigmoidoscopy use among Medicare beneficiaries without cancer were assessed using multivariate Poisson regression. Among the patients with cancer, stage was classified as early (stage I) vs all other (stages II-IV). Time was categorized as period 1 (no screening coverage, 1992-1997), period 2 (limited coverage, January 1998-June 2001), and period 3 (universal coverage, July 2001-December 2002). A multivariate logistic regression (outcome = early stage) was used to assess temporal trends in stage at diagnosis; an interaction term between tumor site and time was included. RESULTS Colonoscopy use increased from an average rate of 285/100,000 per quarter in period 1 to 889 and 1919/100,000 per quarter in periods 2 (P<.001) and 3 (P vs 2<.001), respectively. During the study period, 44,924 eligible patients were diagnosed with colorectal cancer. The proportion of patients diagnosed at an early stage increased from 22.5% in period 1 to 25.5% in period 2 and 26.3% in period 3 (P<.001 for each pairwise comparison). The changes in Medicare coverage were strongly associated with early stage at diagnosis for patients with proximal colon lesions (adjusted relative risk period 2 vs 1, 1.19; 95% confidence interval, 1.13-1.26; adjusted relative risk period 3 vs 2, 1.10; 95% confidence interval, 1.02-1.17) but weakly associated, if at all, for patients with distal colon lesions (adjusted relative risk period 2 vs 1, 1.07; 95% confidence interval, 1.01-1.13; adjusted relative risk period 3 vs 2, 0.97; 95% confidence interval, 0.90-1.05). CONCLUSIONS Expansion of Medicare reimbursement to cover colon cancer screening was associated with an increased use of colonoscopy for Medicare beneficiaries, and for those who were diagnosed with colon cancer, an increased probability of being diagnosed at an early stage. The selective effect of the coverage change on proximal colon lesions suggests that increased use of whole-colon screening modalities such as colonoscopy may have played a pivotal role.",
'Systematic review of controlled clinical trials of gastric lavage in acute organophosphorus pesticide poisoning.. BACKGROUND Organophosphorus pesticide (OP) self-poisoning is a major problem in the developing rural world. There is little clinical trial data to guide therapy, hindering the identification of best therapy. Despite the recognition of adverse effects, gastric lavage is commonly done in Asia. We aimed to identify studies assessing its effectiveness. METHOD We systematically searched the literature for controlled clinical studies that assessed the effect of gastric lavage in OP pesticide self-poisoning. RESULTS All 56 studies identified were Chinese and reported benefit from the intervention studied, including multiple gastric lavages, use of norepinephrine or pralidoxime in the lavage fluid, concurrent treatment with naloxone or scopolamine, insertion of the gastric tube via a laparotomy incision, and lavage later than 12 h post-ingestion. However, only 23 were RCTs and none presented adequate methodology for their quality to be assessed. The patient population and study treatment protocol were not defined - large variation in case fatality in the control arm of the studies (from 4.5 to 93%) suggests marked variation between studies and likely between study arms. No study compared an intervention against a control group receiving no gastric lavage or provided any data to indicate whether a significant quantity of poison was removed. CONCLUSION Despite widespread use of multiple gastric lavages for OP pesticide poisoning across Asia, there is currently no high-quality evidence to support its clinical effectiveness. There is a need for studies to identify in which patients and for what duration gastric lavage is able to remove significant quantities of poison. Following these studies, large clinical trials will be required to address the effectiveness and safety of gastric lavage (either single or multiple) in acute OP pesticide poisoning.',
'Characterization of the interaction between retinoic acid receptor/retinoid X receptor (RAR/RXR) heterodimers and transcriptional coactivators through structural and fluorescence anisotropy studies.. Retinoid receptors (RARs and RXRs) are ligand-activated transcription factors that regulate the transcription of target genes by recruiting coregulator complexes at cognate promoters. To understand the effects of heterodimerization and ligand binding on coactivator recruitment, we solved the crystal structure of the complex between the RARbeta/RXRalpha ligand-binding domain heterodimer, its 9-cis retinoic acid ligand, and an LXXLL-containing peptide (termed NR box 2) derived from the nuclear receptor interaction domain (NID) of the TRAP220 coactivator. In parallel, we measured the binding affinities of the isolated NR box 2 peptide or the full-length NID of the coactivator SRC-1 for retinoid receptors in the presence of various types of ligands. Our correlative analysis of three-dimensional structures and fluorescence data reveals that heterodimerization does not significantly alter the structure of individual subunits or their intrinsic capacity to interact with NR box 2. Similarly, we show that the ability of a protomer to recruit NR box 2 does not vary as a function of the ligand binding status of the partner receptor. In contrast, the strength of the overall association between the heterodimer and the full-length SRC-1 NID is dictated by the combinatorial action of RAR and RXR ligands, the simultaneous presence of the two receptor agonists being required for highest binding affinity. We identified an LXXLL peptide-driven mechanism by which the concerted reorientation of three phenylalanine side chains generates an "aromatic clamp" that locks the RXR activation helix H12 in the transcriptionally active conformation. Finally, we show how variations of helix H11-ligand interactions can alter the communication pathway linking helices H11, H12, and the connecting loop L11-12 to the coactivator-binding site. Together, our results reveal molecular and structural features that impact on the ligand-dependent interaction of the RAR/RXR heterodimer with nuclear receptor coactivators.',
]
)
# [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]
sentence1, sentence2, and label| sentence1 | sentence2 | label | |
|---|---|---|---|
| type | string | string | float |
| modality | text | text | |
| details |
|
|
|
| sentence1 | sentence2 | label |
|---|---|---|
Transcription factor EB induces transcription of pro-inflammatory cytokines in macrophages infected with Staphylococcus aureus. |
SOCS1/JAB is a negative regulator of LPS-induced macrophage activation.. Bacterial lipopolysaccharide (LPS) triggers innate immune responses through Toll-like receptor (TLR) 4. We show here that the suppressor of cytokine-signaling-1 (SOCS1/JAB) is rapidly induced by LPS and negatively regulates LPS signaling. SOCS1(+/-) mice or SOCS1(-/-) mice with interferon-gamma (IFNgamma)-deficient background were more sensitive to LPS-induced lethal effects than were wild-type littermates. LPS-induced NO(2)(-) synthesis and TNFalpha production were augmented in SOCS1(-/-) macrophages. Furthermore, LPS tolerance, a protection mechanism against endotoxin shock, was also strikingly reduced in SOCS1(-/-) cells. LPS-induced I-kappaB and p38 phosphorylation was upregulated in SOCS1(-/-) macrophages, and forced expression of SOCS1 suppressed LPS-induced NF-kappaB activation. Thus, SOCS1 directly suppresses TLR4 signaling and modulates innate immunity. |
0.0 |
Pseudogene PTENP1 encodes a transcript that regulates PTEN expression. |
Regulation of poly(A) site choice of several yeast mRNAs. Several yeast genes produce multiple transcripts with different 3'-ends. Of these, four genes are known to produce truncated transcripts that end within the coding sequence of longer transcripts: CBP1 , AEP2 / ATP13 , RNA14 and SIR1 . It has been shown that the level of the truncated CBP1 transcript increases during the switch to respiratory growth while that of the full-length transcript decreases. To determine whether this phenomenon is unique to CBP1 , northern analysis was used to determine whether the levels of other truncated transcripts are regulated similarly by carbon source. The levels of the shortest transcripts of AEP2 / ATP13 and RNA14 increased during respiration while the shortest SIR1 transcript remained constant. However, two longer SIR1 transcripts were regulated reciprocally by carbon source. Mapping the 3'-ends of each transcript by sequencing partial cDNA clones revealed multiple 3'-ends for each transcript.... |
0.0 |
1-1% of colorectal cancer patients are diagnosed with regional or distant metastases. |
Relation between Medicare screening reimbursement and stage at diagnosis for older patients with colon cancer.. CONTEXT Medicare's reimbursement policy was changed in 1998 to provide coverage for screening colonoscopies for patients with increased colon cancer risk, and expanded further in 2001 to cover screening colonoscopies for all individuals. OBJECTIVE To determine whether the Medicare reimbursement policy changes were associated with an increase in either colonoscopy use or early stage colon cancer diagnosis. DESIGN, SETTING, AND PARTICIPANTS Patients in the Surveillance, Epidemiology, and End Results Medicare linked database who were 67 years of age and older and had a primary diagnosis of colon cancer during 1992-2002, as well as a group of Medicare beneficiaries who resided in Surveillance, Epidemiology, and End Results areas but who were not diagnosed with cancer. MAIN OUTCOME MEASURES Trends in colonoscopy and sigmoidoscopy use among Medicare beneficiaries without cancer wer... |
1.0 |
BinaryCrossEntropyLoss with these parameters:{
"activation_fn": "torch.nn.modules.linear.Identity",
"pos_weight": null
}
per_device_train_batch_size: 16num_train_epochs: 2learning_rate: 2e-05warmup_steps: 0.1fp16: Trueper_device_train_batch_size: 16num_train_epochs: 2max_steps: -1learning_rate: 2e-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: Noneactivation_checkpointing: Falseactivation_checkpointing_kwargs: 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: 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: Falsedataloader_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: Nonebatch_sampler: batch_samplermulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}warmup_ratio: None| Epoch | Step | Training Loss |
|---|---|---|
| 0.3846 | 100 | 0.3593 |
| 0.7692 | 200 | 0.3009 |
| 1.1538 | 300 | 0.2532 |
| 1.5385 | 400 | 0.1943 |
| 1.9231 | 500 | 0.1707 |
@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",
}
Base model
BAAI/bge-reranker-base