CoolFace
Modelpublic

sobamchan/roberta-large-no-mrl

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes78downloads
Model Card

SentenceTransformer based on FacebookAI/roberta-large

This is a sentence-transformers model finetuned from FacebookAI/roberta-large on the all-nli dataset. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Model Details

Model Description

  • Model Type: Sentence Transformer
  • Base model: FacebookAI/roberta-large <!-- at revision 722cf37b1afa9454edce342e7895e588b6ff1d59 -->
  • Maximum Sequence Length: 512 tokens
  • Output Dimensionality: 1024 dimensions
  • Similarity Function: Cosine Similarity
  • Training Dataset:
  • all-nli
  • Language: en <!-- - License: Unknown -->

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': False, 'architecture': 'RobertaModel'})
  (1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, '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("sentence_transformers_model_id")
# Run inference
sentences = [
    'A construction worker peeking out of a manhole while his coworker sits on the sidewalk smiling.',
    'A worker is looking out of a manhole.',
    'The workers are both inside the manhole.',
]
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.8065, 0.5747],
#         [0.8065, 1.0000, 0.6756],
#         [0.5747, 0.6756, 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. -->

Evaluation

Metrics

Semantic Similarity
Metricsts-devsts-test
pearson_cosine0.74510.71
spearman_cosine0.76490.7351

<!--

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

all-nli
  • Dataset: all-nli at d482672
  • Size: 557,850 training samples
  • Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
  • Approximate statistics based on the first 1000 samples: | | anchor | positive | negative | |:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------| | type | string | string | string | | details | <ul><li>min: 7 tokens</li><li>mean: 10.38 tokens</li><li>max: 45 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 12.8 tokens</li><li>max: 39 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 13.4 tokens</li><li>max: 50 tokens</li></ul> |
  • Samples: | anchor | positive | negative | |:---------------------------------------------------------------------------|:-------------------------------------------------|:-----------------------------------------------------------| | <code>A person on a horse jumps over a broken down airplane.</code> | <code>A person is outdoors, on a horse.</code> | <code>A person is at a diner, ordering an omelette.</code> | | <code>Children smiling and waving at camera</code> | <code>There are children present</code> | <code>The kids are frowning</code> | | <code>A boy is jumping on skateboard in the middle of a red bridge.</code> | <code>The boy does a skateboarding trick.</code> | <code>The boy skates down the sidewalk.</code> |
  • Loss: <code>MatryoshkaLoss</code> with these parameters:
json
  {
      "loss": "MultipleNegativesRankingLoss",
      "matryoshka_dims": [
          768
      ],
      "matryoshka_weights": [
          1
      ],
      "n_dims_per_step": -1
  }

Evaluation Dataset

all-nli
  • Dataset: all-nli at d482672
  • Size: 6,584 evaluation samples
  • Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
  • Approximate statistics based on the first 1000 samples: | | anchor | positive | negative | |:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------| | type | string | string | string | | details | <ul><li>min: 6 tokens</li><li>mean: 18.02 tokens</li><li>max: 66 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 9.81 tokens</li><li>max: 29 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 10.37 tokens</li><li>max: 29 tokens</li></ul> |
  • Samples: | anchor | positive | negative | |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------|:--------------------------------------------------------| | <code>Two women are embracing while holding to go packages.</code> | <code>Two woman are holding packages.</code> | <code>The men are fighting outside a deli.</code> | | <code>Two young children in blue jerseys, one with the number 9 and one with the number 2 are standing on wooden steps in a bathroom and washing their hands in a sink.</code> | <code>Two kids in numbered jerseys wash their hands.</code> | <code>Two kids in jackets walk to school.</code> | | <code>A man selling donuts to a customer during a world exhibition event held in the city of Angeles</code> | <code>A man selling donuts to a customer.</code> | <code>A woman drinks her coffee in a small cafe.</code> |
  • Loss: <code>MatryoshkaLoss</code> with these parameters:
json
  {
      "loss": "MultipleNegativesRankingLoss",
      "matryoshka_dims": [
          768
      ],
      "matryoshka_weights": [
          1
      ],
      "n_dims_per_step": -1
  }

Training Hyperparameters

Non-Default Hyperparameters
  • eval_strategy: steps
  • per_device_train_batch_size: 32
  • per_device_eval_batch_size: 32
  • num_train_epochs: 15
  • warmup_ratio: 0.1
All Hyperparameters

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

  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: steps
  • prediction_loss_only: True
  • per_device_train_batch_size: 32
  • per_device_eval_batch_size: 32
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 1
  • eval_accumulation_steps: None
  • torch_empty_cache_steps: None
  • learning_rate: 5e-05
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 15
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.1
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • save_safetensors: True
  • save_on_each_node: False
  • save_only_model: False
  • restore_callback_states_from_checkpoint: False
  • no_cuda: False
  • use_cpu: False
  • use_mps_device: False
  • seed: 42
  • data_seed: None
  • jit_mode_eval: False
  • bf16: False
  • fp16: False
  • fp16_opt_level: O1
  • half_precision_backend: auto
  • bf16_full_eval: False
  • fp16_full_eval: False
  • tf32: None
  • local_rank: 0
  • ddp_backend: None
  • tpu_num_cores: None
  • tpu_metrics_debug: False
  • debug: []
  • dataloader_drop_last: False
  • dataloader_num_workers: 0
  • dataloader_prefetch_factor: None
  • past_index: -1
  • disable_tqdm: False
  • remove_unused_columns: True
  • label_names: None
  • load_best_model_at_end: False
  • ignore_data_skip: False
  • fsdp: []
  • fsdp_min_num_params: 0
  • fsdp_config: {'minnumparams': 0, 'xla': False, 'xlafsdpv2': False, 'xlafsdpgrad_ckpt': False}
  • fsdp_transformer_layer_cls_to_wrap: None
  • accelerator_config: {'splitbatches': False, 'dispatchbatches': None, 'evenbatches': True, 'useseedablesampler': True, 'nonblocking': False, 'gradientaccumulationkwargs': None}
  • parallelism_config: None
  • deepspeed: None
  • label_smoothing_factor: 0.0
  • optim: adamwtorchfused
  • optim_args: None
  • adafactor: False
  • group_by_length: False
  • length_column_name: length
  • project: huggingface
  • trackio_space_id: trackio
  • ddp_find_unused_parameters: None
  • ddp_bucket_cap_mb: None
  • ddp_broadcast_buffers: False
  • dataloader_pin_memory: True
  • dataloader_persistent_workers: False
  • skip_memory_metrics: True
  • use_legacy_prediction_loop: False
  • push_to_hub: False
  • resume_from_checkpoint: None
  • hub_model_id: None
  • hub_strategy: every_save
  • hub_private_repo: None
  • hub_always_push: False
  • hub_revision: None
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_inputs_for_metrics: False
  • include_for_metrics: []
  • eval_do_concat_batches: True
  • fp16_backend: auto
  • push_to_hub_model_id: None
  • push_to_hub_organization: None
  • mp_parameters:
  • auto_find_batch_size: False
  • full_determinism: False
  • torchdynamo: None
  • ray_scope: last
  • ddp_timeout: 1800
  • torch_compile: False
  • torch_compile_backend: None
  • torch_compile_mode: None
  • include_tokens_per_second: False
  • include_num_input_tokens_seen: no
  • neftune_noise_alpha: None
  • optim_target_modules: None
  • batch_eval_metrics: False
  • eval_on_start: False
  • use_liger_kernel: False
  • liger_kernel_config: None
  • eval_use_gather_object: False
  • average_tokens_across_devices: True
  • 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 LossValidation Losssts-dev_spearman_cosinests-test_spearman_cosine
-1-1--0.5730-
0.02875002.6580.67550.8371-
0.057410000.84830.37920.8641-
0.086015000.64590.30360.8668-
0.114720000.570.26050.8709-
0.143425000.52110.25030.8685-
0.172130000.49470.23670.8770-
0.200835000.46510.21540.8688-
0.229440000.43860.21540.8716-
0.258145000.43510.21280.8766-
0.286850000.41890.20610.8751-
0.315555000.39890.20280.8744-
0.344260000.40640.19980.8768-
0.372965000.40560.20440.8718-
0.401570000.39750.19530.8644-
0.430275000.37990.20790.8629-
0.458980000.35620.20590.8656-
0.487685000.37890.19910.8637-
0.516390000.38120.19410.8666-
0.544995000.36970.20860.8655-
0.5736100000.35290.20410.8649-
0.6023105000.35910.20990.8606-
0.6310110000.34790.20680.8588-
0.6597115000.35320.19410.8615-
0.6883120000.34440.19490.8633-
0.7170125000.35740.21720.8560-
0.7457130000.35810.20730.8460-
0.7744135000.35010.21080.8592-
0.8031140000.33970.20870.8554-
0.8318145000.34680.21640.8655-
0.8604150000.34140.20550.8537-
0.8891155000.34410.22220.8549-
0.9178160000.34570.21530.8561-
0.9465165000.34320.22150.8532-
0.9752170000.33150.22370.8541-
1.0038175000.32720.22920.8451-
1.0325180000.30150.22570.8472-
1.0612185000.30410.22240.8370-
1.0899190000.30160.22070.8411-
1.1186195000.31130.23310.8464-
1.1472200000.32740.24270.8393-
1.1759205000.32150.24050.8395-
1.2046210000.32680.23320.8505-
1.2333215000.33240.23390.8351-
1.2620220000.31280.24500.8423-
1.2907225000.32470.25460.8457-
1.3193230000.34320.23660.8429-
1.3480235000.33240.24960.8414-
1.3767240000.33010.24240.8451-
1.4054245000.3310.24720.8431-
1.4341250000.32730.28290.8421-
1.4627255000.37680.26150.8395-
1.4914260000.34090.27450.8323-
1.5201265000.32490.25750.8317-
1.5488270000.3390.26510.8303-
1.5775275000.38730.26240.8406-
1.6061280000.33760.26230.8335-
1.6348285000.34970.27070.8336-
1.6635290000.33320.26940.8421-
1.6922295000.34390.26320.8398-
1.7209300000.34690.27480.8397-
1.7496305000.34080.30370.8194-
1.7782310000.33130.25870.8308-
1.8069315000.350.27830.8315-
1.8356320000.32730.26450.8191-
1.8643325000.34090.25070.8396-
1.8930330000.3380.27420.8338-
1.9216335000.31640.26750.8289-
1.9503340000.33340.26720.8365-
1.9790345000.32750.27730.8411-
2.0077350000.33230.27580.8302-
2.0364355000.28370.27110.8254-
2.0650360000.3410.26090.8347-
2.0937365000.28280.26150.8298-
2.1224370000.2990.27070.8228-
2.1511375000.29010.28460.8156-
2.1798380000.33160.25790.8275-
2.2085385000.28370.27200.8220-
2.2371390000.28440.29370.8139-
2.2658395000.30280.29670.8260-
2.2945400000.28570.27850.8235-
2.3232405000.29750.26480.8339-
2.3519410000.28810.28180.8163-
2.3805415000.30470.28110.8219-
2.4092420000.3150.29150.8067-
2.4379425000.30440.28710.8124-
2.4666430000.34540.44590.7998-
2.4953435000.30650.28000.8248-
2.5239440000.30110.35240.7959-
2.5526445000.29230.29350.8167-
2.5813450000.31050.27520.8165-
2.6100455000.30290.29900.8139-
2.6387460000.31020.30410.8111-
2.6674465000.29920.28260.8169-
2.6960470000.29540.26560.8226-
2.7247475000.29390.28610.8014-
2.7534480000.28710.27990.8076-
2.7821485000.28780.26940.8128-
2.8108490000.28790.27900.8168-
2.8394495000.27590.29070.8162-
2.8681500000.28240.28290.8149-
2.8968505000.28350.29800.8198-
2.9255510000.29140.29340.8030-
2.9542515000.30280.28980.8149-
2.9828520000.27440.28730.8210-
3.0115525000.26740.28720.8225-
3.0402530000.23190.28490.8136-
3.0689535000.24110.31130.8129-
3.0976540000.25640.27830.8207-
3.1263545000.25080.27510.8201-
3.1549550000.23180.27480.8236-
3.1836555000.25870.29450.8007-
3.2123560000.26970.28820.8217-
3.2410565000.25350.29170.8179-
3.2697570000.250.27520.8173-
3.2983575000.22990.29460.8070-
3.3270580000.24180.28320.8207-
3.3557585000.250.27610.8154-
3.3844590000.24220.27630.8173-
3.4131595000.25980.27720.8183-
3.4417600000.23530.28280.8199-
3.4704605000.23620.28270.8154-
3.4991610000.2310.28690.8040-
3.5278615000.23260.28620.7984-
3.5565620000.24240.27690.8225-
3.5852625000.24920.26910.8112-
3.6138630000.23440.26800.8070-
3.6425635000.25790.27360.8196-
3.6712640000.22940.28610.8165-
3.6999645000.24030.27440.8140-
3.7286650000.24060.26800.8119-
3.7572655000.25290.27030.8179-
3.7859660000.24640.28030.8157-
3.8146665000.24890.27090.8069-
3.8433670000.24920.26380.8202-
3.8720675000.24010.28130.8123-
3.9006680000.24870.27200.8140-
3.9293685000.22890.27000.8145-
3.9580690000.23710.26720.8266-
3.9867695000.2390.27210.8218-
4.0154700000.22410.26690.8280-
4.0441705000.19930.27690.8083-
4.0727710000.20280.27190.8072-
4.1014715000.20190.28270.8126-
4.1301720000.2320.27040.8093-
4.1588725000.21450.27630.8154-
4.1875730000.22330.28550.8125-
4.2161735000.20290.27320.8142-
4.2448740000.21140.27880.8063-
4.2735745000.19680.28240.8078-
4.3022750000.20150.26910.8144-
4.3309755000.20520.27840.7987-
4.3595760000.21620.26950.8106-
4.3882765000.22340.26180.8123-
4.4169770000.20740.27750.8170-
4.4456775000.20860.27940.8073-
4.4743780000.20760.28360.8069-
4.5030785000.21860.26130.8182-
4.5316790000.19630.27130.8128-
4.5603795000.20580.28280.8184-
4.5890800000.21030.27160.8123-
4.6177805000.23190.28690.8031-
4.6464810000.21560.28410.7948-
4.6750815000.20170.28140.7971-
4.7037820000.21710.29960.8040-
4.7324825000.21740.27710.8061-
4.7611830000.20610.26790.7892-
4.7898835000.21680.28170.7896-
4.8184840000.21230.28680.7827-
4.8471845000.21250.27820.7980-
4.8758850000.20320.28570.8017-
4.9045855000.21770.33390.7665-
4.9332860000.20490.27610.7998-
4.9619865000.19280.28570.8029-
4.9905870000.20980.27880.7886-
5.0192875000.18690.27140.7951-
5.0479880000.17650.27830.7931-
5.0766885000.17070.28670.8087-
5.1053890000.17320.27220.8106-
5.1339895000.17780.26730.8034-
5.1626900000.17460.29450.8036-
5.1913905000.18090.27100.7987-
5.2200910000.2190.28710.8113-
5.2487915000.1770.29490.7935-
5.2773920000.18460.27610.8098-
5.3060925000.17280.28380.7929-
5.3347930000.17860.28490.7999-
5.3634935000.17830.27700.8003-
5.3921940000.17640.28680.8032-
5.4208945000.17410.28800.7912-
5.4494950000.17550.27980.8094-
5.4781955000.18450.28220.7921-
5.5068960000.17610.28560.7984-
5.5355965000.18030.27140.8006-
5.5642970000.17480.29380.7972-
5.5928975000.1810.28180.7904-
5.6215980000.17230.27730.8043-
5.6502985000.1760.27830.8099-
5.6789990000.17180.26940.7979-
5.7076995000.17240.27380.8002-
5.73621000000.18230.27810.7712-
5.76491005000.16840.26770.7971-
5.79361010000.17060.27270.7934-
5.82231015000.17420.28980.7976-
5.85101020000.16990.27460.7794-
5.87971025000.18010.26970.7909-
5.90831030000.17920.27740.7920-
5.93701035000.17190.26180.7981-
5.96571040000.18060.26570.7990-
5.99441045000.17670.29140.7838-
6.02311050000.18540.28860.7900-
6.05171055000.14490.28890.7756-
6.08041060000.14330.27720.7974-
6.10911065000.14290.29090.7976-
6.13781070000.13850.27630.7934-
6.16651075000.14520.29200.7954-
6.19511080000.14630.27150.7904-
6.22381085000.14880.28390.7982-
6.25251090000.15060.27410.8023-
6.28121095000.15240.28350.8007-
6.30991100000.14430.27200.7975-
6.33861105000.1520.28820.7896-
6.36721110000.1420.27590.8041-
6.39591115000.14310.28410.8054-
6.42461120000.14060.28570.7917-
6.45331125000.14780.32150.7817-
6.48201130000.15230.27960.7851-
6.51061135000.1480.27360.7870-
6.53931140000.14810.28350.7993-
6.56801145000.13870.28440.7914-
6.59671150000.14750.27980.7981-
6.62541155000.14630.27390.7940-
6.65401160000.14910.27390.7987-
6.68271165000.15370.27080.7965-
6.71141170000.1430.26850.8018-
6.74011175000.14810.26540.7902-
6.76881180000.14610.27410.7928-
6.79751185000.14890.27190.7965-
6.82611190000.15030.28520.7849-
6.85481195000.14350.27290.7983-
6.88351200000.14320.27030.7924-
6.91221205000.14810.26940.7889-
6.94091210000.15140.27350.7968-
6.96951215000.14240.26710.7914-
6.99821220000.1430.26260.8006-
7.02691225000.12870.27540.7856-
7.05561230000.12690.27480.7850-
7.08431235000.12250.28210.7807-
7.11291240000.12230.27530.7781-
7.14161245000.12530.26880.7972-
7.17031250000.12140.27370.7905-
7.19901255000.12080.26890.7926-
7.22771260000.1270.27540.7923-
7.25641265000.11520.27150.7867-
7.28501270000.11830.27660.7792-
7.31371275000.11950.27860.7850-
7.34241280000.11950.28850.7763-
7.37111285000.13320.27960.7868-
7.39981290000.12170.28380.7840-
7.42841295000.11910.27110.7819-
7.45711300000.12340.27520.7744-
7.48581305000.12970.26630.7802-
7.51451310000.12380.26430.7878-
7.54321315000.11960.27520.7809-
7.57181320000.11640.27440.7780-
7.60051325000.12080.26820.7722-
7.62921330000.13190.27740.7811-
7.65791335000.12080.27050.7921-
7.68661340000.13360.26810.7804-
7.71531345000.12260.30960.7763-
7.74391350000.12930.27240.7763-
7.77261355000.13090.27070.7718-
7.80131360000.12180.26360.7799-
7.83001365000.12530.28050.7719-
7.85871370000.11980.26190.7924-
7.88731375000.11950.27880.7822-
7.91601380000.12640.27950.7794-
7.94471385000.11860.26870.7811-
7.97341390000.11730.27430.7758-
8.00211395000.12160.26580.7735-
8.03071400000.10080.27250.7985-
8.05941405000.10260.27520.7897-
8.08811410000.10310.27430.7885-
8.11681415000.10190.26230.7881-
8.14551420000.10340.25900.7870-
8.17421425000.09860.27140.7872-
8.20281430000.09460.27290.7872-
8.23151435000.10180.27990.7842-
8.26021440000.10290.27960.7837-
8.28891445000.10310.27600.7832-
8.31761450000.09790.27510.7863-
8.34621455000.09580.27260.7899-
8.37491460000.09450.27090.7898-
8.40361465000.09820.27260.7944-
8.43231470000.10480.26390.7820-
8.46101475000.10060.26300.7787-
8.48961480000.10920.27160.7771-
8.51831485000.10240.26760.7903-
8.54701490000.10380.26190.7891-
8.57571495000.10320.25960.7960-
8.60441500000.10220.26600.7862-
8.63311505000.1030.27670.7863-
8.66171510000.11380.26570.7781-
8.69041515000.10710.26070.7884-
8.71911520000.0980.25670.7900-
8.74781525000.10190.26700.7854-
8.77651530000.09720.26470.7851-
8.80511535000.10890.27150.7759-
8.83381540000.1020.27990.7817-
8.86251545000.1020.27960.7808-
8.89121550000.10550.26910.7860-
8.91991555000.09890.26360.7843-
8.94851560000.09780.26710.7800-
8.97721565000.10850.27600.7889-
9.00591570000.1020.27150.7824-
9.03461575000.08290.27590.7798-
9.06331580000.08110.27280.7897-
9.09201585000.08490.26410.7757-
9.12061590000.07950.25700.7824-
9.14931595000.09140.26240.7725-
9.17801600000.0890.26770.7727-
9.20671605000.08740.26820.7760-
9.23541610000.08430.26900.7756-
9.26401615000.08050.26770.7732-
9.29271620000.090.27920.7723-
9.32141625000.08420.27270.7731-
9.35011630000.08610.26470.7737-
9.37881635000.08810.27480.7769-
9.40741640000.08380.26440.7864-
9.43611645000.08220.26090.7712-
9.46481650000.08260.26090.7787-
9.49351655000.08390.26880.7743-
9.52221660000.08630.26000.7781-
9.55091665000.08650.26630.7800-
9.57951670000.08160.25170.7738-
9.60821675000.08010.25970.7774-
9.63691680000.08490.25500.7764-
9.66561685000.08210.26290.7727-
9.69431690000.08450.26960.7737-
9.72291695000.08460.26470.7686-
9.75161700000.08180.27000.7729-
9.78031705000.08780.26200.7699-
9.80901710000.08080.26230.7672-
9.83771715000.07770.26220.7704-
9.86631720000.08350.26060.7734-
9.89501725000.07910.25680.7771-
9.92371730000.07390.26760.7747-
9.95241735000.08310.25660.7753-
9.98111740000.08570.27110.7637-
10.00981745000.07110.27180.7784-
10.03841750000.06380.26120.7787-
10.06711755000.06550.26470.7781-
10.09581760000.07020.26220.7713-
10.12451765000.06980.26720.7784-
10.15321770000.0740.26780.7844-
10.18181775000.06720.25750.7830-
10.21051780000.06850.26670.7746-
10.23921785000.06620.26500.7719-
10.26791790000.06850.26470.7743-
10.29661795000.06660.25840.7787-
10.32521800000.0730.25670.7730-
10.35391805000.06780.26650.7676-
10.38261810000.0740.26210.7727-
10.41131815000.06980.25800.7798-
10.44001820000.07290.25290.7729-
10.46871825000.06450.25480.7714-
10.49731830000.06440.25990.7742-
10.52601835000.06380.25970.7754-
10.55471840000.06560.26060.7699-
10.58341845000.06450.25760.7776-
10.61211850000.06390.26000.7730-
10.64071855000.06680.25800.7742-
10.66941860000.06410.25710.7765-
10.69811865000.06890.25920.7708-
10.72681870000.0670.25370.7672-
10.75551875000.06260.25490.7759-
10.78411880000.07040.26780.7751-
10.81281885000.06160.26920.7718-
10.84151890000.07170.25830.7750-
10.87021895000.06790.25940.7722-
10.89891900000.0640.26160.7713-
10.92761905000.06950.26670.7829-
10.95621910000.07030.26190.7834-
10.98491915000.07150.25640.7813-
11.01361920000.05940.26240.7820-
11.04231925000.05260.26160.7830-
11.07101930000.05950.26360.7799-
11.09961935000.05370.25710.7875-
11.12831940000.05890.26170.7810-
11.15701945000.0520.26320.7825-
11.18571950000.06070.26090.7829-
11.21441955000.0570.27120.7757-
11.24301960000.05870.26720.7790-
11.27171965000.05930.25850.7731-
11.30041970000.05890.27210.7706-
11.32911975000.05560.26560.7706-
11.35781980000.06220.25840.7741-
11.38651985000.05720.26950.7750-
11.41511990000.05860.26490.7755-
11.44381995000.05950.26710.7767-
11.47252000000.05630.26300.7707-
11.50122005000.05740.26420.7674-
11.52992010000.05420.26440.7740-
11.55852015000.06130.26050.7694-
11.58722020000.05930.26040.7712-
11.61592025000.05560.26280.7699-
11.64462030000.05240.26310.7728-
11.67332035000.06020.27050.7622-
11.70192040000.05820.26310.7739-
11.73062045000.05790.25730.7721-
11.75932050000.0570.25580.7774-
11.78802055000.0510.25970.7757-
11.81672060000.05590.25150.7711-
11.84542065000.05430.25660.7720-
11.87402070000.05170.25540.7763-
11.90272075000.04930.25980.7722-
11.93142080000.05670.25920.7691-
11.96012085000.05590.26180.7755-
11.98882090000.05030.26150.7804-
12.01742095000.04990.26480.7812-
12.04612100000.0470.26140.7819-
12.07482105000.05110.26320.7717-
12.10352110000.04640.26600.7693-
12.13222115000.04840.26580.7719-
12.16082120000.04650.26760.7756-
12.18952125000.04780.26890.7696-
12.21822130000.04670.25640.7684-
12.24692135000.04350.26060.7674-
12.27562140000.0480.26020.7701-
12.30432145000.04710.26410.7687-
12.33292150000.04730.25570.7683-
12.36162155000.05030.25600.7705-
12.39032160000.0440.26070.7724-
12.41902165000.0450.25790.7707-
12.44772170000.04730.26050.7679-
12.47632175000.0490.25570.7693-
12.50502180000.04820.26040.7725-
12.53372185000.0490.25530.7751-
12.56242190000.04480.25970.7667-
12.59112195000.04430.25500.7685-
12.61972200000.04890.25610.7706-
12.64842205000.04480.25730.7693-
12.67712210000.04920.25650.7645-
12.70582215000.04750.26380.7674-
12.73452220000.04670.26120.7709-
12.76322225000.04430.25890.7702-
12.79182230000.04850.26050.7720-
12.82052235000.04370.25560.7716-
12.84922240000.04420.25580.7703-
12.87792245000.04520.25890.7711-
12.90662250000.04720.25750.7715-
12.93522255000.04840.25950.7697-
12.96392260000.04320.25780.7663-
12.99262265000.04790.26130.7641-
13.02132270000.040.26610.7659-
13.05002275000.03970.25730.7703-
13.07862280000.0390.26970.7699-
13.10732285000.04280.26490.7680-
13.13602290000.03760.26370.7680-
13.16472295000.04410.26560.7646-
13.19342300000.04050.26000.7668-
13.22212305000.04380.26600.7690-
13.25072310000.04040.26350.7677-
13.27942315000.03950.25940.7684-
13.30812320000.04040.26140.7711-
13.33682325000.04280.26170.7660-
13.36552330000.03960.26020.7675-
13.39412335000.04330.25820.7676-
13.42282340000.03750.26020.7648-
13.45152345000.04040.26160.7666-
13.48022350000.03950.25940.7655-
13.50892355000.03750.26350.7618-
13.53752360000.0390.26190.7650-
13.56622365000.04210.26060.7628-
13.59492370000.04160.26420.7627-
13.62362375000.03910.26360.7636-
13.65232380000.040.26320.7638-
13.68092385000.04090.25870.7632-
13.70962390000.03860.26430.7600-
13.73832395000.03960.26160.7605-
13.76702400000.04150.26000.7652-
13.79572405000.04030.25990.7662-
13.82442410000.03770.26210.7646-
13.85302415000.03840.26000.7623-
13.88172420000.03920.25900.7617-
13.91042425000.03860.25880.7621-
13.93912430000.04050.26280.7616-
13.96782435000.03790.25620.7627-
13.99642440000.03840.26110.7616-
14.02512445000.03310.26110.7596-
14.05382450000.03720.26190.7609-
14.08252455000.03480.26460.7599-
14.11122460000.03690.26180.7610-
14.13982465000.03510.26300.7588-
14.16852470000.03140.26390.7608-
14.19722475000.03890.25990.7606-
14.22592480000.03970.26300.7617-
14.25462485000.03520.26130.7642-
14.28332490000.03750.26210.7654-
14.31192495000.04080.26300.7622-
14.34062500000.03130.26330.7640-
14.36932505000.03620.26350.7629-
14.39802510000.03680.26240.7640-
14.42672515000.03670.26470.7630-
14.45532520000.03520.26200.7646-
14.48402525000.03120.26400.7646-
14.51272530000.03160.26360.7643-
14.54142535000.03430.26190.7638-
14.57012540000.03630.26290.7635-
14.59872545000.03270.26190.7654-
14.62742550000.03640.26350.7659-
14.65612555000.0350.26510.7640-
14.68482560000.03690.26520.7635-
14.71352565000.0370.26510.7645-
14.74222570000.03410.26430.7644-
14.77082575000.03790.26390.7648-
14.79952580000.03310.26290.7645-
14.82822585000.03090.26280.7650-
14.85692590000.03190.26320.7651-
14.88562595000.03420.26400.7646-
14.91422600000.03440.26370.7648-
14.94292605000.03710.26370.7648-
14.97162610000.03640.26370.7649-
-1-1---0.7351

</details>

Framework Versions

  • Python: 3.13.0
  • Sentence Transformers: 5.1.2
  • Transformers: 4.57.1
  • PyTorch: 2.9.1+cu128
  • Accelerate: 1.11.0
  • Datasets: 4.4.1
  • Tokenizers: 0.22.1

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{henderson2017efficient,
    title={Efficient Natural Language Response Suggestion for Smart Reply},
    author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
    year={2017},
    eprint={1705.00652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

<!--

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