CoolFace
Modelpublic

estrogen/ModernBERT-base-nli-v3

sourceHugging Faceupdated 2y agoView on Hugging Face
6likes99downloads
Model Card

SentenceTransformer based on estrogen/ModernBERT-base-sbert-initialized

This is a sentence-transformers model finetuned from estrogen/ModernBERT-base-sbert-initialized 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: estrogen/ModernBERT-base-sbert-initialized <!-- at revision d80f2f10df59065d673fa4d9ef890aae3cbf4b68 -->
  • —Maximum Sequence Length: 8192 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': 8192, 'do_lower_case': False}) with Transformer model: ModernBertModel 
  (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("estrogen/ModernBERT-base-nli-v3")
# Run inference
sentences = [
    'A middle-aged man works under the engine of a train on rail tracks.',
    'A guy is working on a train.',
    'A guy is driving to work.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]

<!--

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.86020.8484
spearman_cosine0.86510.8505

<!--

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.91 tokens</li><li>max: 40 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 13.49 tokens</li><li>max: 51 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.25 tokens</li><li>max: 69 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 9.88 tokens</li><li>max: 30 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 10.48 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: 1024
  • —per_device_eval_batch_size: 1024
  • —num_train_epochs: 1
  • —warmup_ratio: 0.1
  • —bf16: True
  • —batch_sampler: no_duplicates
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: 1024
  • —per_device_eval_batch_size: 1024
  • —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: 1
  • —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
  • —use_ipex: False
  • —bf16: True
  • —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}
  • —deepspeed: None
  • —label_smoothing_factor: 0.0
  • —optim: adamw_torch
  • —optim_args: None
  • —adafactor: False
  • —group_by_length: False
  • —length_column_name: length
  • —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
  • —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
  • —dispatch_batches: None
  • —split_batches: None
  • —include_tokens_per_second: False
  • —include_num_input_tokens_seen: False
  • —neftune_noise_alpha: None
  • —optim_target_modules: None
  • —batch_eval_metrics: False
  • —eval_on_start: False
  • —use_liger_kernel: False
  • —eval_use_gather_object: False
  • —average_tokens_across_devices: False
  • —prompts: None
  • —batch_sampler: no_duplicates
  • —multi_dataset_batch_sampler: proportional

</details>

Training Logs

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

EpochStepTraining LossValidation Losssts-dev_spearman_cosinests-test_spearman_cosine
00--0.5576-
0.0018136.2556---
0.0037236.6329---
0.0055336.9705---
0.0073436.9173---
0.0092536.8254---
0.0110636.7313---
0.0128736.5865---
0.0147836.1709---
0.0165936.0519---
0.01831035.712---
0.02021135.4072---
0.02201235.0623---
0.02391334.6996---
0.02571434.2426---
0.02751533.6913---
0.02941633.2808---
0.03121732.5487---
0.03301831.6451---
0.03491930.7017---
0.03672029.8238---
0.03852128.7414---
0.04042227.316---
0.04222326.1119---
0.04402424.7211---
0.04592524.0007---
0.04772622.706---
0.04952721.7943---
0.05142821.5753---
0.05322920.9671---
0.05503020.5548---
0.05693120.263---
0.05873219.8474---
0.06063318.846---
0.06243418.5923---
0.06423517.8432---
0.06613617.6267---
0.06793717.1291---
0.06973816.6147---
0.07163916.1403---
0.07344016.5382---
0.07524115.7209---
0.07714215.565---
0.07894315.2099---
0.08074415.2644---
0.08264514.8458---
0.08444615.2214---
0.08624715.194---
0.08814815.53---
0.08994914.893---
0.09175014.4146---
0.09365114.4308---
0.09545213.8239---
0.09725313.9299---
0.09915414.6545---
0.10095514.3374---
0.10285614.5065---
0.10465713.8447---
0.10645814.179---
0.10835913.8866---
0.11016013.4879---
0.11196113.6273---
0.11386213.891---
0.11566313.6066---
0.11746413.4999---
0.11936513.9862---
0.12116613.4257---
0.12296713.9192---
0.12486813.5504---
0.12666913.3689---
0.12847013.4802---
0.13037113.0249---
0.13217213.2021---
0.13397313.1101---
0.13587413.0868---
0.13767512.8536---
0.13947612.9317---
0.14137712.6403---
0.14317812.9776---
0.14507913.1359---
0.14688013.0558---
0.14868113.0849---
0.15058212.6719---
0.15238312.5796---
0.15418412.472---
0.15608512.4221---
0.15788612.0878---
0.15968712.6923---
0.16158812.4428---
0.16338912.2897---
0.16519012.4254---
0.16709112.3808---
0.16889212.5224---
0.17069312.48---
0.17259411.8793---
0.17439511.8582---
0.17619612.5362---
0.17809712.3912---
0.17989812.7162---
0.18179912.4455---
0.183510012.48158.53980.8199-
0.185310112.1586---
0.187210211.8041---
0.189010311.6278---
0.190810411.8511---
0.192710511.762---
0.194510611.568---
0.196310711.8152---
0.198210811.9005---
0.210911.9282---
0.201811011.8451---
0.203711112.1208---
0.205511211.6718---
0.207311311.0296---
0.209211411.4185---
0.211011511.337---
0.212811610.9242---
0.214711711.0482---
0.216511811.3196---
0.218311911.1849---
0.220212010.9769---
0.222012110.5047---
0.223912211.1094---
0.225712311.2565---
0.227512411.1569---
0.229412511.5391---
0.231212610.8941---
0.233012710.8196---
0.234912811.0836---
0.236712911.4241---
0.238513011.4976---
0.240413110.938---
0.242213211.5283---
0.244013311.4238---
0.245913411.3364---
0.247713511.225---
0.249513611.0415---
0.251413710.8503---
0.253213810.9302---
0.255013910.5476---
0.256914010.8422---
0.258714110.4239---
0.260614210.5155---
0.262414310.589---
0.264214410.6116---
0.266114510.7158---
0.267914610.6952---
0.269714710.3678---
0.271614811.159---
0.273414911.3336---
0.275215010.7669---
0.277115110.5946---
0.278915210.9448---
0.280715310.7132---
0.282615410.5812---
0.284415510.7827---
0.286215610.7807---
0.288115710.7351---
0.289915810.7904---
0.291715910.5921---
0.293616010.2996---
0.295416110.2353---
0.297216210.2108---
0.299116310.089---
0.300916410.1736---
0.302816510.2599---
0.304616610.4347---
0.306416710.9999---
0.308316811.1655---
0.310116910.8125---
0.311917010.5497---
0.313817110.6918---
0.315617210.4792---
0.317417310.6018---
0.319317410.2092---
0.321117510.5625---
0.322917610.3539---
0.32481779.5403---
0.326617810.2351---
0.328417910.1557---
0.330318010.0721---
0.33211819.721---
0.33391829.7519---
0.33581839.7737---
0.33761849.5207---
0.33941859.6557---
0.34131869.7205---
0.34311879.9902---
0.345018810.1699---
0.346818910.5102---
0.348619010.2026---
0.350519110.1148---
0.35231929.5341---
0.35411939.5213---
0.35601949.7469---
0.357819510.1795---
0.359619610.3835---
0.361519710.7346---
0.36331989.9378---
0.36511999.7758---
0.367020010.32067.09910.8294-
0.36882019.7032---
0.37062029.8851---
0.37252039.9285---
0.374320410.0227---
0.37612059.8062---
0.37802069.9988---
0.379820710.0256---
0.38172089.8837---
0.383520910.0787---
0.38532109.5776---
0.38722119.6239---
0.38902129.717---
0.390821310.1639---
0.39272149.4994---
0.39452159.6895---
0.39632169.4938---
0.39822179.3008---
0.42189.6183---
0.40182199.3632---
0.40372209.3575---
0.40552219.4888---
0.40732229.337---
0.40922239.9598---
0.41102249.345---
0.41282259.2595---
0.41472269.3508---
0.41652279.8293---
0.41832289.8365---
0.42022299.6528---
0.42202309.9696---
0.423923110.113---
0.42572329.9706---
0.42752339.577---
0.42942349.7624---
0.43122359.5083---
0.43302369.5067---
0.43492379.1004---
0.43672388.914---
0.43852399.6852---
0.44042409.573---
0.44222419.8598---
0.444024210.1793---
0.445924310.2789---
0.44772449.9536---
0.44952459.3878---
0.45142469.6734---
0.45322479.3747---
0.45502488.8334---
0.45692499.7495---
0.45872508.8468---
0.46062519.3828---
0.46242529.1118---
0.46422539.3682---
0.46612549.3647---
0.46792559.8533---
0.46972569.2787---
0.47162578.9831---
0.47342589.0524---
0.47522599.5378---
0.47712609.4227---
0.47892619.3545---
0.48072628.8428---
0.48262639.1284---
0.48442648.7769---
0.48622659.0381---
0.48812669.0261---
0.48992678.811---
0.49172689.0848---
0.49362699.0951---
0.49542709.0682---
0.49722719.0418---
0.49912729.7316---
0.50092739.263---
0.50282749.624---
0.504627510.0133---
0.50642769.0789---
0.50832779.1399---
0.51012789.3854---
0.51192798.9982---
0.51382809.1342---
0.51562819.0517---
0.51742829.5637---
0.51932839.5213---
0.52112849.9231---
0.522928510.3441---
0.52482869.6162---
0.52662879.4794---
0.52842889.2728---
0.53032899.411---
0.53212909.5806---
0.53392919.4193---
0.53582929.3528---
0.53762939.7581---
0.53942949.4407---
0.54132959.027---
0.54312969.4272---
0.54502979.2733---
0.54682989.3---
0.54862999.6388---
0.55053009.06986.83560.8273-
0.55233019.4613---
0.55413029.9061---
0.55603039.3524---
0.55783049.1935---
0.55963059.1243---
0.56153068.8865---
0.56333079.4411---
0.56513089.1322---
0.56703099.3072---
0.56883108.4299---
0.57063118.9471---
0.57253128.5097---
0.57433139.1158---
0.57613149.0221---
0.57803159.5871---
0.57983169.3789---
0.58173179.1566---
0.58353189.0472---
0.58533198.947---
0.58723209.1791---
0.58903218.8764---
0.59083228.9794---
0.59273239.2044---
0.59453249.0374---
0.59633259.3389---
0.59823269.7387---
0.63279.4248---
0.60183289.4799---
0.60373298.9019---
0.60553309.113---
0.60733319.3148---
0.60923328.9871---
0.61103338.5404---
0.61283349.1587---
0.61473358.9698---
0.61653369.3393---
0.61833379.4845---
0.62023389.6075---
0.62203399.426---
0.62393409.0633---
0.62573419.1017---
0.62753429.2461---
0.62943439.065---
0.63123449.4668---
0.63303459.0267---
0.63493469.2938---
0.63673479.391---
0.63853489.2386---
0.64043499.5285---
0.64223509.5958---
0.64403519.157---
0.64593529.4166---
0.64773539.358---
0.64953549.4497---
0.65143559.407---
0.65323569.1505---
0.65503579.403---
0.65693589.1949---
0.65873598.7922---
0.66063608.883---
0.66243618.6828---
0.66423628.5654---
0.66613638.705---
0.66793648.8329---
0.66973659.1604---
0.67163669.1609---
0.67343679.4693---
0.67523689.1431---
0.67713698.7564---
0.67893709.1378---
0.68073718.8472---
0.68263728.9159---
0.68443738.9551---
0.68623749.2721---
0.68813758.7511---
0.68993769.1683---
0.69173778.8438---
0.69363788.6151---
0.69543798.7015---
0.69723807.6009---
0.69913817.3242---
0.70093827.4182---
0.70283837.2576---
0.70463847.0578---
0.70643856.0212---
0.70833865.9868---
0.71013876.033---
0.71193885.8085---
0.71383895.6002---
0.71563905.439---
0.71743915.1661---
0.71933925.1261---
0.72113935.5393---
0.72293944.8909---
0.72483955.2803---
0.72663965.1639---
0.72843974.7125---
0.73033984.842---
0.73213995.0971---
0.73394004.51015.06500.8590-
0.73584014.3422---
0.73764024.719---
0.73944034.1823---
0.74134043.7903---
0.74314053.886---
0.74504064.1115---
0.74684073.9201---
0.74864083.9291---
0.75054094.0412---
0.75234103.6614---
0.75414113.5718---
0.75604123.6689---
0.75784133.7457---
0.75964143.4272---
0.76154153.5112---
0.76334163.8348---
0.76514173.5177---
0.76704183.3441---
0.76884193.362---
0.77064203.4926---
0.77254213.4722---
0.77434222.8568---
0.77614233.3396---
0.77804242.972---
0.77984253.6889---
0.78174263.5154---
0.78354273.4098---
0.78534283.4569---
0.78724293.4916---
0.78904303.7394---
0.79084313.332---
0.79274323.3767---
0.79454333.1173---
0.79634343.2257---
0.79824353.3629---
0.84363.1992---
0.80184373.1252---
0.80374383.5155---
0.80554393.2583---
0.80734402.9001---
0.80924413.1542---
0.81104423.0473---
0.81284433.0446---
0.81474443.3807---
0.81654453.1246---
0.81834463.1922---
0.82024473.09---
0.82204483.4341---
0.82394493.0926---
0.82574502.9746---
0.82754513.1014---
0.82944523.2205---
0.83124533.1147---
0.83304542.9682---
0.83494553.1681---
0.83674562.9821---
0.83854572.8484---
0.84044583.0341---
0.84224593.0632---
0.84404603.2026---
0.84594613.132---
0.84774623.0209---
0.84954632.7183---
0.85144643.0257---
0.85324653.1462---
0.85504662.8747---
0.85694673.0932---
0.85874683.0097---
0.86064693.0956---
0.86244703.019---
0.86424713.1342---
0.86614722.688---
0.86794732.8892---
0.86974743.1589---
0.87164752.9274---
0.87344762.8554---
0.87524772.694---
0.87714782.7397---
0.87894792.6452---
0.88074803.0158---
0.88264813.0148---
0.88444822.5704---
0.88624832.6755---
0.88814842.7805---
0.88994852.8554---
0.89174862.6966---
0.89364872.8759---
0.89544882.8838---
0.89724892.7885---
0.89914902.7576---
0.90094912.9139---
0.90284922.6583---
0.90464932.9654---
0.90644942.551---
0.90834952.5596---
0.91014962.9595---
0.91194972.8677---
0.91384982.5793---
0.91564992.5415---
0.91745002.97384.87640.8651-
0.91935012.5838---
0.92115022.6544---
0.92295032.7046---
0.92485042.6339---
0.92665052.687---
0.92845062.7863---
0.93035072.7409---
0.93215082.656---
0.93395092.7456---
0.93585102.6589---
0.93765112.697---
0.93945122.6443---
0.94135132.7357---
0.94315142.969---
0.94505152.4175---
0.94685162.5424---
0.94865172.4773---
0.95055182.6269---
0.95235192.6288---
0.95415202.9471---
0.95605212.9775---
0.95785222.9949---
0.95965232.7084---
0.96155242.6431---
0.96335252.5849---
0.96515267.353---
0.96705279.1463---
0.968852810.9846---
0.970652910.6362---
0.972553010.0763---
0.97435319.7147---
0.97615329.3911---
0.97805339.3722---
0.979853410.794---
0.981753511.661---
0.983553611.4706---
0.985353712.0868---
0.987253812.0017---
0.989053911.7965---
0.990854012.5961---
0.99275419.6563---
0.994554211.5097---
0.996354312.0945---
0.998254410.7032---
1.054510.5622--0.8505

</details>

Framework Versions

  • —Python: 3.10.12
  • —Sentence Transformers: 3.3.1
  • —Transformers: 4.48.0.dev0
  • —PyTorch: 2.1.0+cu118
  • —Accelerate: 1.2.1
  • —Datasets: 3.2.0
  • —Tokenizers: 0.21.0

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