CoolFace
Modelpublic

youssefkhalil320/all-MiniLM-L6-v8-pair_score

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes7downloads
Model Card

all-MiniLM-L6-v8-pair_score

This is a sentence-transformers model finetuned from sentence-transformers/all-MiniLM-L6-v2 on the pairs_three_scores_v5 dataset. It maps sentences & paragraphs to a 384-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-MiniLM-L6-v2 <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
  • —Maximum Sequence Length: 256 tokens
  • —Output Dimensionality: 384 tokens
  • —Similarity Function: Cosine Similarity
  • —Training Dataset:
  • —pairs_three_scores_v5
  • —Language: en
  • —License: apache-2.0

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel 
  (1): Pooling({'word_embedding_dimension': 384, '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("sentence_transformers_model_id")
# Run inference
sentences = [
    'activated charcoal shampoo',
    'belgian chocolate with cranberries',
    'saw palmetto oil conditioner',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]

# 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

pairsthreescores_v5
  • —Dataset: pairs_three_scores_v5 at 3d8c457
  • —Size: 80,000,003 training samples
  • —Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
  • —Approximate statistics based on the first 1000 samples: | | sentence1 | sentence2 | score | |:--------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------| | type | string | string | float | | details | <ul><li>min: 3 tokens</li><li>mean: 6.06 tokens</li><li>max: 12 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 5.71 tokens</li><li>max: 13 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.11</li><li>max: 1.0</li></ul> |
  • —Samples: | sentence1 | sentence2 | score | |:-------------------------------------|:---------------------------------------|:-----------------| | <code>vanilla hair cream</code> | <code>free of paraben hair mask</code> | <code>0.5</code> | | <code>nourishing shampoo</code> | <code>cumin lemon tea</code> | <code>0.0</code> | | <code>safe materials pacifier</code> | <code>facial serum</code> | <code>0.5</code> |
  • —Loss: <code>CoSENTLoss</code> with these parameters:
json
  {
      "scale": 20.0,
      "similarity_fct": "pairwise_cos_sim"
  }

Evaluation Dataset

pairsthreescores_v5
  • —Dataset: pairs_three_scores_v5 at 3d8c457
  • —Size: 20,000,001 evaluation samples
  • —Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
  • —Approximate statistics based on the first 1000 samples: | | sentence1 | sentence2 | score | |:--------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------| | type | string | string | float | | details | <ul><li>min: 3 tokens</li><li>mean: 6.21 tokens</li><li>max: 12 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 5.75 tokens</li><li>max: 12 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.11</li><li>max: 1.0</li></ul> |
  • —Samples: | sentence1 | sentence2 | score | |:----------------------------------------|:-----------------------------------|:-----------------| | <code>teddy bear toy</code> | <code>long lasting cat food</code> | <code>0.0</code> | | <code>eva hair treatment</code> | <code>fresh pineapple</code> | <code>0.0</code> | | <code>soft wave hair conditioner</code> | <code>hybrid seat bike</code> | <code>0.0</code> |
  • —Loss: <code>CoSENTLoss</code> with these parameters:
json
  {
      "scale": 20.0,
      "similarity_fct": "pairwise_cos_sim"
  }

Training Hyperparameters

Non-Default Hyperparameters
  • —eval_strategy: steps
  • —per_device_train_batch_size: 128
  • —per_device_eval_batch_size: 128
  • —learning_rate: 2e-05
  • —num_train_epochs: 1
  • —warmup_ratio: 0.1
  • —fp16: True
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: 128
  • —per_device_eval_batch_size: 128
  • —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: 2e-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: False
  • —fp16: True
  • —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: 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.86825426000.9424-
0.86835427000.968-
0.86855428000.9711-
0.86865429000.8668-
0.86885430000.7776-
0.86905431000.5938-
0.86915432000.7416-
0.86935433001.2082-
0.86945434000.5481-
0.86965435000.9383-
0.86985436000.699-
0.86995437000.6582-
0.87015438000.9237-
0.87025439000.5977-
0.87045440000.632-
0.87065441000.819-
0.87075442000.5877-
0.87095443000.725-
0.87105444000.6097-
0.87125445000.4883-
0.87145446000.7353-
0.87155447000.8596-
0.87175448000.4478-
0.87185449000.49-
0.87205450000.6203-
0.87225451000.6758-
0.87235452000.959-
0.87255453001.4645-
0.87265454000.7873-
0.87285455000.6609-
0.87305456000.8173-
0.87315457001.1416-
0.87335458000.8406-
0.87345459000.8781-
0.87365460000.6507-
0.87385461001.0332-
0.87395462000.9044-
0.87415463000.8617-
0.87425464000.7377-
0.87445465000.7668-
0.87465466000.6856-
0.87475467001.0069-
0.87495468000.5628-
0.87505469000.6661-
0.87525470000.8508-
0.87545471001.0595-
0.87555472000.8156-
0.87575473000.4535-
0.87585474000.7963-
0.87605475000.8964-
0.87625476000.6343-
0.87635477000.9795-
0.87655478001.0885-
0.87665479000.6333-
0.87685480001.0065-
0.87705481000.8155-
0.87715482000.8595-
0.87735483001.2973-
0.87745484000.9477-
0.87765485001.092-
0.87785486000.9252-
0.87795487000.6214-
0.87815488000.6302-
0.87825489000.4542-
0.87845490000.6626-
0.87865491000.6616-
0.87875492000.5897-
0.87895493000.5641-
0.87905494000.8449-
0.87925495000.7743-
0.87945496000.8134-
0.87955497001.0455-
0.87975498000.6805-
0.87985499000.6526-
0.88005500000.5727-
0.88025501000.5923-
0.88035502000.565-
0.88055503000.7745-
0.88065504000.757-
0.88085505000.624-
0.88105506000.9387-
0.88115507000.9718-
0.88135508000.9184-
0.88145509001.166-
0.88165510000.6725-
0.88185511000.9767-
0.88195512000.517-
0.88215513000.9126-
0.88225514001.3649-
0.88245515000.7633-
0.88265516000.6029-
0.88275517000.4923-
0.88295518000.7787-
0.88305519000.7437-
0.88325520000.7627-
0.88345521000.5648-
0.88355522000.5564-
0.88375523000.7376-
0.88385524000.8405-
0.88405525001.062-
0.88425526000.7844-
0.88435527000.6866-
0.88455528000.8532-
0.88465529000.4204-
0.88485530000.7487-
0.88505531000.5511-
0.88515532000.8468-
0.88535533000.9251-
0.88545534001.0542-
0.88565535000.9342-
0.88585536001.0533-
0.88595537000.7185-
0.88615538000.5811-
0.88625539000.8484-
0.88645540000.5215-
0.88665541000.4963-
0.88675542000.6594-
0.88695543000.5277-
0.88705544000.5139-
0.88725545000.9343-
0.88745546000.9857-
0.88755547000.7193-
0.88775548000.9394-
0.88785549000.91-
0.88805550000.601-
0.88825551000.4681-
0.88835552000.7671-
0.88855553000.4485-
0.88865554000.8482-
0.88885555000.8826-
0.88905556000.3257-
0.88915557000.6727-
0.88935558000.7098-
0.88945559000.7871-
0.88965560000.843-
0.88985561001.0637-
0.88995562000.4367-
0.89015563000.8833-
0.89025564000.6529-
0.89045565001.0443-
0.89065566001.1076-
0.89075567000.7762-
0.89095568000.5598-
0.89105569001.127-
0.89125570000.5471-
0.89145571000.869-
0.89155572000.8392-
0.89175573000.7547-
0.89185574000.5796-
0.89205575000.7446-
0.89225576000.9913-
0.89235577000.6937-
0.89255578000.5643-
0.89265579000.8484-
0.89285580000.8971-
0.89305581001.1094-
0.89315582000.6835-
0.89335583000.8818-
0.89345584001.1366-
0.89365585000.8887-
0.89385586000.5754-
0.89395587000.7777-
0.89415588000.9033-
0.89425589000.5612-
0.89445590000.7949-
0.89465591001.1081-
0.89475592000.6708-
0.89495593000.7044-
0.89505594000.6862-
0.89525595000.8251-
0.89545596000.7551-
0.89555597001.0697-
0.89575598000.9638-
0.89585599000.9433-
0.89605600000.7142-
0.89625601000.6868-
0.89635602001.0483-
0.89655603000.9234-
0.89665604001.0903-
0.89685605000.8217-
0.89705606000.6451-
0.89715607000.7644-
0.89735608000.518-
0.89745609000.6178-
0.89765610000.6031-
0.89785611000.7723-
0.89795612000.3514-
0.89815613000.8751-
0.89825614000.7787-
0.89845615000.7343-
0.89865616000.674-
0.89875617000.8175-
0.89895618000.7348-
0.89905619000.8423-
0.89925620001.004-
0.89945621000.9213-
0.89955622001.0421-
0.89975623000.658-
0.89985624000.8207-
0.90005625000.5178-
0.90025626000.7567-
0.90035627000.8287-
0.90055628000.5924-
0.90065629000.9151-
0.90085630000.9069-
0.90105631000.7985-
0.90115632000.7565-
0.90135633000.823-
0.90145634000.5373-
0.90165635000.5473-
0.90185636000.7323-
0.90195637000.691-
0.90215638000.8818-
0.90225639000.7351-
0.90245640001.0715-
0.90265641000.722-
0.90275642000.6988-
0.90295643001.1843-
0.90305644001.0299-
0.90325645001.119-
0.90345646000.6954-
0.90355647000.8773-
0.90375648000.7873-
0.90385649000.7503-
0.90405650001.1296-
0.90425651000.777-
0.90435652000.8982-
0.90455653000.9224-
0.90465654000.8596-
0.90485655000.5435-
0.90505656000.8324-
0.90515657000.4121-
0.90535658000.9148-
0.90545659000.4525-
0.90565660000.7476-
0.90585661000.8766-
0.90595662001.1123-
0.90615663000.8109-
0.90625664000.8251-
0.90645665000.9638-
0.90665666000.7842-
0.90675667000.8727-
0.90695668001.1777-
0.90705669001.435-
0.90725670000.7354-
0.90745671000.796-
0.90755672000.8451-
0.90775673000.479-
0.90785674000.5299-
0.90805675000.7735-
0.90825676001.1211-
0.90835677000.9364-
0.90855678000.5533-
0.90865679000.9091-
0.90885680000.7493-
0.90905681001.0247-
0.90915682000.4836-
0.90935683000.9966-
0.90945684000.8997-
0.90965685000.7764-
0.90985686000.7193-
0.90995687000.6184-
0.91015688000.9031-
0.91025689000.7061-
0.91045690001.0852-
0.91065691001.0778-
0.91075692000.6463-
0.91095693000.5569-
0.91105694000.5566-
0.91125695000.6489-
0.91145696000.8065-
0.91155697000.8123-
0.91175698000.5946-
0.91185699000.8424-
0.91205700000.8987-
0.91225701000.7266-
0.91235702000.7386-
0.91255703000.7266-
0.91265704000.8668-
0.91285705000.7228-
0.91305706000.6914-
0.91315707000.8578-
0.91335708000.7019-
0.91345709000.5146-
0.91365710000.8236-
0.91385711000.8977-
0.91395712000.6571-
0.91415713000.6818-
0.91425714000.6226-
0.91445715001.034-
0.91465716000.7306-
0.91475717001.4244-
0.91495718000.8388-
0.91505719000.5627-
0.91525720000.8637-
0.91545721001.0419-
0.91555722001.3043-
0.91575723000.4563-
0.91585724000.6826-
0.91605725000.801-
0.91625726000.82-
0.91635727000.4677-
0.91655728000.6236-
0.91665729000.7783-
0.91685730000.8284-
0.91705731000.8253-
0.91715732001.039-
0.91735733000.9098-
0.91745734001.068-
0.91765735000.6172-
0.91785736000.6679-
0.91795737000.8135-
0.91815738001.1141-
0.91825739000.8077-
0.91845740000.7952-
0.91865741000.8684-
0.91875742000.518-
0.91895743000.6675-
0.91905744000.9315-
0.91925745000.6984-
0.91945746000.7571-
0.91955747000.9037-
0.91975748000.5965-
0.91985749000.8542-
0.92005750000.8226-
0.92025751000.6057-
0.92035752000.7658-
0.92055753000.9765-
0.92065754000.9145-
0.92085755000.3843-
0.92105756000.8603-
0.92115757000.9048-
0.92135758000.7786-
0.92145759000.8639-
0.92165760000.8909-
0.92185761000.6091-
0.92195762000.4416-
0.92215763000.4569-
0.92225764000.6638-
0.92245765000.9033-
0.92265766000.5351-
0.92275767000.8799-
0.92295768001.212-
0.92305769000.7717-
0.92325770000.9058-
0.92345771000.9647-
0.92355772000.7648-
0.92375773000.8776-
0.92385774000.4155-
0.92405775000.5997-
0.92425776000.9836-
0.92435777000.7584-
0.92455778000.7656-
0.92465779000.7135-
0.92485780000.8408-
0.92505781000.9118-
0.92515782000.587-
0.92535783000.9372-
0.92545784000.674-
0.92565785000.7524-
0.92585786000.7039-
0.92595787000.7397-
0.92615788000.739-
0.92625789000.6249-
0.92645790000.7223-
0.92665791000.8787-
0.92675792000.6817-
0.92695793000.4517-
0.92705794000.9203-
0.92725795001.0586-
0.92745796000.4509-
0.92755797000.6122-
0.92775798000.8044-
0.92785799000.4963-
0.92805800000.5926-
0.92825801000.8616-
0.92835802000.79-
0.92855803001.1544-
0.92865804000.6989-
0.92885805001.3349-
0.92905806001.2488-
0.92915807001.171-
0.92935808000.5529-
0.92945809000.7977-
0.92965810000.6397-
0.92985811001.2556-
0.92995812000.8389-
0.93015813000.967-
0.93025814000.9108-
0.93045815000.927-
0.93065816000.8314-
0.93075817000.8189-
0.93095818000.5584-
0.93105819000.8506-
0.93125820000.9845-
0.93145821000.8159-
0.93155822000.6512-
0.93175823000.7216-
0.93185824000.7841-
0.93205825000.852-
0.93225826000.7754-
0.93235827000.6775-
0.93255828000.4598-
0.93265829000.625-
0.93285830001.1821-
0.93305831000.6845-
0.93315832000.8293-
0.93335833000.7485-
0.93345834001.0008-
0.93365835000.7762-
0.93385836000.5416-
0.93395837001.2784-
0.93415838000.9202-
0.93425839000.7189-
0.93445840001.0549-
0.93465841000.9661-
0.93475842000.5341-
0.93495843001.4547-
0.93505844001.0324-
0.93525845000.8276-
0.93545846000.3868-
0.93555847001.0488-
0.93575848000.9561-
0.93585849000.9193-
0.93605850000.9144-
0.93625851000.7702-
0.93635852000.798-
0.93655853000.5793-
0.93665854000.7867-
0.93685855000.8352-
0.93705856000.6128-
0.93715857000.734-
0.93735858000.5431-
0.93745859000.8416-
0.93765860000.8711-
0.93785861000.9059-
0.93795862000.5545-
0.93815863000.9609-
0.93825864000.579-
0.93845865001.1916-
0.93865866000.6305-
0.93875867000.9855-
0.93895868000.774-
0.93905869000.6012-
0.93925870000.7495-
0.93945871000.6666-
0.93955872000.8473-
0.93975873001.0324-
0.93985874000.6129-
0.94005875000.8905-
0.94025876000.6067-
0.94035877001.0607-
0.94055878000.6369-
0.94065879000.6892-
0.94085880000.6671-
0.94105881000.7971-
0.94115882000.7133-
0.94135883000.46-
0.94145884000.9073-
0.94165885000.9276-
0.94185886001.0273-
0.94195887000.6709-
0.94215888000.4284-
0.94225889000.8745-
0.94245890000.8677-
0.94265891000.867-
0.94275892000.6087-
0.94295893000.6777-
0.94305894000.6672-
0.94325895000.9492-
0.94345896000.6848-
0.94355897000.8975-
0.94375898000.3949-
0.94385899000.7469-
0.94405900000.7412-
0.94425901000.526-
0.94435902000.4228-
0.94455903000.9338-
0.94465904000.6516-
0.94485905000.9419-
0.94505906000.755-
0.94515907000.7699-
0.94535908000.8904-
0.94545909000.5596-
0.94565910000.9401-
0.94585911000.9583-
0.94595912000.6807-
0.94615913000.6972-
0.94625914000.7217-
0.94645915000.7406-
0.94665916000.5819-
0.94675917000.8508-
0.94695918000.5315-
0.94705919000.606-
0.94725920000.7971-
0.94745921001.0728-
0.94755922000.7283-
0.94775923000.5131-
0.94785924000.4695-
0.94805925000.2959-
0.94825926000.858-
0.94835927000.5761-
0.94855928000.9089-
0.94865929000.6238-
0.94885930000.5633-
0.94905931001.0323-
0.94915932000.6684-
0.94935933000.8563-
0.94945934000.7163-
0.94965935000.7814-
0.94985936000.4761-
0.94995937000.5203-
0.95015938000.9119-
0.95025939000.8535-
0.95045940001.0054-
0.95065941000.8794-
0.95075942000.6925-
0.95095943001.0048-
0.95105944000.7008-
0.95125945000.7092-
0.95145946000.803-
0.95155947000.7868-
0.95175948000.6047-
0.95185949000.6654-
0.95205950000.7418-
0.95225951001.0645-
0.95235952000.6193-
0.95255953000.7615-
0.95265954000.8291-
0.95285955000.8298-
0.95305956000.9187-
0.95315957000.6942-
0.95335958000.912-
0.95345959001.0213-
0.95365960000.9347-
0.95385961001.1183-
0.95395962000.78-
0.95415963000.8976-
0.95425964001.0957-
0.95445965000.8133-
0.95465966000.6568-
0.95475967000.8911-
0.95495968000.5183-
0.95505969000.7212-
0.95525970000.888-
0.95545971000.7661-
0.95555972000.6028-
0.95575973001.0602-
0.95585974000.7299-
0.95605975000.9885-
0.95625976000.8964-
0.95635977000.6961-
0.95655978000.6989-
0.95665979001.1453-
0.95685980000.4009-
0.95705981000.7645-
0.95715982000.9124-
0.95735983000.7354-
0.95745984000.803-
0.95765985001.2859-
0.95785986000.9726-
0.95795987000.5849-
0.95815988001.1357-
0.95825989000.904-
0.95845990000.6113-
0.95865991001.0399-
0.95875992000.8404-
0.95895993000.945-
0.95905994000.6225-
0.95925995000.8617-
0.95945996000.8782-
0.95955997000.9332-
0.95975998000.9949-
0.95985999000.7016-
0.96006000000.58330.7694
0.96026001000.5462-
0.96036002000.8458-
0.96056003000.8256-
0.96066004000.8134-
0.96086005000.7465-
0.96106006001.0022-
0.96116007000.7794-
0.96136008000.8742-
0.96146009000.6161-
0.96166010001.1433-
0.96186011000.6988-
0.96196012000.8715-
0.96216013000.6198-
0.96226014000.896-
0.96246015000.5527-
0.96266016001.1485-
0.96276017000.8266-
0.96296018000.6972-
0.96306019000.5653-
0.96326020000.6448-
0.96346021000.9891-
0.96356022000.8991-
0.96376023000.8615-
0.96386024000.8568-
0.96406025000.7636-
0.96426026000.714-
0.96436027000.5237-
0.96456028001.1789-
0.96466029000.5586-
0.96486030000.5008-
0.96506031000.8864-
0.96516032000.8781-
0.96536033001.0112-
0.96546034000.9674-
0.96566035000.5763-
0.96586036000.4001-
0.96596037000.69-
0.96616038000.8321-
0.96626039000.8196-
0.96646040000.7085-
0.96666041000.8921-
0.96676042000.8983-
0.96696043001.0145-
0.96706044001.1885-
0.96726045000.7833-
0.96746046001.033-
0.96756047001.0585-
0.96776048000.856-
0.96786049000.4847-
0.96806050000.7013-
0.96826051000.7934-
0.96836052001.1386-
0.96856053000.6487-
0.96866054001.0657-
0.96886055000.432-
0.96906056000.822-
0.96916057001.0284-
0.96936058000.4082-
0.96946059000.9734-
0.96966060000.733-
0.96986061000.608-
0.96996062000.9526-
0.97016063000.837-
0.97026064000.8188-
0.97046065000.9309-
0.97066066000.7929-
0.97076067000.5051-
0.97096068000.9299-
0.97106069000.8015-
0.97126070000.6867-
0.97146071001.1677-
0.97156072000.7181-
0.97176073000.9442-
0.97186074000.663-
0.97206075000.7396-
0.97226076000.8251-
0.97236077000.6575-
0.97256078000.6674-
0.97266079000.7778-
0.97286080000.6021-
0.97306081000.9309-
0.97316082000.8329-
0.97336083000.9359-
0.97346084000.7212-
0.97366085001.0956-
0.97386086000.6235-
0.97396087000.6951-
0.97416088000.7357-
0.97426089000.427-
0.97446090001.3058-
0.97466091000.6824-
0.97476092000.7743-
0.97496093000.6551-
0.97506094000.5327-
0.97526095000.7648-
0.97546096000.6966-
0.97556097000.9422-
0.97576098001.1221-
0.97586099000.8919-
0.97606100000.5507-
0.97626101000.7228-
0.97636102000.7117-
0.97656103000.5439-
0.97666104001.0969-
0.97686105000.8394-
0.97706106001.4258-
0.97716107000.7213-
0.97736108000.8785-
0.97746109000.7981-
0.97766110000.526-
0.97786111000.6145-
0.97796112000.626-
0.97816113000.6958-
0.97826114000.7504-
0.97846115000.7285-
0.97866116001.0159-
0.97876117000.5826-
0.97896118000.7113-
0.97906119001.166-
0.97926120001.1578-
0.97946121000.7783-
0.97956122000.5356-
0.97976123000.9754-
0.97986124000.6884-
0.98006125000.6951-
0.98026126000.6126-
0.98036127000.5493-
0.98056128000.6776-
0.98066129000.5393-
0.98086130000.5629-
0.98106131000.7929-
0.98116132000.8572-
0.98136133001.056-
0.98146134000.6643-
0.98166135000.6809-
0.98186136000.8654-
0.98196137000.9761-
0.98216138001.0267-
0.98226139000.6882-
0.98246140000.6095-
0.98266141000.6508-
0.98276142000.8784-
0.98296143000.6203-
0.98306144001.0917-
0.98326145000.6585-
0.98346146000.5119-
0.98356147000.9765-
0.98376148000.84-
0.98386149000.6817-
0.98406150000.8435-
0.98426151000.6928-
0.98436152000.6534-
0.98456153000.5802-
0.98466154000.8526-
0.98486155000.841-
0.98506156000.8053-
0.98516157000.631-
0.98536158000.6311-
0.98546159000.9212-
0.98566160000.6748-
0.98586161000.6688-
0.98596162000.5771-
0.98616163000.753-
0.98626164000.7481-
0.98646165000.842-
0.98666166000.7109-
0.98676167000.9474-
0.98696168000.6522-
0.98706169000.5251-
0.98726170000.6909-
0.98746171000.8574-
0.98756172000.5703-
0.98776173000.9685-
0.98786174000.8947-
0.98806175000.5895-
0.98826176001.0236-
0.98836177000.5926-
0.98856178000.7436-
0.98866179000.6056-
0.98886180000.7208-
0.98906181000.9684-
0.98916182000.6403-
0.98936183000.8872-
0.98946184000.7158-
0.98966185000.6708-
0.98986186000.8817-
0.98996187000.8722-
0.99016188000.6972-
0.99026189000.752-
0.99046190001.6841-
0.99066191001.0315-
0.99076192000.5925-
0.99096193001.2046-
0.99106194000.9529-
0.99126195000.512-
0.99146196000.9372-
0.99156197000.8461-
0.99176198001.0018-
0.99186199000.8104-
0.99206200000.9701-
0.99226201000.9382-
0.99236202000.7666-
0.99256203000.5209-
0.99266204000.5529-
0.99286205000.8119-
0.99306206000.7313-
0.99316207000.7657-
0.99336208000.7837-
0.99346209000.7026-
0.99366210000.7149-
0.99386211000.6568-
0.99396212000.7321-
0.99416213000.7595-
0.99426214000.6011-
0.99446215001.2311-
0.99466216000.4925-
0.99476217000.8688-
0.99496218000.4481-
0.99506219001.0283-
0.99526220001.2286-
0.99546221000.873-
0.99556222000.7679-
0.99576223000.8617-
0.99586224000.6354-
0.99606225000.5432-
0.99626226001.113-
0.99636227000.8108-
0.99656228000.9604-
0.99666229000.6366-
0.99686230000.7617-
0.99706231000.7081-
0.99716232000.7325-
0.99736233000.6241-
0.99746234000.4382-
0.99766235000.3651-
0.99786236000.6324-
0.99796237000.5758-
0.99816238000.7779-
0.99826239000.7489-
0.99846240000.6391-
0.99866241000.673-
0.99876242000.7025-
0.99896243000.871-
0.99906244001.0238-
0.99926245000.5088-
0.99946246000.7578-
0.99956247000.8879-
0.99976248001.1698-
0.99986249001.0531-
1.00006250000.838-

</details>

Framework Versions

  • —Python: 3.8.10
  • —Sentence Transformers: 3.1.1
  • —Transformers: 4.45.2
  • —PyTorch: 2.4.1+cu118
  • —Accelerate: 1.0.1
  • —Datasets: 3.0.1
  • —Tokenizers: 0.20.3

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",
}
CoSENTLoss
bibtex
@online{kexuefm-8847,
    title={CoSENT: A more efficient sentence vector scheme than Sentence-BERT},
    author={Su Jianlin},
    year={2022},
    month={Jan},
    url={https://kexue.fm/archives/8847},
}

<!--

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