CoolFace
Modelpublic

hanwenzhu/all-distilroberta-v1-lr2e-4-bs1024-nneg3-mlbs-mar03

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes85downloads
Model Card

SentenceTransformer based on sentence-transformers/all-distilroberta-v1

This is a sentence-transformers model finetuned from sentence-transformers/all-distilroberta-v1. 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: sentence-transformers/all-distilroberta-v1 <!-- at revision 8d88b92a34345fd6a139aa47768c9881720006ce -->
  • —Maximum Sequence Length: 512 tokens
  • —Output Dimensionality: 768 tokens
  • —Similarity Function: Cosine Similarity <!-- - Training Dataset: Unknown --> <!-- - Language: Unknown --> <!-- - License: Unknown -->

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: 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})
  (2): Normalize()
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

bash
pip install -U sentence-transformers

Then you can load this model and run inference.

python
from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("hanwenzhu/all-distilroberta-v1-lr2e-4-bs1024-nneg3-mlbs-mar03")
# Run inference
sentences = [
    'Mathlib.Algebra.Polynomial.HasseDeriv#31',
    'Polynomial.hasseDeriv_coeff',
    'HomologicalComplex.isZero_X_of_isStrictlySupported',
]
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. -->

<!--

Bias, Risks and Limitations

What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model. -->

<!--

Recommendations

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

Training Details

Training Dataset

Unnamed Dataset
  • —Size: 5,854,451 training samples
  • —Columns: <code>statename</code> and <code>premisename</code>
  • —Approximate statistics based on the first 1000 samples: | | statename | premisename | |:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------| | type | string | string | | details | <ul><li>min: 10 tokens</li><li>mean: 17.28 tokens</li><li>max: 22 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 11.34 tokens</li><li>max: 38 tokens</li></ul> |
  • —Samples: | statename | premisename | |:------------------------------------------------------|:-----------------------------------------------------| | <code>Mathlib.RingTheory.Ideal.Norm.RelNorm#46</code> | <code>RingHomCompTriple.ids</code> | | <code>Mathlib.RingTheory.Ideal.Norm.RelNorm#46</code> | <code>MonoidWithZeroHomClass.toMonoidHomClass</code> | | <code>Mathlib.RingTheory.Ideal.Norm.RelNorm#46</code> | <code>Ideal.subset_span</code> |
  • —Loss: <code>loss.MaskedCachedMultipleNegativesRankingLoss</code> with these parameters:
json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim"
  }

Evaluation Dataset

Unnamed Dataset
  • —Size: 1,959 evaluation samples
  • —Columns: <code>statename</code> and <code>premisename</code>
  • —Approximate statistics based on the first 1000 samples: | | statename | premisename | |:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------| | type | string | string | | details | <ul><li>min: 10 tokens</li><li>mean: 17.08 tokens</li><li>max: 24 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 11.05 tokens</li><li>max: 31 tokens</li></ul> |
  • —Samples: | statename | premisename | |:-------------------------------------------------------------|:----------------------------------------------------------| | <code>Mathlib.Algebra.Algebra.Hom#80</code> | <code>AlgHom.commutes</code> | | <code>Mathlib.Algebra.Algebra.NonUnitalSubalgebra#237</code> | <code>NonUnitalAlgHom.instNonUnitalAlgSemiHomClass</code> | | <code>Mathlib.Algebra.Algebra.NonUnitalSubalgebra#237</code> | <code>NonUnitalAlgebra.mem_top</code> |
  • —Loss: <code>loss.MaskedCachedMultipleNegativesRankingLoss</code> with these parameters:
json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim"
  }

Training Hyperparameters

Non-Default Hyperparameters
  • —eval_strategy: steps
  • —per_device_train_batch_size: 1024
  • —per_device_eval_batch_size: 64
  • —learning_rate: 0.0002
  • —num_train_epochs: 1.0
  • —lr_scheduler_type: cosine
  • —warmup_ratio: 0.03
  • —bf16: True
  • —dataloader_num_workers: 4
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: 64
  • —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: 0.0002
  • —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.0
  • —max_steps: -1
  • —lr_scheduler_type: cosine
  • —lr_scheduler_kwargs: {}
  • —warmup_ratio: 0.03
  • —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: 4
  • —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: False
  • —hub_always_push: False
  • —gradient_checkpointing: False
  • —gradient_checkpointing_kwargs: None
  • —include_inputs_for_metrics: False
  • —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
  • —batch_sampler: batch_sampler
  • —multi_dataset_batch_sampler: proportional

</details>

Training Logs

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

EpochStepTraining Lossloss
0.0017107.5842-
0.0035206.4567-
0.0052305.9408-
0.0070405.7176-
0.0087505.5353-
0.010158-2.2337
0.0105605.4044-
0.0122705.3384-
0.0140805.2395-
0.0157905.1291-
0.01751005.1093-
0.01921105.0695-
0.0203116-1.9949
0.02101204.9664-
0.02271304.973-
0.02451404.9065-
0.02621504.8961-
0.02801604.839-
0.02971704.8513-
0.0304174-1.9119
0.03151804.7662-
0.03321904.7385-
0.03502004.7036-
0.03672104.7013-
0.03852204.6837-
0.04022304.6325-
0.0406232-1.7502
0.04202404.5982-
0.04372504.5526-
0.04552604.5793-
0.04722704.545-
0.04902804.5173-
0.05072904.45951.6955
0.05253004.4772-
0.05423104.4038-
0.05603204.4132-
0.05773304.4139-
0.05953404.3585-
0.0609348-1.6316
0.06123504.3314-
0.06303604.3805-
0.06473704.2791-
0.06653804.2938-
0.06823904.2591-
0.07004004.262-
0.0710406-1.5723
0.07174104.2108-
0.07354204.1723-
0.07524304.157-
0.07694404.1878-
0.07874504.1644-
0.08044604.1569-
0.0811464-1.5368
0.08224704.139-
0.08394804.0872-
0.08574904.1169-
0.08745004.062-
0.08925104.1138-
0.09095204.1088-
0.0913522-1.5232
0.09275304.0526-
0.09445404.0355-
0.09625503.9937-
0.09795603.9647-
0.09975703.9715-
0.10145803.95241.4901
0.10325903.945-
0.10496003.9615-
0.10676103.9713-
0.10846203.9264-
0.11026303.9036-
0.1116638-1.4411
0.11196403.8909-
0.11376503.901-
0.11546603.879-
0.11726703.8696-
0.11896803.8678-
0.12076903.8472-
0.1217696-1.4459
0.12247003.8277-
0.12427103.8321-
0.12597203.812-
0.12777303.8386-
0.12947403.7583-
0.13127503.8007-
0.1319754-1.3644
0.13297603.7337-
0.13477703.7554-
0.13647803.7518-
0.13827903.6993-
0.13998003.7477-
0.14178103.6979-
0.1420812-1.3702
0.14348203.6651-
0.14528303.7292-
0.14698403.7005-
0.14878503.6856-
0.15048603.631-
0.15228703.64591.3568
0.15398803.6089-
0.15568903.6134-
0.15749003.6058-
0.15919103.6193-
0.16099203.627-
0.1623928-1.3072
0.16269303.6202-
0.16449403.5891-
0.16619503.6185-
0.16799603.5984-
0.16969703.6258-
0.17149803.5625-
0.1724986-1.2930
0.17319903.5441-
0.174910003.5571-
0.176610103.5486-
0.178410203.5382-
0.180110303.4519-
0.181910403.5072-
0.18261044-1.2823
0.183610503.5042-
0.185410603.5005-
0.187110703.455-
0.188910803.4727-
0.190610903.4473-
0.192411003.4296-
0.19271102-1.2696
0.194111103.449-
0.195911203.4202-
0.197611303.4236-
0.199411403.414-
0.201111503.4264-
0.202911603.40051.2602
0.204611703.3801-
0.206411803.3543-
0.208111903.3866-
0.209912003.3831-
0.211612103.3691-
0.21301218-1.2130
0.213412203.3607-
0.215112303.3659-
0.216912403.3538-
0.218612503.3336-
0.220412603.3403-
0.222112703.3062-
0.22321276-1.2237
0.223912803.3251-
0.225612903.3475-
0.227413003.2729-
0.229113103.2872-
0.230813203.2778-
0.232613303.3147-
0.23331334-1.2061
0.234313403.2477-
0.236113503.2871-
0.237813603.2458-
0.239613703.279-
0.241313803.2546-
0.243113903.2342-
0.24341392-1.1854
0.244814003.2488-
0.246614103.2489-
0.248314203.2368-
0.250114303.2517-
0.251814403.2568-
0.253614503.211.1616
0.255314603.1891-
0.257114703.1739-
0.258814803.2004-
0.260614903.1988-
0.262315003.1892-
0.26371508-1.1306
0.264115103.1967-
0.265815203.1331-
0.267615303.155-
0.269315403.1564-
0.271115503.1912-
0.272815603.1005-
0.27391566-1.1026
0.274615703.1166-
0.276315803.1453-
0.278115903.116-
0.279816003.1465-
0.281616103.1325-
0.283316203.1022-
0.28401624-1.1400
0.285116303.0703-
0.286816403.0999-
0.288616503.0957-
0.290316603.0886-
0.292116703.0471-
0.293816803.0845-
0.29421682-1.1045
0.295616903.0513-
0.297317003.0621-
0.299117103.0473-
0.300817203.0486-
0.302617303.0189-
0.304317403.06751.1004
0.306117503.0592-
0.307817603.0663-
0.309517703.0879-
0.311317803.0167-
0.313017903.0356-
0.31441798-1.0554
0.314818003.0294-
0.316518102.9956-
0.318318202.985-
0.320018302.9824-
0.321818402.9939-
0.323518502.9979-
0.32461856-1.0561
0.325318602.9935-
0.327018703.0613-
0.328818802.9742-
0.330518902.9858-
0.332319002.9446-
0.334019102.9571-
0.33471914-1.0333
0.335819202.9839-
0.337519302.9865-
0.339319402.9398-
0.341019502.9504-
0.342819602.9371-
0.344519702.9222-
0.34491972-1.0322
0.346319802.8907-
0.348019902.9412-
0.349820002.944-
0.351520102.9168-
0.353320202.9076-
0.355020302.89671.0103
0.356820402.8569-
0.358520502.8602-
0.360320602.8984-
0.362020702.8782-
0.363820802.8649-
0.36522088-1.0136
0.365520902.8388-
0.367321002.8845-
0.369021102.8749-
0.370821202.8439-
0.372521302.8693-
0.374321402.8342-
0.37532146-0.9949
0.376021502.8696-
0.377821602.872-
0.379521702.828-
0.381321802.8338-
0.383021902.8716-
0.384722002.8798-
0.38542204-1.0067
0.386522102.834-
0.388222202.7885-
0.390022302.8152-
0.391722402.8214-
0.393522502.8306-
0.395222602.8164-
0.39562262-0.9845
0.397022702.8338-
0.398722802.8223-
0.400522902.8183-
0.402223002.7903-
0.404023102.7772-
0.405723202.79520.9900
0.407523302.7733-
0.409223402.8096-
0.411023502.771-
0.412723602.8178-
0.414523702.7539-
0.41592378-0.9749
0.416223802.7488-
0.418023902.7592-
0.419724002.7385-
0.421524102.7564-
0.423224202.7573-
0.425024302.7686-
0.42602436-0.9509
0.426724402.7147-
0.428524502.7375-
0.430224602.6995-
0.432024702.6888-
0.433724802.7171-
0.435524902.712-
0.43622494-0.9311
0.437225002.729-
0.439025102.6974-
0.440725202.7056-
0.442525302.7123-
0.444225402.701-
0.446025502.7211-
0.44632552-0.9259
0.447725602.6974-
0.449525702.6823-
0.451225802.6968-
0.453025902.7126-
0.454726002.693-
0.456526102.71640.9161
0.458226202.6558-
0.460026302.6972-
0.461726402.7116-
0.463426502.6398-
0.465226602.6645-
0.46662668-0.8982
0.466926702.6646-
0.468726802.6828-
0.470426902.6502-
0.472227002.6605-
0.473927102.6224-
0.475727202.6753-
0.47672726-0.8941
0.477427302.6478-
0.479227402.6688-
0.480927502.6674-
0.482727602.6132-
0.484427702.6286-
0.486227802.634-
0.48692784-0.8756
0.487927902.6359-
0.489728002.6242-
0.491428102.6443-
0.493228202.59-
0.494928302.6166-
0.496728402.6249-
0.49702842-0.8802
0.498428502.6257-
0.500228602.6286-
0.501928702.5671-
0.503728802.5959-
0.505428902.5962-
0.507229002.55210.8673
0.508929102.5833-
0.510729202.6015-
0.512429302.6446-
0.514229402.5655-
0.515929502.5802-
0.51732958-0.8614
0.517729602.6124-
0.519429702.5372-
0.521229802.5108-
0.522929902.578-
0.524730002.5629-
0.526430102.5691-
0.52753016-0.8418
0.528230202.5313-
0.529930302.5791-
0.531730402.5216-
0.533430502.5263-
0.535230602.5213-
0.536930702.5485-
0.53763074-0.8546
0.538630802.5435-
0.540430902.5599-
0.542131002.5045-
0.543931102.5055-
0.545631202.54-
0.547431302.5134-
0.54773132-0.8515
0.549131402.5053-
0.550931502.4578-
0.552631602.517-
0.554431702.5061-
0.556131802.5262-
0.557931902.57870.8376
0.559632002.4855-
0.561432102.5058-
0.563132202.5279-
0.564932302.498-
0.566632402.5045-
0.56803248-0.8407
0.568432502.5129-
0.570132602.517-
0.571932702.4647-
0.573632802.4642-
0.575432902.4936-
0.577133002.4862-
0.57823306-0.8310
0.578933102.4805-
0.580633202.4986-
0.582433302.481-
0.584133402.4747-
0.585933502.4939-
0.587633602.4691-
0.58833364-0.8397
0.589433702.4798-
0.591133802.4439-
0.592933902.4849-
0.594634002.4653-
0.596434102.4795-
0.598134202.4681-
0.59853422-0.8265
0.599934302.4671-
0.601634402.4579-
0.603434502.4319-
0.605134602.4235-
0.606934702.4447-
0.608634802.4560.8104
0.610434902.4107-
0.612135002.49-
0.613935102.4511-
0.615635202.4446-
0.617335302.4159-
0.61873538-0.8086
0.619135402.4135-
0.620835502.4147-
0.622635602.4458-
0.624335702.4207-
0.626135802.4333-
0.627835902.3931-
0.62893596-0.8036
0.629636002.4695-
0.631336102.4285-
0.633136202.4066-
0.634836302.414-
0.636636402.4229-
0.638336502.3916-
0.63903654-0.7960
0.640136602.4376-
0.641836702.4196-
0.643636802.4132-
0.645336902.4016-
0.647137002.3749-
0.648837102.3963-
0.64923712-0.7895
0.650637202.4223-
0.652337302.3787-
0.654137402.368-
0.655837502.3526-
0.657637602.3883-
0.659337702.42860.7897
0.661137802.366-
0.662837902.3914-
0.664638002.416-
0.666338102.3731-
0.668138202.4097-
0.66953828-0.7782
0.669838302.374-
0.671638402.3591-
0.673338502.384-
0.675138602.398-
0.676838702.3712-
0.678638802.3936-
0.67963886-0.7725
0.680338902.3895-
0.682139002.359-
0.683839102.3901-
0.685639202.4-
0.687339302.3628-
0.689139402.3732-
0.68983944-0.7658
0.690839502.3929-
0.692539602.3792-
0.694339702.3496-
0.696039802.3242-
0.697839902.3471-
0.699540002.3503-
0.69994002-0.7617
0.701340102.3693-
0.703040202.3608-
0.704840302.3419-
0.706540402.3577-
0.708340502.3403-
0.710040602.34910.7549
0.711840702.3175-
0.713540802.3513-
0.715340902.3767-
0.717041002.371-
0.718841102.3103-
0.72024118-0.7585
0.720541202.3048-
0.722341302.3406-
0.724041402.3551-
0.725841502.3309-
0.727541602.3565-
0.729341702.3111-
0.73034176-0.7527
0.731041802.2925-
0.732841902.281-
0.734542002.3131-
0.736342102.3568-
0.738042202.3645-
0.739842302.3283-
0.74054234-0.7497
0.741542402.3098-
0.743342502.3136-
0.745042602.3141-
0.746842702.2717-
0.748542802.325-
0.750342902.3358-
0.75064292-0.7449
0.752043002.296-
0.753843102.3211-
0.755543202.3035-
0.757343302.3114-
0.759043402.3076-
0.760843502.3340.7416
0.762543602.2805-
0.764343702.3302-
0.766043802.2753-
0.767843902.3084-
0.769544002.308-
0.77094408-0.7463
0.771244102.2909-
0.773044202.2796-
0.774744302.2868-
0.776544402.3021-
0.778244502.2977-
0.780044602.2885-
0.78104466-0.7391
0.781744702.2967-
0.783544802.2774-
0.785244902.3178-
0.787045002.2785-
0.788745102.2493-
0.790545202.2866-
0.79124524-0.7325
0.792245302.2632-
0.794045402.289-
0.795745502.2782-
0.797545602.2607-
0.799245702.2914-
0.801045802.2593-
0.80134582-0.7318
0.802745902.3077-
0.804546002.2793-
0.806246102.3051-
0.808046202.2914-
0.809746302.2646-
0.811546402.25740.7308
0.813246502.2654-
0.815046602.235-
0.816746702.258-
0.818546802.2935-
0.820246902.281-
0.82164698-0.7281
0.822047002.295-
0.823747102.3095-
0.825547202.2516-
0.827247302.2292-
0.829047402.2635-
0.830747502.2522-
0.83184756-0.7330
0.832547602.248-
0.834247702.3082-
0.836047802.2447-
0.837747902.2596-
0.839548002.2747-
0.841248102.2343-
0.84194814-0.7319
0.843048202.2521-
0.844748302.2642-
0.846448402.2492-
0.848248502.2788-
0.849948602.2925-
0.851748702.2491-
0.85204872-0.7304
0.853448802.2666-
0.855248902.2261-
0.856949002.2504-
0.858749102.2567-
0.860449202.2813-
0.862249302.2440.7277
0.863949402.2645-
0.865749502.228-
0.867449602.2322-
0.869249702.2547-
0.870949802.2722-
0.87234988-0.7272
0.872749902.227-
0.874450002.2407-
0.876250102.2269-
0.877950202.2428-
0.879750302.2448-
0.881450402.2562-
0.88255046-0.7256
0.883250502.2364-
0.884950602.2445-
0.886750702.2409-
0.888450802.2261-
0.890250902.2613-
0.891951002.2718-
0.89265104-0.7233
0.893751102.2544-
0.895451202.2276-
0.897251302.2385-
0.898951402.2401-
0.900751502.2769-
0.902451602.2399-
0.90285162-0.7231
0.904251702.2205-
0.905951802.2303-
0.907751902.231-
0.909452002.2356-
0.911252102.2386-
0.912952202.22330.7233
0.914752302.2509-
0.916452402.2201-
0.918252502.2189-
0.919952602.1992-
0.921752702.2362-
0.92315278-0.7221
0.923452802.2293-
0.925152902.2302-
0.926953002.2216-
0.928653102.2191-
0.930453202.2504-
0.932153302.2447-
0.93325336-0.7221
0.933953402.2326-
0.935653502.2315-
0.937453602.244-
0.939153702.2369-
0.940953802.2312-
0.942653902.2739-
0.94335394-0.7206
0.944454002.2598-
0.946154102.2319-
0.947954202.2312-
0.949654302.2592-
0.951454402.2503-
0.953154502.232-
0.95355452-0.7208
0.954954602.2341-
0.956654702.2564-
0.958454802.2087-
0.960154902.257-
0.961955002.2524-
0.963655102.2530.7204
0.965455202.2424-
0.967155302.2459-
0.968955402.2387-
0.970655502.2482-
0.972455602.2156-
0.97385568-0.7200
0.974155702.2343-
0.975955802.2426-
0.977655902.2154-
0.979456002.2365-
0.981156102.275-
0.982956202.2689-
0.98395626-0.7200
0.984656302.2356-
0.986456402.2517-
0.988156502.2436-
0.989956602.2229-
0.991656702.2617-
0.993456802.2359-
0.99415684-0.7201
0.995156902.2444-
0.996957002.2505-
0.998657102.2713-

</details>

Framework Versions

  • —Python: 3.11.8
  • —Sentence Transformers: 3.1.1
  • —Transformers: 4.45.1
  • —PyTorch: 2.4.0+cu121
  • —Accelerate: 0.34.2
  • —Datasets: 3.0.0
  • —Tokenizers: 0.20.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",
}
MaskedCachedMultipleNegativesRankingLoss
bibtex
@misc{gao2021scaling,
    title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup},
    author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan},
    year={2021},
    eprint={2101.06983},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}

<!--

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