CoolFace
Modelpublic

sobamchan/bert-large-uncased-mrl-768-512-256-128-64

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

SentenceTransformer based on google-bert/bert-large-uncased

This is a sentence-transformers model finetuned from google-bert/bert-large-uncased 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: google-bert/bert-large-uncased <!-- at revision 6da4b6a26a1877e173fca3225479512db81a5e5b -->
  • —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': 'BertModel'})
  (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.8793, 0.6419],
#         [0.8793, 1.0000, 0.6977],
#         [0.6419, 0.6977, 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.48940.5408
spearman_cosine0.59740.5987

<!--

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.46 tokens</li><li>max: 46 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 12.81 tokens</li><li>max: 40 tokens</li></ul> | <ul><li>min: 5 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: 17.95 tokens</li><li>max: 63 tokens</li></ul> | <ul><li>min: 4 tokens</li><li>mean: 9.78 tokens</li><li>max: 29 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 10.35 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.5941-
0.028750010.3554.02420.8005-
0.057410004.85522.74860.8316-
0.086015003.70742.11010.8432-
0.114720003.18681.81420.8444-
0.143425002.85271.65690.8495-
0.172130002.66131.58040.8531-
0.200835002.52561.47240.8501-
0.229440002.34721.44740.8488-
0.258145002.34681.39810.8544-
0.286850002.22741.35400.8525-
0.315555002.13921.30470.8573-
0.344260002.141.28330.8573-
0.372965002.09721.30910.8455-
0.401570002.0371.24660.8551-
0.430275001.94681.22380.8457-
0.458980001.88281.23780.8560-
0.487685001.94291.23590.8506-
0.516390001.93031.24470.8464-
0.544995001.86251.23770.8480-
0.5736100001.74461.22150.8509-
0.6023105001.80131.24520.8491-
0.6310110001.73621.18450.8527-
0.6597115001.74451.24860.8427-
0.6883120001.70571.20140.8417-
0.7170125001.71711.20940.8464-
0.7457130001.70441.18720.8490-
0.7744135001.68191.23170.8390-
0.8031140001.64811.30470.8405-
0.8318145001.65111.23400.8511-
0.8604150001.64011.20430.8460-
0.8891155001.8421.24500.8461-
0.9178160001.68111.25160.8556-
0.9465165001.64981.28380.8408-
0.9752170001.53871.27990.8419-
1.0038175001.55591.26910.8415-
1.0325180001.32481.28380.8460-
1.0612185001.34481.31500.8418-
1.0899190001.36091.28100.8377-
1.1186195001.3991.28900.8490-
1.1472200001.4251.32310.8464-
1.1759205001.41371.29380.8436-
1.2046210001.43931.35400.8398-
1.2333215001.47031.31680.8487-
1.2620220001.38951.31370.8449-
1.2907225001.42231.40620.8323-
1.3193230001.38691.38270.8366-
1.3480235001.46031.38540.8324-
1.3767240001.46581.39040.8328-
1.4054245001.45971.39030.8360-
1.4341250001.43481.40950.8352-
1.4627255001.49811.45560.8287-
1.4914260001.45741.50160.8255-
1.5201265001.44811.46010.8259-
1.5488270001.43831.44770.8301-
1.5775275001.56741.49950.8217-
1.6061280001.45651.43950.8324-
1.6348285001.50551.42600.8256-
1.6635290001.48961.47800.8383-
1.6922295001.46241.41420.8292-
1.7209300001.52771.46140.8240-
1.7496305001.46291.40940.8214-
1.7782310001.43631.38510.8330-
1.8069315001.48291.41180.8274-
1.8356320001.43331.40590.8120-
1.8643325001.48251.43400.8177-
1.8930330004.04541.40610.8243-
1.9216335001.40581.47230.8149-
1.9503340001.42911.42240.8223-
1.9790345001.81121.43380.7975-
2.0077350001.35981.40070.8167-
2.0364355001.06551.44670.8141-
2.0650360001.13571.46240.8219-
2.0937365001.11541.40440.8270-
2.1224370001.13481.47660.8262-
2.1511375001.13861.39190.8156-
2.1798380001.18741.44320.8238-
2.2085385001.10211.39830.8192-
2.2371390001.08221.41120.8054-
2.2658395001.11191.47910.8141-
2.2945400001.06631.44100.8157-
2.3232405001.10751.48260.8155-
2.3519410001.11161.55260.8124-
2.3805415001.13621.51450.8163-
2.4092420001.07991.44020.8211-
2.4379425001.04421.44770.8139-
2.4666430001.08191.40420.8046-
2.4953435001.06981.37160.8079-
2.5239440001.07221.38740.8146-
2.5526445001.08991.44200.8061-
2.5813450001.12811.39780.8160-
2.6100455001.08681.34670.8134-
2.6387460001.18291.34480.8095-
2.6674465001.10771.46230.8056-
2.6960470001.08321.44920.8156-
2.7247475001.12321.44500.8086-
2.7534480001.13611.32860.8257-
2.7821485001.08331.39920.8128-
2.8108490001.07621.36080.8170-
2.8394495001.04881.37060.8034-
2.8681500001.06351.37950.7940-
2.8968505001.08641.44410.8105-
2.9255510001.08261.40430.8022-
2.9542515001.04171.42680.8029-
2.9828520001.0161.37030.8037-
3.0115525000.94011.41210.8042-
3.0402530000.80111.38800.7993-
3.0689535000.82161.38350.7995-
3.0976540000.81171.38090.8003-
3.1263545000.8371.35120.8032-
3.1549550000.82561.33670.8117-
3.1836555000.83471.38540.7994-
3.2123560000.82851.39480.7833-
3.2410565000.83181.42310.7792-
3.2697570000.84141.43410.7720-
3.2983575000.79781.35010.7851-
3.3270580000.83741.39840.7787-
3.3557585000.85941.46470.7812-
3.3844590000.84581.43360.7758-
3.4131595000.80371.39440.7833-
3.4417600000.7691.40440.7844-
3.4704605000.82581.33340.7725-
3.4991610000.80621.44970.7795-
3.5278615000.79561.36360.7869-
3.5565620000.8621.37160.7891-
3.5852625000.85631.42150.7891-
3.6138630000.83131.37040.7939-
3.6425635000.96831.44360.7888-
3.6712640000.90551.41310.7905-
3.6999645000.8421.44990.7862-
3.7286650000.82131.38620.8044-
3.7572655000.95891.37360.7886-
3.7859660000.87081.42740.7712-
3.8146665000.85781.39120.7696-
3.8433670000.8731.44810.7865-
3.8720675000.84291.42160.7892-
3.9006680000.82151.39290.7576-
3.9293685000.77981.45380.7569-
3.9580690000.79111.41560.7859-
3.9867695000.80251.41040.7734-
4.0154700000.71441.46340.7706-
4.0441705000.63611.45450.7732-
4.0727710000.64331.44510.7734-
4.1014715000.63121.43210.7625-
4.1301720000.61691.47190.7749-
4.1588725000.68171.41170.7842-
4.1875730000.62091.49160.7582-
4.2161735000.6451.43430.7686-
4.2448740000.62191.40410.7811-
4.2735745000.59461.48360.7688-
4.3022750000.6251.41160.7675-
4.3309755000.64021.40920.7679-
4.3595760000.65371.43890.7753-
4.3882765000.65291.40400.7746-
4.4169770000.66481.42660.7773-
4.4456775000.62991.46090.7708-
4.4743780000.64261.47260.7470-
4.5030785000.64681.41970.7700-
4.5316790000.6391.36960.7590-
4.5603795000.63591.44270.7592-
4.5890800000.64961.39820.7587-
4.6177805000.69461.43840.7640-
4.6464810000.66091.45810.7650-
4.6750815000.64881.40070.7689-
4.7037820000.65841.38450.7729-
4.7324825000.61431.41100.7556-
4.7611830000.62261.40880.7568-
4.7898835000.63511.35960.7580-
4.8184840000.64271.38960.7652-
4.8471845000.66571.40870.7523-
4.8758850000.67681.42840.7508-
4.9045855000.66851.43740.7560-
4.9332860000.6471.38140.7611-
4.9619865000.6251.46170.7552-
4.9905870000.6271.47350.7452-
5.0192875000.54231.52900.7403-
5.0479880000.50881.35690.7596-
5.0766885000.51261.44180.7657-
5.1053890000.50211.36920.7591-
5.1339895000.49651.38380.7532-
5.1626900000.48971.38730.7635-
5.1913905000.52531.40220.7538-
5.2200910000.48591.38790.7645-
5.2487915000.4811.45700.7545-
5.2773920000.53611.38430.7576-
5.3060925000.49171.40770.7509-
5.3347930000.54171.44280.7522-
5.3634935000.52351.34540.7616-
5.3921940000.53521.49350.7463-
5.4208945000.50461.43370.7622-
5.4494950000.54461.42030.7581-
5.4781955000.51851.35610.7648-
5.5068960000.51571.37190.7664-
5.5355965000.52841.41970.7620-
5.5642970000.52031.44000.7461-
5.5928975000.50041.42450.7488-
5.6215980000.51251.40850.7532-
5.6502985000.5091.36310.7241-
5.6789990000.5121.38550.7420-
5.7076995000.52081.35070.7389-
5.73621000000.53481.37410.7426-
5.76491005000.49811.37420.7434-
5.79361010000.49111.42840.7357-
5.82231015000.51981.40750.7425-
5.85101020000.50511.42030.7461-
5.87971025000.50211.38200.7437-
5.90831030000.53221.37810.7390-
5.93701035000.50131.36510.7555-
5.96571040000.55961.44180.7395-
5.99441045000.50321.44560.7254-
6.02311050000.4391.50530.7176-
6.05171055000.38571.43500.7378-
6.08041060000.35771.43280.7171-
6.10911065000.41471.37040.7352-
6.13781070000.3921.38770.7454-
6.16651075000.38891.42040.7323-
6.19511080000.4071.39180.7390-
6.22381085000.43711.39770.7471-
6.25251090000.40261.41010.7316-
6.28121095000.42741.39530.7051-
6.30991100000.41311.44130.7267-
6.33861105000.96973.22980.7471-
6.36721110001.42983.04410.7370-
6.39591115001.46072.98800.7238-
6.42461120001.45732.98140.7088-
6.45331125001.4722.89320.7224-
6.48201130001.47242.97430.7097-
6.51061135001.45182.97860.7057-
6.53931140001.39142.96170.6845-
6.56801145001.35472.98140.7040-
6.59671150001.34112.94000.7066-
6.62541155001.392.98160.7048-
6.65401160001.33262.94110.7132-
6.68271165001.33372.87970.6924-
6.71141170001.37823.03560.7177-
6.74011175000.97121.40700.7304-
6.76881180000.43311.47610.7016-
6.79751185000.40311.42130.7309-
6.82611190000.42641.42990.6950-
6.85481195000.38231.42660.7068-
6.88351200000.39751.43010.6907-
6.91221205000.41121.45320.6967-
6.94091210000.41451.44400.7171-
6.96951215000.41331.42140.7120-
6.99821220000.38891.38260.7209-
7.02691225000.34981.41300.7032-
7.05561230000.35921.38710.7060-
7.08431235000.3241.43560.6964-
7.11291240000.32511.38740.7183-
7.14161245000.34731.45260.7063-
7.17031250000.34741.42150.7202-
7.19901255000.33671.54670.7001-
7.22771260000.35521.41160.7082-
7.25641265000.31061.49110.6844-
7.28501270000.32291.49400.6790-
7.31371275000.32811.48360.6900-
7.34241280000.3251.45910.6882-
7.37111285000.34861.49070.7000-
7.39981290000.34321.48690.6770-
7.42841295000.341.46190.6886-
7.45711300000.33091.48840.6911-
7.48581305000.33911.46380.6868-
7.51451310000.35791.44250.7019-
7.54321315000.32611.43370.7004-
7.57181320000.33191.47240.6950-
7.60051325000.3221.43900.7111-
7.62921330000.39611.43500.7082-
7.65791335000.33321.42760.7040-
7.68661340000.37731.40000.7102-
7.71531345000.35331.36800.7158-
7.74391350000.34031.43440.7351-
7.77261355000.32921.44170.7141-
7.80131360000.34441.48340.7175-
7.83001365000.33331.44750.7148-
7.85871370000.32191.50420.7096-
7.88731375000.32351.42970.7155-
7.91601380000.33821.43240.6983-
7.94471385000.34231.43600.6982-
7.97341390000.3291.43250.6985-
8.00211395000.33231.43690.6963-
8.03071400000.26971.48550.7000-
8.05941405000.26021.48320.6916-
8.08811410000.27971.48460.7020-
8.11681415000.27941.43130.7004-
8.14551420000.27071.38810.7091-
8.17421425000.2651.42290.7040-
8.20281430000.25941.47300.6874-
8.23151435000.28371.42560.6865-
8.26021440000.28511.41460.7036-
8.28891445000.29311.45020.6793-
8.31761450000.27151.45320.6775-
8.34621455000.27271.39000.7078-
8.37491460000.27191.39880.6948-
8.40361465000.27271.42180.6851-
8.43231470000.26431.40210.6888-
8.46101475000.27911.44830.6911-
8.48961480000.31771.48960.6745-
8.51831485000.30151.45260.6925-
8.54701490000.28511.47120.6938-
8.57571495000.28561.44430.6721-
8.60441500000.25231.41200.6756-
8.63311505000.28461.44100.7024-
8.66171510000.30011.43390.6762-
8.69041515000.28341.39060.7012-
8.71911520000.28381.39780.6902-
8.74781525000.26851.45540.6648-
8.77651530000.26321.43550.6953-
8.80511535000.28021.42250.6903-
8.83381540000.26591.45200.6762-
8.86251545000.27051.45940.6805-
8.89121550000.28931.46070.6811-
8.91991555000.26651.42720.6871-
8.94851560000.25931.47040.6788-
8.97721565000.28891.46280.6833-
9.00591570000.30951.52870.6839-
9.03461575000.21021.49370.6635-
9.06331580000.22811.47790.6709-
9.09201585000.21211.50820.6606-
9.12061590000.2181.47290.6635-
9.14931595000.23761.48090.6668-
9.17801600000.22981.47820.6555-
9.20671605000.24261.49850.6794-
9.23541610000.24061.54250.6585-
9.26401615000.21651.53100.6624-
9.29271620000.24531.51990.6515-
9.32141625000.221.44850.6724-
9.35011630000.21591.52320.6505-
9.37881635000.22091.51750.6577-
9.40741640000.22261.46410.6742-
9.43611645000.22011.47790.6609-
9.46481650000.22041.50400.6653-
9.49351655000.22981.49940.6671-
9.52221660000.24151.51550.6610-
9.55091665000.23811.47810.6704-
9.57951670000.23181.46480.6551-
9.60821675000.22781.48460.6539-
9.63691680000.22451.45350.6645-
9.66561685000.22771.47600.6800-
9.69431690000.21521.43720.6724-
9.72291695000.23891.45830.6555-
9.75161700000.22291.44460.6619-
9.78031705000.2461.45730.6435-
9.80901710000.22591.48300.6577-
9.83771715000.21041.46520.6518-
9.86631720000.23491.48330.6492-
9.89501725000.21391.44860.6749-
9.92371730000.21281.49690.6594-
9.95241735000.22091.49620.6539-
9.98111740000.2231.50080.6706-
10.00981745000.1941.54530.6578-
10.03841750000.19371.52440.6698-
10.06711755000.18931.55540.6551-
10.09581760000.19811.53550.6606-
10.12451765000.20511.54360.6501-
10.15321770000.20451.52700.6738-
10.18181775000.18211.52280.6604-
10.21051780000.19531.54240.6763-
10.23921785000.18721.55100.6620-
10.26791790000.20221.51170.6694-
10.29661795000.181.49460.6693-
10.32521800000.20261.51640.6580-
10.35391805000.20181.50150.6486-
10.38261810000.21841.53140.6388-
10.41131815000.19211.47720.6574-
10.44001820000.20741.49270.6555-
10.46871825000.17851.49270.6465-
10.49731830000.16881.48100.6602-
10.52601835000.17241.50470.6662-
10.55471840000.17411.53670.6549-
10.58341845000.18121.51660.6570-
10.61211850000.18691.51550.6492-
10.64071855000.19691.52840.6466-
10.66941860000.18831.49150.6733-
10.69811865000.18741.49770.6642-
10.72681870000.19141.46910.6627-
10.75551875000.18271.45950.6637-
10.78411880000.1971.48240.6610-
10.81281885000.1811.47310.6520-
10.84151890000.19641.49870.6540-
10.87021895000.18551.50290.6496-
10.89891900000.1831.53630.6454-
10.92761905000.18811.52260.6651-
10.95621910000.18251.50430.6434-
10.98491915000.20191.47250.6582-
11.01361920000.14381.51520.6437-
11.04231925000.14641.49430.6388-
11.07101930000.17051.51320.6454-
11.09961935000.16311.51320.6551-
11.12831940000.17681.50800.6595-
11.15701945000.14771.53610.6460-
11.18571950000.1841.49820.6514-
11.21441955000.17081.56170.6365-
11.24301960000.1671.51130.6322-
11.27171965000.16071.53060.6305-
11.30041970000.16931.52250.6419-
11.32911975000.16131.53910.6309-
11.35781980000.18521.52690.6235-
11.38651985000.15331.56080.6388-
11.41511990000.15991.55060.6331-
11.44381995000.1691.55400.6322-
11.47252000000.15231.54290.6306-
11.50122005000.17011.54510.6203-
11.52992010000.16471.53290.6218-
11.55852015000.18391.51920.6252-
11.58722020000.17671.52460.6336-
11.61592025000.15271.52100.6286-
11.64462030000.14971.55560.6316-
11.67332035000.15291.59940.6194-
11.70192040000.15681.52440.6249-
11.73062045000.16651.50810.6386-
11.75932050000.16331.52500.6336-
11.78802055000.14051.50750.6298-
11.81672060000.1611.53710.6249-
11.84542065000.15861.55000.6354-
11.87402070000.14321.52840.6338-
11.90272075000.13541.56020.6346-
11.93142080000.17421.53250.6387-
11.96012085000.15461.54840.6351-
11.98882090000.13841.56270.6267-
12.01742095000.14221.53970.6369-
12.04612100000.13311.59930.6195-
12.07482105000.14471.62900.6175-
12.10352110000.14151.61630.6189-
12.13222115000.13791.59280.6192-
12.16082120000.141.62430.6019-
12.18952125000.15071.58760.6104-
12.21822130000.12571.55660.6150-
12.24692135000.13271.55730.6239-
12.27562140000.1291.56120.6219-
12.30432145000.1331.58280.6237-
12.33292150000.13741.54360.6276-
12.36162155000.14581.58640.6240-
12.39032160000.13641.60910.6191-
12.41902165000.14031.57610.6275-
12.44772170000.14591.55790.6373-
12.47632175000.14041.57920.6264-
12.50502180000.14961.56670.6222-
12.53372185000.13531.54110.6303-
12.56242190000.13251.59990.6128-
12.59112195000.12841.57360.6277-
12.61972200000.16181.58060.6223-
12.64842205000.131.58940.6258-
12.67712210000.15241.58160.6242-
12.70582215000.13721.60600.6098-
12.73452220000.14131.58330.6182-
12.76322225000.13321.61230.6044-
12.79182230000.14191.59520.6133-
12.82052235000.12941.60720.6172-
12.84922240000.12171.61130.6201-
12.87792245000.12821.57960.6298-
12.90662250000.13681.58730.6186-
12.93522255000.13661.59370.6183-
12.96392260000.1261.59770.6112-
12.99262265000.14551.54340.6130-
13.02132270000.11581.58350.6062-
13.05002275000.11731.59820.6068-
13.07862280000.12271.59170.6023-
13.10732285000.12611.60780.5983-
13.13602290000.10911.61490.6072-
13.16472295000.13941.58940.6118-
13.19342300000.13031.59380.6075-
13.22212305000.12841.58550.6138-
13.25072310000.12421.60000.6106-
13.27942315000.1121.63410.6055-
13.30812320000.11881.61400.6008-
13.33682325000.13861.60540.5970-
13.36552330000.11221.58730.6058-
13.39412335000.12451.59150.6038-
13.42282340000.10551.59700.6061-
13.45152345000.11841.58040.6127-
13.48022350000.11511.59590.6071-
13.50892355000.1091.59950.6032-
13.53752360000.11541.59530.6065-
13.56622365000.12791.58810.6042-
13.59492370000.12381.58520.6022-
13.62362375000.12491.60560.6069-
13.65232380000.12581.61750.5998-
13.68092385000.11511.61090.6029-
13.70962390000.12761.61390.6011-
13.73832395000.11511.60320.6002-
13.76702400000.12911.57450.6055-
13.79572405000.12251.62360.6009-
13.82442410000.10881.63030.5968-
13.85302415000.11211.60980.6028-
13.88172420000.12351.59490.6014-
13.91042425000.1131.61130.6013-
13.93912430000.12411.59450.6018-
13.96782435000.1151.58940.6051-
13.99642440000.12191.58660.6074-
14.02512445000.10691.61480.6028-
14.05382450000.11451.60990.5967-
14.08252455000.10511.60740.6007-
14.11122460000.10691.62490.5948-
14.13982465000.10771.61260.5956-
14.16852470000.09481.60760.6037-
14.19722475000.11571.62840.5976-
14.22592480000.11961.63900.5979-
14.25462485000.11391.61630.5997-
14.28332490000.11651.61120.5975-
14.31192495000.12221.62130.5978-
14.34062500000.09471.63920.5958-
14.36932505000.09861.63570.5956-
14.39802510000.11021.63000.6016-
14.42672515000.10831.63900.5959-
14.45532520000.11471.62800.5976-
14.48402525000.09641.63620.5961-
14.51272530000.09041.61700.5964-
14.54142535000.10521.61710.5960-
14.57012540000.10641.62030.5971-
14.59872545000.09831.61270.5996-
14.62742550000.11181.60870.6014-
14.65612555000.10581.61640.6019-
14.68482560000.11351.62620.5986-
14.71352565000.11121.61550.6013-
14.74222570000.10971.61940.5994-
14.77082575000.11441.61880.5982-
14.79952580000.10261.61550.5984-
14.82822585000.08561.61800.5983-
14.85692590000.10611.62540.5977-
14.88562595000.11461.62550.5979-
14.91422600000.10671.62430.5978-
14.94292605000.10581.62530.5974-
14.97162610000.11631.62410.5974-
-1-1---0.5987

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