CoolFace
Modelpublic

sobamchan/roberta-base-mrl-768-512-256-128-64

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

SentenceTransformer based on FacebookAI/roberta-base

This is a sentence-transformers model finetuned from FacebookAI/roberta-base on the all-nli dataset. It maps sentences & paragraphs to a 768-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-base <!-- at revision e2da8e2f811d1448a5b465c236feacd80ffbac7b -->
  • —Maximum Sequence Length: 512 tokens
  • —Output Dimensionality: 768 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': 768, '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, 768]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.6264, 0.0948],
#         [0.6264, 1.0000, 0.2493],
#         [0.0948, 0.2493, 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.82420.7899
spearman_cosine0.82590.7921

<!--

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,
          512,
          256,
          128,
          64
      ],
      "matryoshka_weights": [
          1,
          1,
          1,
          1,
          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,
          512,
          256,
          128,
          64
      ],
      "matryoshka_weights": [
          1,
          1,
          1,
          1,
          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.6500-
0.028750012.98344.44460.8142-
0.057410005.05582.63360.8433-
0.086015004.06772.10550.8449-
0.114720003.55541.84250.8488-
0.143425003.17311.68270.8506-
0.172130002.99981.60200.8574-
0.200835002.84791.51380.8518-
0.229440002.63911.47760.8531-
0.258145002.61231.43010.8609-
0.286850002.47321.35460.8591-
0.315555002.39691.30390.8591-
0.344260002.39971.32330.8656-
0.372965002.37581.30310.8595-
0.401570002.34031.25850.8578-
0.430275002.20491.30440.8553-
0.458980002.12951.25800.8525-
0.487685002.22811.25840.8576-
0.516390002.22911.24830.8470-
0.544995002.14011.27570.8610-
0.5736100002.02971.28190.8525-
0.6023105002.06161.22090.8499-
0.6310110001.96471.24640.8547-
0.6597115002.00161.18470.8503-
0.6883120001.94461.20700.8525-
0.7170125001.97371.24140.8557-
0.7457130001.96481.18600.8508-
0.7744135001.92011.22260.8496-
0.8031140001.85541.22280.8484-
0.8318145001.88681.24390.8603-
0.8604150001.87921.17130.8495-
0.8891155001.88121.18050.8519-
0.9178160001.85161.23160.8514-
0.9465165001.80071.22690.8461-
0.9752170001.76031.23130.8490-
1.0038175001.71371.20670.8416-
1.0325180001.54881.19280.8384-
1.0612185001.58851.23420.8400-
1.0899190001.5871.21920.8470-
1.1186195001.58471.23620.8412-
1.1472200001.64771.31480.8488-
1.1759205001.57911.25970.8412-
1.2046210001.63221.29910.8431-
1.2333215001.65871.29760.8355-
1.2620220001.54711.30570.8479-
1.2907225001.59541.31600.8394-
1.3193230001.59611.33060.8393-
1.3480235001.61751.32240.8338-
1.3767240001.581.32980.8423-
1.4054245001.58111.26040.8372-
1.4341250001.54881.32240.8380-
1.4627255001.59051.35100.8395-
1.4914260001.57591.38300.8355-
1.5201265001.53441.36780.8328-
1.5488270001.55021.34850.8268-
1.5775275001.60841.34260.8345-
1.6061280001.54941.30620.8434-
1.6348285001.57051.28550.8384-
1.6635290001.50431.34510.8387-
1.6922295001.54791.30920.8405-
1.7209300001.55691.28770.8352-
1.7496305001.48111.30880.8375-
1.7782310001.5031.26470.8407-
1.8069315001.54161.37380.8445-
1.8356320001.44591.26740.8474-
1.8643325001.50381.27000.8440-
1.8930330001.45591.29640.8420-
1.9216335001.38291.31900.8395-
1.9503340001.47521.32360.8413-
1.9790345001.43661.29680.8402-
2.0077350001.38961.31260.8433-
2.0364355001.09031.32620.8322-
2.0650360001.14661.27080.8427-
2.0937365001.14981.27160.8434-
2.1224370001.16931.32250.8473-
2.1511375001.14371.31530.8346-
2.1798380001.18131.33880.8340-
2.2085385001.10341.28520.8428-
2.2371390001.08811.29780.8432-
2.2658395001.13661.29860.8397-
2.2945400001.12611.28110.8397-
2.3232405001.1361.31650.8372-
2.3519410001.11461.27360.8423-
2.3805415001.14841.28220.8411-
2.4092420001.10521.21530.8443-
2.4379425001.08381.28900.8395-
2.4666430001.0991.30820.8446-
2.4953435001.10381.31950.8352-
2.5239440001.08131.25160.8348-
2.5526445001.10781.34280.8381-
2.5813450001.10941.23940.8324-
2.6100455001.05941.27510.8369-
2.6387460001.09941.26070.8312-
2.6674465001.09461.23260.8308-
2.6960470001.05751.29570.8316-
2.7247475001.09361.33580.8234-
2.7534480001.04491.24340.8358-
2.7821485001.00781.32990.8292-
2.8108490001.09291.30790.8291-
2.8394495001.05171.25750.8338-
2.8681500001.03851.25550.8388-
2.8968505001.04581.27320.8368-
2.9255510001.05251.32050.8327-
2.9542515001.02721.27070.8428-
2.9828520000.99771.28540.8401-
3.0115525000.91161.36670.8371-
3.0402530000.79871.26100.8437-
3.0689535000.82971.30180.8428-
3.0976540000.83091.33200.8406-
3.1263545000.83541.28980.8353-
3.1549550000.82091.29370.8369-
3.1836555000.83461.27450.8413-
3.2123560000.80021.26470.8382-
3.2410565000.8281.32190.8351-
3.2697570000.81461.26710.8421-
3.2983575000.78831.25760.8430-
3.3270580000.80371.27470.8402-
3.3557585000.83121.25270.8371-
3.3844590000.82391.31480.8344-
3.4131595000.81051.29510.8349-
3.4417600000.78241.30180.8330-
3.4704605000.78641.27490.8338-
3.4991610000.77131.27630.8368-
3.5278615000.78461.30690.8343-
3.5565620000.81371.27460.8372-
3.5852625000.80861.28580.8326-
3.6138630000.75811.31380.8373-
3.6425635000.87431.29050.8375-
3.6712640000.791.26790.8425-
3.6999645000.80281.30270.8392-
3.7286650000.79231.26780.8388-
3.7572655000.86281.28830.8362-
3.7859660000.80071.24760.8356-
3.8146665000.81631.29410.8327-
3.8433670000.81471.26950.8328-
3.8720675000.8061.27370.8393-
3.9006680000.80171.25500.8380-
3.9293685000.77351.29120.8357-
3.9580690000.79361.28770.8403-
3.9867695000.79621.25250.8387-
4.0154700000.69951.29010.8382-
4.0441705000.63761.31320.8381-
4.0727710000.62681.32630.8401-
4.1014715000.63391.30050.8321-
4.1301720000.59271.31810.8355-
4.1588725000.6741.30450.8361-
4.1875730000.60861.28310.8296-
4.2161735000.60551.23990.8369-
4.2448740000.60891.28370.8354-
4.2735745000.62011.27980.8370-
4.3022750000.61121.23720.8404-
4.3309755000.62281.31010.8372-
4.3595760000.64111.28840.8371-
4.3882765000.67051.27820.8376-
4.4169770000.62081.26180.8346-
4.4456775000.62431.27730.8417-
4.4743780000.65981.27460.8423-
4.5030785000.62651.31350.8350-
4.5316790000.62851.29450.8316-
4.5603795000.65141.29470.8373-
4.5890800000.62221.28610.8358-
4.6177805000.64991.31380.8352-
4.6464810000.65281.26330.8347-
4.6750815000.6471.23000.8353-
4.7037820000.63391.31990.8304-
4.7324825000.62411.27450.8379-
4.7611830000.61961.27500.8333-
4.7898835000.64151.26560.8319-
4.8184840000.62851.26750.8349-
4.8471845000.67041.26920.8424-
4.8758850000.63461.30310.8366-
4.9045855000.63321.28190.8327-
4.9332860000.62011.25380.8396-
4.9619865000.59931.25760.8335-
4.9905870000.62331.24940.8403-
5.0192875000.54491.24620.8431-
5.0479880000.5221.32050.8367-
5.0766885000.50461.28280.8404-
5.1053890000.50021.29800.8343-
5.1339895000.50241.28790.8413-
5.1626900000.49961.30130.8345-
5.1913905000.51841.26220.8326-
5.2200910000.50011.24290.8405-
5.2487915000.48991.25390.8314-
5.2773920000.51631.21230.8359-
5.3060925000.51241.25290.8321-
5.3347930000.53991.28680.8359-
5.3634935000.50951.22170.8355-
5.3921940000.51541.27640.8393-
5.4208945000.49041.26530.8386-
5.4494950000.49241.26850.8374-
5.4781955000.52011.24940.8280-
5.5068960000.51721.24790.8401-
5.5355965000.53851.30590.8389-
5.5642970000.50291.29220.8371-
5.5928975000.51581.28820.8394-
5.6215980000.50841.30590.8298-
5.6502985000.49911.23310.8354-
5.6789990000.52111.30250.8335-
5.7076995000.51061.26240.8374-
5.73621000000.53291.22380.8335-
5.76491005000.49821.28900.8362-
5.79361010000.48561.30220.8347-
5.82231015000.51951.27740.8434-
5.85101020000.50121.23180.8409-
5.87971025000.50861.31520.8296-
5.90831030000.54221.21870.8322-
5.93701035000.48631.25110.8358-
5.96571040000.5361.24100.8303-
5.99441045000.50821.23990.8369-
6.02311050000.45421.30840.8309-
6.05171055000.41021.28520.8337-
6.08041060000.39111.28050.8333-
6.10911065000.42271.28530.8342-
6.13781070000.39231.31400.8347-
6.16651075000.40271.28360.8337-
6.19511080000.42681.27880.8335-
6.22381085000.43371.31350.8289-
6.25251090000.41521.27830.8375-
6.28121095000.43861.38630.8171-
6.30991100000.42691.27860.8344-
6.33861105000.45121.27460.8272-
6.36721110000.38791.30430.8382-
6.39591115000.39961.30950.8346-
6.42461120000.39421.30810.8339-
6.45331125000.4131.26500.8392-
6.48201130000.42431.28720.8348-
6.51061135000.4031.29700.8380-
6.53931140000.41511.27040.8383-
6.56801145000.40371.29720.8331-
6.59671150000.42691.33800.8376-
6.62541155000.42331.29270.8336-
6.65401160000.42891.27840.8337-
6.68271165000.43731.26340.8396-
6.71141170000.39961.29340.8356-
6.74011175000.40761.27930.8363-
6.76881180000.40911.31620.8300-
6.79751185000.40021.31680.8379-
6.82611190000.41281.28750.8385-
6.85481195000.38721.32450.8353-
6.88351200000.40911.27630.8406-
6.91221205000.39551.30500.8390-
6.94091210000.42231.28190.8340-
6.96951215000.42261.29820.8310-
6.99821220000.39731.26590.8354-
7.02691225000.35071.31660.8325-
7.05561230000.36651.27390.8373-
7.08431235000.32851.31480.8344-
7.11291240000.34411.28130.8390-
7.14161245000.33341.29390.8378-
7.17031250000.36161.28350.8372-
7.19901255000.34241.31630.8334-
7.22771260000.37291.31790.8333-
7.25641265000.34181.26710.8385-
7.28501270000.34251.29640.8338-
7.31371275000.33481.30230.8355-
7.34241280000.32611.30490.8408-
7.37111285000.37751.29120.8388-
7.39981290000.35121.31200.8340-
7.42841295000.34871.28790.8355-
7.45711300000.33461.29940.8298-
7.48581305000.36851.30900.8311-
7.51451310000.36041.28410.8314-
7.54321315000.35251.28410.8274-
7.57181320000.34061.26830.8310-
7.60051325000.34641.27900.8304-
7.62921330000.35591.23810.8327-
7.65791335000.34631.28640.8343-
7.68661340000.37481.25160.8307-
7.71531345000.35751.25590.8286-
7.74391350000.33181.27820.8254-
7.77261355000.35891.28260.8265-
7.80131360000.34731.25720.8337-
7.83001365000.32841.25990.8322-
7.85871370000.33341.30100.8307-
7.88731375000.32531.26550.8330-
7.91601380000.34021.27530.8343-
7.94471385000.3451.25210.8338-
7.97341390000.32091.27310.8327-
8.00211395000.34811.28010.8296-
8.03071400000.28291.34380.8363-
8.05941405000.28891.31690.8290-
8.08811410000.29331.33440.8306-
8.11681415000.30981.28970.8317-
8.14551420000.28461.32960.8342-
8.17421425000.27381.33880.8254-
8.20281430000.27411.32940.8266-
8.23151435000.31331.31060.8303-
8.26021440000.30431.33150.8284-
8.28891445000.32571.28670.8319-
8.31761450000.2991.29850.8293-
8.34621455000.28371.34430.8301-
8.37491460000.28861.30920.8316-
8.40361465000.28371.30530.8309-
8.43231470000.28981.30650.8285-
8.46101475000.29671.29680.8301-
8.48961480000.30621.33150.8288-
8.51831485000.30991.29540.8310-
8.54701490000.29061.28780.8282-
8.57571495000.31141.34830.8259-
8.60441500000.27841.29670.8318-
8.63311505000.29771.30320.8331-
8.66171510000.31941.30090.8336-
8.69041515000.2921.27830.8331-
8.71911520000.29091.32430.8357-
8.74781525000.28671.31350.8316-
8.77651530000.27621.31960.8362-
8.80511535000.29731.33270.8344-
8.83381540000.29761.35330.8332-
8.86251545000.2811.29600.8356-
8.89121550000.28851.28330.8347-
8.91991555000.2861.28730.8367-
8.94851560000.28511.31460.8308-
8.97721565000.29991.32250.8313-
9.00591570000.28121.34810.8290-
9.03461575000.24151.33870.8276-
9.06331580000.22821.36570.8310-
9.09201585000.23151.34220.8332-
9.12061590000.22711.32700.8338-
9.14931595000.25781.34090.8346-
9.17801600000.25341.36820.8263-
9.20671605000.2521.34800.8292-
9.23541610000.24261.31180.8324-
9.26401615000.2411.32440.8342-
9.29271620000.26411.35500.8300-
9.32141625000.2351.36330.8281-
9.35011630000.23761.32470.8295-
9.37881635000.25331.28850.8280-
9.40741640000.24961.28800.8262-
9.43611645000.25421.31470.8303-
9.46481650000.23981.30210.8283-
9.49351655000.2551.35470.8331-
9.52221660000.25661.33920.8322-
9.55091665000.2531.34710.8311-
9.57951670000.25211.32550.8320-
9.60821675000.24311.33920.8286-
9.63691680000.24551.31460.8325-
9.66561685000.23791.31770.8359-
9.69431690000.24461.31570.8338-
9.72291695000.2441.27920.8323-
9.75161700000.2431.28830.8327-
9.78031705000.26071.27890.8342-
9.80901710000.24571.30220.8286-
9.83771715000.25561.32120.8319-
9.86631720000.24831.29600.8326-
9.89501725000.23371.29570.8349-
9.92371730000.22791.35910.8322-
9.95241735000.25371.32590.8320-
9.98111740000.25011.31930.8283-
10.00981745000.23421.30310.8306-
10.03841750000.21071.30390.8320-
10.06711755000.21441.32540.8299-
10.09581760000.21951.33100.8289-
10.12451765000.22241.33310.8283-
10.15321770000.23141.34700.8290-
10.18181775000.20741.34480.8295-
10.21051780000.21441.35020.8289-
10.23921785000.21651.34070.8321-
10.26791790000.22251.33360.8300-
10.29661795000.20491.33220.8325-
10.32521800000.2351.30990.8291-
10.35391805000.2231.36540.8285-
10.38261810000.24861.34030.8318-
10.41131815000.21111.32130.8294-
10.44001820000.22721.35350.8311-
10.46871825000.21281.34550.8282-
10.49731830000.20871.32520.8326-
10.52601835000.21341.33600.8328-
10.55471840000.19551.32680.8345-
10.58341845000.20611.34990.8300-
10.61211850000.20891.33250.8294-
10.64071855000.21521.36300.8318-
10.66941860000.20861.32660.8285-
10.69811865000.21631.31300.8299-
10.72681870000.22181.30090.8317-
10.75551875000.19451.30640.8337-
10.78411880000.23231.32160.8319-
10.81281885000.19931.33340.8330-
10.84151890000.23021.31990.8315-
10.87021895000.20951.35270.8309-
10.89891900000.20191.31950.8335-
10.92761905000.21791.32580.8289-
10.95621910000.22641.28520.8345-
10.98491915000.23111.29490.8336-
11.01361920000.18461.32960.8317-
11.04231925000.17731.30000.8316-
11.07101930000.2061.33700.8324-
11.09961935000.18611.34700.8267-
11.12831940000.21171.33550.8300-
11.15701945000.17561.34560.8265-
11.18571950000.20771.34320.8272-
11.21441955000.19971.34280.8280-
11.24301960000.1981.30040.8309-
11.27171965000.18411.34370.8272-
11.30041970000.19271.32170.8326-
11.32911975000.19051.34240.8270-
11.35781980000.20111.33160.8251-
11.38651985000.19011.33850.8279-
11.41511990000.20031.33660.8264-
11.44381995000.20991.32820.8320-
11.47252000000.18381.31510.8317-
11.50122005000.18671.34510.8309-
11.52992010000.18871.36060.8273-
11.55852015000.20961.34500.8281-
11.58722020000.20171.34950.8288-
11.61592025000.19111.36650.8293-
11.64462030000.17521.36120.8276-
11.67332035000.18431.36300.8307-
11.70192040000.17711.36370.8300-
11.73062045000.18761.33360.8301-
11.75932050000.19081.35610.8291-
11.78802055000.1541.35260.8284-
11.81672060000.18911.35410.8277-
11.84542065000.18881.39140.8276-
11.87402070000.17551.37290.8305-
11.90272075000.17471.35350.8332-
11.93142080000.19741.36430.8310-
11.96012085000.19121.39550.8251-
11.98882090000.16551.36930.8313-
12.01742095000.171.38930.8306-
12.04612100000.15231.39730.8298-
12.07482105000.18111.37270.8303-
12.10352110000.16311.41430.8299-
12.13222115000.16861.36050.8290-
12.16082120000.16441.36520.8295-
12.18952125000.17771.36570.8259-
12.21822130000.16181.39210.8272-
12.24692135000.15141.36640.8273-
12.27562140000.16511.38210.8249-
12.30432145000.16961.37770.8262-
12.33292150000.16381.37120.8265-
12.36162155000.18241.37190.8271-
12.39032160000.16461.38500.8271-
12.41902165000.16671.37040.8298-
12.44772170000.17641.33550.8307-
12.47632175000.17031.33120.8292-
12.50502180000.1661.35440.8284-
12.53372185000.16591.36390.8275-
12.56242190000.16171.38300.8277-
12.59112195000.15571.33940.8292-
12.61972200000.18191.35400.8274-
12.64842205000.16111.39190.8254-
12.67712210000.18241.33660.8304-
12.70582215000.16211.35810.8277-
12.73452220000.17161.36380.8302-
12.76322225000.16041.36310.8294-
12.79182230000.17721.35770.8274-
12.82052235000.15921.34390.8290-
12.84922240000.16191.37220.8298-
12.87792245000.15611.36310.8294-
12.90662250000.16811.37680.8301-
12.93522255000.16661.37110.8257-
12.96392260000.15991.36840.8271-
12.99262265000.17021.36570.8260-
13.02132270000.14871.37550.8268-
13.05002275000.14281.36840.8280-
13.07862280000.15491.40360.8271-
13.10732285000.16231.38910.8281-
13.13602290000.14871.37580.8289-
13.16472295000.16191.37530.8283-
13.19342300000.15671.40210.8275-
13.22212305000.16221.37530.8288-
13.25072310000.14781.36880.8295-
13.27942315000.14821.39600.8279-
13.30812320000.15041.36790.8285-
13.33682325000.16511.38790.8270-
13.36552330000.13921.38280.8282-
13.39412335000.16521.37100.8271-
13.42282340000.13561.37150.8272-
13.45152345000.15151.36810.8289-
13.48022350000.14431.38150.8295-
13.50892355000.14381.39460.8280-
13.53752360000.14191.36640.8292-
13.56622365000.14941.38470.8285-
13.59492370000.15171.39480.8269-
13.62362375000.15221.39670.8276-
13.65232380000.1521.39330.8285-
13.68092385000.14531.38790.8275-
13.70962390000.15141.41990.8263-
13.73832395000.14571.39540.8244-
13.76702400000.15561.38330.8261-
13.79572405000.1491.37950.8262-
13.82442410000.14661.38490.8272-
13.85302415000.14171.37610.8283-
13.88172420000.1491.37520.8256-
13.91042425000.13771.36870.8276-
13.93912430000.1541.37170.8275-
13.96782435000.14191.36580.8286-
13.99642440000.14061.38160.8284-
14.02512445000.13651.37710.8281-
14.05382450000.14861.37720.8286-
14.08252455000.13441.38110.8293-
14.11122460000.14191.37660.8288-
14.13982465000.13991.36880.8275-
14.16852470000.12261.38830.8267-
14.19722475000.13731.38430.8257-
14.22592480000.1521.39780.8269-
14.25462485000.13771.38780.8260-
14.28332490000.14551.38330.8258-
14.31192495000.16831.39030.8262-
14.34062500000.12481.40270.8259-
14.36932505000.13711.39470.8260-
14.39802510000.14191.38970.8265-
14.42672515000.14311.39560.8262-
14.45532520000.14851.38800.8271-
14.48402525000.12351.38510.8270-
14.51272530000.11191.38910.8268-
14.54142535000.12971.39730.8269-
14.57012540000.13881.39490.8261-
14.59872545000.12341.39310.8263-
14.62742550000.13921.39060.8270-
14.65612555000.14031.39130.8269-
14.68482560000.1411.39990.8263-
14.71352565000.13561.39710.8264-
14.74222570000.13521.39980.8258-
14.77082575000.14951.39890.8256-
14.79952580000.13151.39830.8257-
14.82822585000.10971.40020.8259-
14.85692590000.1251.39970.8259-
14.88562595000.14241.40130.8259-
14.91422600000.13931.39940.8259-
14.94292605000.14411.39720.8259-
14.97162610000.13911.39880.8259-
-1-1---0.7921

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