CoolFace
Modelpublic

as9122/bge-large-stance-mixed-aug

sourceHugging Facemitupdated 16d agoView on Hugging Face
0likes
Model Card

SentenceTransformer based on BAAI/bge-large-en-v1.5

This is a sentence-transformers model finetuned from BAAI/bge-large-en-v1.5. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for retrieval.

Model Details

Model Description

  • —Model Type: Sentence Transformer
  • —Base model: BAAI/bge-large-en-v1.5 <!-- at revision d4aa6901d3a41ba39fb536a557fa166f842b0e09 -->
  • —Maximum Sequence Length: 512 tokens
  • —Output Dimensionality: 1024 dimensions
  • —Similarity Function: Cosine Similarity
  • —Supported Modality: Text <!-- - Training Dataset: Unknown --> <!-- - Language: Unknown --> <!-- - License: Unknown -->

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': 'BertModel'})
  (1): Pooling({'embedding_dimension': 1024, 'pooling_mode': 'cls', 'include_prompt': True})
  (2): Normalize({})
)

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("sentence_transformers_model_id")
# Run inference
sentences = [
    'Instruct: Find evidence refuting\nQuery: Time is considered the best medicine.',
    'The proverb promotes a passive approach to problems that require active intervention. Relying on time can be an excuse for avoiding difficult but necessary actions, from seeking medical help to confronting a personal issue.',
    "In many interpersonal conflicts, time acts as a 'cooling off' period, reducing anger and emotional reactivity, which is often the most critical step toward reconciliation and resolution.",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.6235, 0.5213],
#         [0.6235, 1.0000, 0.6362],
#         [0.5213, 0.6362, 1.0000]])

<!--

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. -->

<!--

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. -->

<!--

Recommendations

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

Training Details

Training Dataset

Unnamed Dataset
  • —Size: 31,800 training samples
  • —Columns: <code>anchor</code>, <code>positive</code>, <code>negative</code>, <code>instructiontext</code>, <code>boostwords</code>, and <code>claim</code>
  • —Approximate statistics based on the first 1000 samples: | | anchor | positive | negative | instructiontext | boostwords | claim | |:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|:-----------------------------------|:----------------------------------------------------------------------------------| | type | string | string | string | string | list | string | | details | <ul><li>min: 17 tokens</li><li>mean: 28.35 tokens</li><li>max: 42 tokens</li></ul> | <ul><li>min: 28 tokens</li><li>mean: 48.4 tokens</li><li>max: 75 tokens</li></ul> | <ul><li>min: 25 tokens</li><li>mean: 52.01 tokens</li><li>max: 107 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 6.43 tokens</li><li>max: 8 tokens</li></ul> | <ul><li>size: 3 elements</li></ul> | <ul><li>min: 9 tokens</li><li>mean: 18.92 tokens</li><li>max: 31 tokens</li></ul> |
  • —Samples: | anchor | positive | negative | instructiontext | boostwords | claim | |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------|:--------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------| | <code>Instruct: Extract statements advocating for<br>Query: Bertha von Suttner, a 19th-century peace activist and author, directly influenced Alfred Nobel's decision to create the Nobel Peace Prize.</code> | <code>The claim is true because Alfred Nobel and Bertha von Suttner maintained a long and close correspondence in which she persistently advocated for peace, providing a direct and sustained channel for her to influence his thinking.</code> | <code>The claim is false because Nobel's philosophy on peace was notably different from Suttner's. Nobel held a more cynical and pragmatic view, once remarking that his dynamite factories would end war sooner than her peace congresses. The prize's criteria reflect his practical mindset, not a wholesale adoption of her idealistic pacifism.</code> | <code>Extract statements advocating for</code> | <code>['suttner', 'nobel', 'bertha']</code> | <code>Bertha von Suttner, a 19th-century peace activist and author, directly influenced Alfred Nobel's decision to create the Nobel Peace Prize.</code> | | <code>Instruct: Retrieve arguments in favor of<br>Query: Bertha von Suttner, a 19th-century peace activist and author, directly influenced Alfred Nobel's decision to create the Nobel Peace Prize.</code> | <code>The claim is true because their letters contain direct discussions about creating a peace prize. In an 1893 letter to Suttner, Nobel expressed his desire to establish a prize for the person who had done the most to advance the pacification of Europe, showing a clear causal link between her advocacy and his idea.</code> | <code>The claim is false because although their letters contain direct discussions about creating a peace prize, and in an 1893 letter to Suttner, Nobel expressed his desire to establish a prize for the person who had done the most to advance the pacification of Europe, these private exchanges fail to demonstrate a definitive, exclusive causal link between her advocacy and his final institutional idea.</code> | <code>Retrieve arguments in favor of</code> | <code>['suttner', 'nobel', 'bertha']</code> | <code>Bertha von Suttner, a 19th-century peace activist and author, directly influenced Alfred Nobel's decision to create the Nobel Peace Prize.</code> | | <code>Instruct: Find evidence backing<br>Query: Bertha von Suttner, a 19th-century peace activist and author, directly influenced Alfred Nobel's decision to create the Nobel Peace Prize.</code> | <code>The claim is true because Nobel explicitly read and praised Suttner's influential anti-war novel, "Die Waffen nieder!" ("Lay Down Your Arms!"), demonstrating that her specific work and pacifist message directly impacted his views on the subject.</code> | <code>The claim of 'direct' influence is false because the final text of Nobel's will and the creation of the prizes were a surprise to nearly everyone, including Suttner. If her influence had been so direct and formative, it is likely she would have had more specific knowledge of his ultimate plans before they were revealed.</code> | <code>Find evidence backing</code> | <code>['suttner', 'nobel', 'bertha']</code> | <code>Bertha von Suttner, a 19th-century peace activist and author, directly influenced Alfred Nobel's decision to create the Nobel Peace Prize.</code> |
  • —Loss: <code>MultipleNegativesRankingLoss</code> with these parameters:
json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim",
      "gather_across_devices": false,
      "directions": [
          "query_to_doc"
      ],
      "partition_mode": "joint",
      "hardness_mode": null,
      "hardness_strength": 0.0
  }

Training Hyperparameters

Non-Default Hyperparameters
  • —num_train_epochs: 2
  • —learning_rate: 2e-05
  • —warmup_steps: 0.1
  • —gradient_accumulation_steps: 2
  • —bf16: True
  • —gradient_checkpointing: True
  • —remove_unused_columns: False
All Hyperparameters

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

  • —per_device_train_batch_size: 8
  • —num_train_epochs: 2
  • —max_steps: -1
  • —learning_rate: 2e-05
  • —lr_scheduler_type: linear
  • —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: 2
  • —average_tokens_across_devices: True
  • —max_grad_norm: 1.0
  • —label_smoothing_factor: 0.0
  • —bf16: True
  • —fp16: False
  • —bf16_full_eval: False
  • —fp16_full_eval: False
  • —tf32: None
  • —gradient_checkpointing: True
  • —gradient_checkpointing_kwargs: None
  • —torch_compile: False
  • —torch_compile_backend: None
  • —torch_compile_mode: None
  • —use_liger_kernel: False
  • —liger_kernel_config: None
  • —use_cache: False
  • —neftune_noise_alpha: None
  • —torch_empty_cache_steps: None
  • —auto_find_batch_size: False
  • —log_on_each_node: True
  • —logging_nan_inf_filter: True
  • —include_num_input_tokens_seen: no
  • —log_level: passive
  • —log_level_replica: warning
  • —disable_tqdm: False
  • —project: huggingface
  • —trackio_space_id: trackio
  • —per_device_eval_batch_size: 8
  • —prediction_loss_only: True
  • —eval_on_start: False
  • —eval_do_concat_batches: True
  • —eval_use_gather_object: False
  • —eval_accumulation_steps: None
  • —include_for_metrics: []
  • —batch_eval_metrics: False
  • —save_only_model: False
  • —save_on_each_node: False
  • —enable_jit_checkpoint: False
  • —push_to_hub: False
  • —hub_private_repo: None
  • —hub_model_id: None
  • —hub_strategy: every_save
  • —hub_always_push: False
  • —hub_revision: None
  • —load_best_model_at_end: False
  • —ignore_data_skip: False
  • —restore_callback_states_from_checkpoint: False
  • —full_determinism: False
  • —seed: 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
  • —remove_unused_columns: False
  • —label_names: None
  • —train_sampling_strategy: random
  • —length_column_name: length
  • —ddp_find_unused_parameters: None
  • —ddp_bucket_cap_mb: None
  • —ddp_broadcast_buffers: False
  • —ddp_backend: None
  • —ddp_timeout: 1800
  • —fsdp: []
  • —fsdp_config: {'minnumparams': 0, 'xla': False, 'xlafsdpv2': False, 'xlafsdpgrad_ckpt': False}
  • —deepspeed: None
  • —debug: []
  • —skip_memory_metrics: True
  • —do_predict: False
  • —resume_from_checkpoint: None
  • —warmup_ratio: None
  • —local_rank: -1
  • —prompts: None
  • —batch_sampler: batch_sampler
  • —multi_dataset_batch_sampler: proportional
  • —router_mapping: {}
  • —learning_rate_mapping: {}

</details>

Training Logs

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

EpochStepTraining Loss
0.0050100.9132
0.0101200.9416
0.0151301.0056
0.0201400.9343
0.0252500.7092
0.0302600.8691
0.0352700.7904
0.0403800.5911
0.0453900.5498
0.05031000.5330
0.05531100.4879
0.06041200.4930
0.06541300.4440
0.07041400.5260
0.07551500.5626
0.08051600.5277
0.08551700.3557
0.09061800.3458
0.09561900.4448
0.10062000.3933
0.10572100.3931
0.11072200.2849
0.11572300.3601
0.12082400.3569
0.12582500.3133
0.13082600.3745
0.13582700.3433
0.14092800.3219
0.14592900.3533
0.15093000.3113
0.15603100.2587
0.16103200.2604
0.16603300.2968
0.17113400.2149
0.17613500.2330
0.18113600.2872
0.18623700.1523
0.19123800.1192
0.19623900.1851
0.20134000.2028
0.20634100.1645
0.21134200.1137
0.21644300.1699
0.22144400.1987
0.22644500.1934
0.23144600.1392
0.23654700.1464
0.24154800.1413
0.24654900.1184
0.25165000.1199
0.25665100.1791
0.26165200.1505
0.26675300.1260
0.27175400.1272
0.27675500.1527
0.28185600.1077
0.28685700.1492
0.29185800.0934
0.29695900.1288
0.30196000.1074
0.30696100.1393
0.31196200.0988
0.31706300.0555
0.32206400.0837
0.32706500.0816
0.33216600.1221
0.33716700.1258
0.34216800.0738
0.34726900.1116
0.35227000.0781
0.35727100.1313
0.36237200.1579
0.36737300.0594
0.37237400.1327
0.37747500.1386
0.38247600.0915
0.38747700.0420
0.39257800.0883
0.39757900.1468
0.40258000.0897
0.40758100.0961
0.41268200.1267
0.41768300.0677
0.42268400.0671
0.42778500.0731
0.43278600.1174
0.43778700.0664
0.44288800.0950
0.44788900.1109
0.45289000.0500
0.45799100.0561
0.46299200.0925
0.46799300.0440
0.47309400.0835
0.47809500.0626
0.48309600.0606
0.48819700.0847
0.49319800.0877
0.49819900.0583
0.503110000.1069
0.508210100.0959
0.513210200.0352
0.518210300.0743
0.523310400.1068
0.528310500.0534
0.533310600.0572
0.538410700.0807
0.543410800.0766
0.548410900.0463
0.553511000.0973
0.558511100.1123
0.563511200.0721
0.568611300.0977
0.573611400.0546
0.578611500.0852
0.583611600.0609
0.588711700.0555
0.593711800.0864
0.598711900.0265
0.603812000.0681
0.608812100.0898
0.613812200.0283
0.618912300.0449
0.623912400.0768
0.628912500.0896
0.634012600.0646
0.639012700.0443
0.644012800.0618
0.649112900.0501
0.654113000.0537
0.659113100.0557
0.664213200.0695
0.669213300.0604
0.674213400.0412
0.679213500.0618
0.684313600.1448
0.689313700.1012
0.694313800.1066
0.699413900.0504
0.704414000.0723
0.709414100.0652
0.714514200.0403
0.719514300.0971
0.724514400.0565
0.729614500.0674
0.734614600.0680
0.739614700.0503
0.744714800.0684
0.749714900.0359
0.754715000.0466
0.759715100.0855
0.764815200.0690
0.769815300.0537
0.774815400.0508
0.779915500.0484
0.784915600.0308
0.789915700.0735
0.795015800.0497
0.815900.0849
0.805016000.0430
0.810116100.0798
0.815116200.0141
0.820116300.0784
0.825216400.0705
0.830216500.0660
0.835216600.0415
0.840316700.0572
0.845316800.0720
0.850316900.1078
0.855317000.0533
0.860417100.0613
0.865417200.0544
0.870417300.0973
0.875517400.0298
0.880517500.0825
0.885517600.0694
0.890617700.0362
0.895617800.0529
0.900617900.0840
0.905718000.0738
0.910718100.0634
0.915718200.0588
0.920818300.0353
0.925818400.0677
0.930818500.0558
0.935818600.0357
0.940918700.0330
0.945918800.0871
0.950918900.0345
0.956019000.0644
0.961019100.0777
0.966019200.0493
0.971119300.0607
0.976119400.1466
0.981119500.0523
0.986219600.0741
0.991219700.0658
0.996219800.0340
1.001019900.0348
1.006020000.0866
1.011120100.0249
1.016120200.0482
1.021120300.0482
1.026220400.0709
1.031220500.0406
1.036220600.0343
1.041320700.0574
1.046320800.0546
1.051320900.0194
1.056421000.0961
1.061421100.0425
1.066421200.0638
1.071421300.0180
1.076521400.0917
1.081521500.0394
1.086521600.0655
1.091621700.0600
1.096621800.0832
1.101621900.0472
1.106722000.0620
1.111722100.0267
1.116722200.0687
1.121822300.0519
1.126822400.0268
1.131822500.0440
1.136922600.0526
1.141922700.0839
1.146922800.0373
1.151922900.0440
1.157023000.0386
1.162023100.0700
1.167023200.0363
1.172123300.0556
1.177123400.0294
1.182123500.0423
1.187223600.0307
1.192223700.0325
1.197223800.0933
1.202323900.0284
1.207324000.0476
1.212324100.0138
1.217424200.0375
1.222424300.0376
1.227424400.0376
1.232524500.0293
1.237524600.0555
1.242524700.0278
1.247524800.0584
1.252624900.0252
1.257625000.0861
1.262625100.0144
1.267725200.0522
1.272725300.0392
1.277725400.0243
1.282825500.0770
1.287825600.0286
1.292825700.0620
1.297925800.0516
1.302925900.0785
1.307926000.0504
1.313026100.0471
1.318026200.1110
1.323026300.0335
1.328126400.0769
1.333126500.0395
1.338126600.0289
1.343126700.0276
1.348226800.0357
1.353226900.0881
1.358227000.0604
1.363327100.0628
1.368327200.0340
1.373327300.0763
1.378427400.0628
1.383427500.0368
1.388427600.0357
1.393527700.0553
1.398527800.0454
1.403527900.0212
1.408628000.0815
1.413628100.0784
1.418628200.0939
1.423628300.0330
1.428728400.0513
1.433728500.0681
1.438728600.1143
1.443828700.0478
1.448828800.0464
1.453828900.0441
1.458929000.0442
1.463929100.0580
1.468929200.0588
1.474029300.0299
1.479029400.0685
1.484029500.0199
1.489129600.0442
1.494129700.0336
1.499129800.0425
1.504229900.0220
1.509230000.0250
1.514230100.0767
1.519230200.0480
1.524330300.0700
1.529330400.0214
1.534330500.0545
1.539430600.0278
1.544430700.0277
1.549430800.0431
1.554530900.0657
1.559531000.0161
1.564531100.0311
1.569631200.0275
1.574631300.0714
1.579631400.0282
1.584731500.0428
1.589731600.0670
1.594731700.0401
1.599731800.0498
1.604831900.0400
1.609832000.0515
1.614832100.0855
1.619932200.0455
1.624932300.0395
1.629932400.0201
1.635032500.1009
1.640032600.0409
1.645032700.0462
1.650132800.0440
1.655132900.0482
1.660133000.0750
1.665233100.0671
1.670233200.0507
1.675233300.0312
1.680333400.0346
1.685333500.0382
1.690333600.0340
1.695333700.0361
1.700433800.0521
1.705433900.0433
1.710434000.0406
1.715534100.0544
1.720534200.0448
1.725534300.0506
1.730634400.0423
1.735634500.0398
1.740634600.0209
1.745734700.0447
1.750734800.0527
1.755734900.0554
1.760835000.0279
1.765835100.0391
1.770835200.0389
1.775835300.0258
1.780935400.0219
1.785935500.0786
1.790935600.0389
1.796035700.0412
1.801035800.0754
1.806035900.0887
1.811136000.0447
1.816136100.0825
1.821136200.0232
1.826236300.0372
1.831236400.0267
1.836236500.0280
1.841336600.0464
1.846336700.0758
1.851336800.0291
1.856436900.0544
1.861437000.0414
1.866437100.0280
1.871437200.0390
1.876537300.0572
1.881537400.0462
1.886537500.0225
1.891637600.0332
1.896637700.0593
1.901637800.0670
1.906737900.0710
1.911738000.0380
1.916738100.0385
1.921838200.0388
1.926838300.0710
1.931838400.0580
1.936938500.0456
1.941938600.0475
1.946938700.0433
1.951938800.0262
1.957038900.0733
1.962039000.0207
1.967039100.0555
1.972139200.0518
1.977139300.0981
1.982139400.0443
1.987239500.0342
1.992239600.0360
1.997239700.0552

</details>

Training Time

  • —Training: 1.3 hours

Framework Versions

  • —Python: 3.12.3
  • —Sentence Transformers: 5.4.1
  • —Transformers: 5.5.4
  • —PyTorch: 2.9.1+cu128
  • —Accelerate: 1.12.0
  • —Datasets: 4.5.0
  • —Tokenizers: 0.22.2

Citation

BibTeX

Stance-Aware Text Retrieval
bibtex
@misc{sparacino2026embeddingmodelsstanceawareargument,
      title={Embedding Models for Stance-Aware Argument Retrieval}, 
      author={Angelo Sparacino and Francesca Toni and Adam Dejl},
      year={2026},
      eprint={2608.28283},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2608.28283}, 
}
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",
}
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. -->