CoolFace
Modelpublic

SQAI/bge-embedding-model2

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes103downloads
Model Card

BGE base Financial Matryoshka

This is a sentence-transformers model finetuned from SQAI/bge-embedding-model. 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: SQAI/bge-embedding-model <!-- at revision 9a9bc3f795ddfc56610a621b37aa077ae0653fa4 -->
  • —Maximum Sequence Length: 512 tokens
  • —Output Dimensionality: 384 tokens
  • —Similarity Function: Cosine Similarity <!-- - Training Dataset: Unknown -->
  • —Language: en
  • —License: apache-2.0

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': True}) with Transformer model: BertModel 
  (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, '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("SQAI/bge-embedding-model2")
# Run inference
sentences = [
    'errors.controllerFault.lowLoadCurrent',
    '"Can you provide me with the current status of the streetlight on \'street name\', specifically in relation to its voltage under load, whether it\'s lower than expected and how that might be indicating potential electrical issues? Could you also give me insight into the current drawn by the streetlight, whether or not the relay is currently on or off, and if there are any faults in the lux module that may affect light level sensing and control? Moreover, could you tell me the type of dimming schedule applied, the ambient light level detected in lux, the total energy consumed so far recorded in kilowatt-hours, and the lower voltage threshold for this streetlight\'s efficient operation?"',
    '"Can you show me the current status of the relay in the streetlights located at the X-coordinate grid, highlighting any faults in the lux module that might be affecting light level sensing and control? Also, could you provide information on the current dimming level of these streetlights in operation, the type of dimming schedule applied, and whether the voltage is within the upper limit considered safe and efficient for their operation?"',
]
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. -->

Evaluation

Metrics

Information Retrieval
MetricValue
cosine_accuracy@10.0
cosine_accuracy@30.0
cosine_accuracy@50.0
cosine_accuracy@100.0144
cosine_precision@10.0
cosine_precision@30.0
cosine_precision@50.0
cosine_precision@100.0014
cosine_recall@10.0
cosine_recall@30.0
cosine_recall@50.0
cosine_recall@100.0144
cosine_ndcg@100.0043
cosine_mrr@100.0015
cosine_map@1000.0059
Information Retrieval
MetricValue
cosine_accuracy@10.0
cosine_accuracy@30.0
cosine_accuracy@50.0
cosine_accuracy@100.0144
cosine_precision@10.0
cosine_precision@30.0
cosine_precision@50.0
cosine_precision@100.0014
cosine_recall@10.0
cosine_recall@30.0
cosine_recall@50.0
cosine_recall@100.0144
cosine_ndcg@100.0043
cosine_mrr@100.0015
cosine_map@1000.0059
Information Retrieval
MetricValue
cosine_accuracy@10.0
cosine_accuracy@30.0
cosine_accuracy@50.0
cosine_accuracy@100.0144
cosine_precision@10.0
cosine_precision@30.0
cosine_precision@50.0
cosine_precision@100.0014
cosine_recall@10.0
cosine_recall@30.0
cosine_recall@50.0
cosine_recall@100.0144
cosine_ndcg@100.0044
cosine_mrr@100.0016
cosine_map@1000.0057
Information Retrieval
MetricValue
cosine_accuracy@10.0
cosine_accuracy@30.0
cosine_accuracy@50.0
cosine_accuracy@100.0096
cosine_precision@10.0
cosine_precision@30.0
cosine_precision@50.0
cosine_precision@100.001
cosine_recall@10.0
cosine_recall@30.0
cosine_recall@50.0
cosine_recall@100.0096
cosine_ndcg@100.003
cosine_mrr@100.0012
cosine_map@1000.0052
Information Retrieval
MetricValue
cosine_accuracy@10.0
cosine_accuracy@30.0
cosine_accuracy@50.0
cosine_accuracy@100.0192
cosine_precision@10.0
cosine_precision@30.0
cosine_precision@50.0
cosine_precision@100.0019
cosine_recall@10.0
cosine_recall@30.0
cosine_recall@50.0
cosine_recall@100.0192
cosine_ndcg@100.006
cosine_mrr@100.0023
cosine_map@1000.0052

<!--

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: 1,865 training samples
  • —Columns: <code>positive</code> and <code>anchor</code>
  • —Approximate statistics based on the first 1000 samples: | | positive | anchor | |:--------|:---------------------------------------------------------------------------------|:------------------------------------------------------------------------------------| | type | string | string | | details | <ul><li>min: 5 tokens</li><li>mean: 7.68 tokens</li><li>max: 14 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 89.79 tokens</li><li>max: 187 tokens</li></ul> |
  • —Samples: | positive | anchor | |:----------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | <code>threshold.lowLoadVoltage</code> | <code>"What is the maximum current level above which it is considered unsafe for a specific streetlight in my area, what is the minimum longitude of the geographic area this streetlight covers, is this streetlight's control mode automated or manually controlled, also, can you provide the delta or width of the grid area occupied by this group of streetlights, what is the level of AC voltage supply to this streetlight, what's the lower voltage threshold below which this streetlight may not operate efficiently, how many times has this streetlight been switched on, what is the minimum operational voltage under load conditions, and finally, what is the latitude of this streetlight?"</code> | | <code>asset.id</code> | <code>"Could you please tell me the scheduled dimming settings for the string stored streetlights, troubleshoot why these streetlights remain on during daylight hours, and confirm if this could be due to sensor faults? Also, I'd like to know the identifier for the parent group to which this group of streetlights belongs, and the IMEI number of the streetlight device."</code> | | <code>errors.controllerFault.highPower</code> | <code>"Can you provide an analysis of the efficiency of power usage by examining the power factor of the streetlights, especially in areas of the grid with high Y-coordinates, highlight instances where power consumption is significantly higher than expected which may indicate faults, identify situations where voltage under load is above safe levels, and assess if there are any problems with our central control system's ability to manage streetlight groups?"</code> |
  • —Loss: <code>MatryoshkaLoss</code> with these parameters:
json
  {
      "loss": "MultipleNegativesRankingLoss",
      "matryoshka_dims": [
          384,
          256,
          128,
          64
      ],
      "matryoshka_weights": [
          1,
          1,
          1,
          1
      ],
      "n_dims_per_step": -1
  }

Evaluation Dataset

Unnamed Dataset
  • —Size: 208 evaluation samples
  • —Columns: <code>positive</code> and <code>anchor</code>
  • —Approximate statistics based on the first 1000 samples: | | positive | anchor | |:--------|:---------------------------------------------------------------------------------|:------------------------------------------------------------------------------------| | type | string | string | | details | <ul><li>min: 5 tokens</li><li>mean: 7.55 tokens</li><li>max: 14 tokens</li></ul> | <ul><li>min: 19 tokens</li><li>mean: 90.69 tokens</li><li>max: 187 tokens</li></ul> |
  • —Samples: | positive | anchor | |:---------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | <code>log.controlModeSwitch</code> | <code>"Can you provide the control mode switch identifier used for changing the default dimming level set for a specific group of streetlights, identified by their unique identifier, considering the time taken for the streetlight to activate or light up from the command, and possibly troubleshoot why the power consumption is lower than expected which could be due to hardware issues, quite possibly due to the relay responsible for turning the streetlight on and off sticking?"</code> | | <code>errors.controllerFault.luxModuleFault</code> | <code>"Can you provide the timestamp of the last update to the threshold settings, and detail any faults in the lux module related to light level sensing and control for the streetlight on this specific street name? I also want to know the longitude of the streetlight. And also, can you tell me what type of dimming schedule is applied to the streetlight, the type of port used for its dimming controls, and the total energy it has consumed, recorded in kilowatt-hours. Lastly, could you also provide the timestamp of the recorded streetlighting error, and confirm the status of the relay responsible for turning this streetlight on and off, as I am suspecting it might be sticking?"</code> | | <code>threshold.lowLoadCurrent</code> | <code>"What is the maximum safe voltage under load conditions for the city's streetlights, and do we possess the necessary rights to link these streetlights for synchronized control? Could you provide me with the timestamp of the latest data or action performed by our streetlights, and tell me the lower lux level threshold at which we would need to consider additional lighting? How often does each streetlight send a data report in normal operation, and what is the minimum load current level where we might start seeing suboptimal functioning? Have we been experiencing any problems with managing groups of streetlights via the central control system? Also, has there been any instances where the current under load was excessively high, indicating possible overloads, or situations where the operation temperature was belo normal limits due to environmental conditions? Lastly, have there been any noted communication issues between the streetlight's driver and the control system?"</code> |
  • —Loss: <code>MatryoshkaLoss</code> with these parameters:
json
  {
      "loss": "MultipleNegativesRankingLoss",
      "matryoshka_dims": [
          384,
          256,
          128,
          64
      ],
      "matryoshka_weights": [
          1,
          1,
          1,
          1
      ],
      "n_dims_per_step": -1
  }

Training Hyperparameters

Non-Default Hyperparameters
  • —eval_strategy: epoch
  • —per_device_train_batch_size: 32
  • —per_device_eval_batch_size: 16
  • —gradient_accumulation_steps: 16
  • —learning_rate: 2e-06
  • —weight_decay: 0.03
  • —num_train_epochs: 200
  • —lr_scheduler_type: cosine
  • —warmup_ratio: 0.2
  • —bf16: True
  • —tf32: True
  • —load_best_model_at_end: True
  • —optim: adamwtorchfused
  • —batch_sampler: no_duplicates
All Hyperparameters

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

  • —overwrite_output_dir: False
  • —do_predict: False
  • —eval_strategy: epoch
  • —prediction_loss_only: True
  • —per_device_train_batch_size: 32
  • —per_device_eval_batch_size: 16
  • —per_gpu_train_batch_size: None
  • —per_gpu_eval_batch_size: None
  • —gradient_accumulation_steps: 16
  • —eval_accumulation_steps: None
  • —learning_rate: 2e-06
  • —weight_decay: 0.03
  • —adam_beta1: 0.9
  • —adam_beta2: 0.999
  • —adam_epsilon: 1e-08
  • —max_grad_norm: 1.0
  • —num_train_epochs: 200
  • —max_steps: -1
  • —lr_scheduler_type: cosine
  • —lr_scheduler_kwargs: {}
  • —warmup_ratio: 0.2
  • —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: True
  • —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: True
  • —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: adamwtorchfused
  • —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
  • —batch_sampler: no_duplicates
  • —multi_dataset_batch_sampler: proportional

</details>

Training Logs

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

EpochStepTraining Losslossdim_128_cosine_map@100dim_256_cosine_map@100dim_512_cosine_map@100dim_64_cosine_map@100dim_768_cosine_map@100
0.2712113.2713------
0.5424213.2895------
0.813639.9139------
1.084745.6117------
1.355954.7571------
1.627165.5215------
1.898375.7945------
2.169585.7064------
2.440795.6794------
2.7119105.7384------
2.9831115.6081------
3.2542125.5278------
3.5254135.149------
3.7966145.59045.60430.00810.00720.00790.00550.0079
1.0169153.9458------
1.28811613.3653------
1.55931713.4413------
1.8305189.4188------
2.1017195.717------
2.3729205.2455------
2.6441215.2117------
2.9153225.5217------
3.1864235.6725------
3.4576245.786------
3.7288255.6507------
4.0265.7215------
4.2712275.3999------
4.5424285.4275------
4.8136295.71435.57180.00820.00710.00770.00520.0077
2.0339304.478------
2.30513113.1821------
2.57633213.2473------
2.8475338.8654------
3.1186345.3181------
3.3898355.2091------
3.6610365.6027------
3.9322375.6839------
4.2034385.5955------
4.4746395.5786------
4.7458405.4509------
5.0169415.3361------
5.2881425.1608------
5.5593435.4896------
5.8305445.64665.52410.00620.00700.00760.00950.0076
3.0508454.5617------
3.32204613.0665------
3.59324713.1848------
3.8644488.4053------
4.1356495.2706------
4.4068505.4269------
4.6780515.3645------
4.9492525.3587------
5.2203535.1047------
5.4915545.743------
5.7627555.3754------
6.0339565.3021------
6.3051575.6983------
6.5763585.302------
6.8475595.45455.46380.00600.00700.00770.00940.0077
4.0678605.2213------
4.33906112.9854------
4.61026213.207------
4.8814637.7493------
5.1525645.3787------
5.4237654.9406------
5.6949665.3963------
5.9661675.3429------
6.2373685.292------
6.5085695.6738------
6.7797705.5927------
7.0508715.5245------
7.3220724.8334------
7.5932735.2015------
7.8644745.53935.39540.00600.00710.00780.00940.0078
5.0847755.6168------
5.35597612.8678------
5.62717713.2377------
5.8983787.1882------
6.1695795.1293------
6.4407804.9413------
6.7119815.1763------
6.9831824.9512------
7.2542835.2744------
7.5254845.0573------
7.7966855.1938------
8.0678865.1514------
8.3390874.9808------
8.6102884.9983------
8.8814895.32115.32680.00620.00670.00750.00950.0075
6.1017906.1513------
6.37299112.7972------
6.64419213.0051------
6.9153936.551------
7.1864944.6644------
7.4576954.8619------
7.7288965.0812------
8.0974.758------
8.2712985.1362------
8.5424995.5405------
8.81361005.228------
9.08471015.1084------
9.35591025.1574------
9.62711035.3326------
9.89831045.345.26580.00600.00660.00760.00520.0076
7.11861056.5789------
7.389810612.7557------
7.661010713.0203------
7.93221085.7148------
8.20341094.7945------
8.47461104.5926------
8.74581114.6727------
9.01691125.0886------
9.28811135.0562------
9.55931145.2167------
9.83051155.048------
10.10171164.7765------
10.37291174.9875------
10.64411184.9501------
10.91531194.7565.21240.00570.00650.00750.00540.0075
8.13561206.9381------
8.406812112.7916------
8.678012212.8517------
8.94921235.51------
9.22031244.686------
9.49151254.6611------
9.76271265.2767------
10.03391274.6103------
10.30511284.957------
10.57631295.0236------
10.84751305.0894------
11.11861314.7025------
11.38981325.0765------
11.66101334.6601------
11.93221344.90645.17310.00560.00600.00700.00540.0070
9.15251357.5884------
9.423713612.679------
9.694913712.417------
9.96611385.1632------
10.23731394.9486------
10.50851404.6341------
10.77971414.9664------
11.05081424.9567------
11.32201434.7532------
11.59321445.2556------
11.86441454.9652------
12.13561464.8118------
12.40681474.704------
12.67801484.8922------
12.94921494.65715.14410.00610.00550.00640.00530.0064
10.16951508.1284------
10.440715112.5703------
10.711915211.8696------
10.98311534.8543------
11.25421544.8099------
11.52541554.7009------
11.79661564.7986------
12.06781574.7973------
12.33901584.5529------
12.61021595.0275------
12.88141604.6675------
13.15251614.6538------
13.42371624.8355------
13.69491634.6304------
13.96611644.70475.12420.00640.00540.00640.00950.0064
11.18641658.6549------
11.457616612.4788------
11.728816711.6425------
12.01684.5654------
12.27121694.7016------
12.54241704.3306------
12.81361714.9692------
13.08471724.7557------
13.35591734.8665------
13.62711744.8338------
13.89831754.9221------
14.16951764.4968------
14.44071774.6104------
14.71191784.8449------
14.98311794.23925.11230.00590.00550.00650.00940.0065
12.20341809.4893------
12.474618112.4241------
12.745818211.0389------
13.01691834.7595------
13.28811844.5408------
13.55931854.6108------
13.83051864.5832------
14.10171874.6741------
14.37291884.9353------
14.64411895.0511------
14.91531904.6575------
15.18641914.648------
15.45761924.6224------
15.72881934.9292------
16.01943.78055.10580.00630.00570.00620.00940.0062
13.220319510.2695------
13.491519612.5043------
13.762719710.4795------
14.03391984.6901------
14.30511994.6538------
14.57632004.4736------
14.84752014.4383------
15.11862025.0382------
15.38982034.5636------
15.66102044.8089------
15.93222054.4746------
16.20342064.5876------
16.47462074.4972------
16.74582084.8569------
17.01692093.58835.10310.00590.00570.00610.00950.0061
14.237321010.8988------
14.508521112.4944------
14.779721210.1041------
15.05082134.8811------
15.32202144.6292------
15.59322154.4828------
15.86442164.7588------
16.13562174.26------
16.40682184.9124------
16.67802194.8098------
16.94922204.4439------
17.22032214.4824------
17.49152224.7771------
17.76272234.5966------
18.03392243.14095.10090.00550.00570.00620.00520.0062
15.254222511.657------
15.525422612.5032------
15.79662279.4495------
16.06782284.7099------
16.33902294.6049------
16.61022304.6311------
16.88142314.7562------
17.15252324.7195------
17.42372334.8557------
17.69492344.8423------
17.96612354.5764------
18.23732364.5081------
18.50852374.7974------
18.77972384.871------
19.05082392.85585.10200.00540.00570.00610.00540.0061
16.271224012.4297------
16.542424112.5186------
16.81362428.8827------
17.08472434.8406------
17.35592444.4367------
17.62712454.5996------
17.89832464.6692------
18.16952474.6498------
18.44072484.7211------
18.71192494.7675------
18.98312504.4405------
19.25422514.6778------
19.52542524.6674------
19.79662534.7355.10360.00540.00560.00600.00540.0060
17.01692543.6188------
17.288125512.4112------
17.559325612.5261------
17.83052578.3408------
18.10172584.6496------
18.37292594.7177------
18.64412604.7956------
18.91532614.7228------
19.18642624.6083------
19.45762634.7985------
19.72882644.6675------
20.02654.6353------
20.27122664.5717------
20.54242674.4358------
20.81362684.82885.10300.00560.00570.00620.00530.0062
18.03392693.7877------
18.305127012.4042------
18.576327112.4793------
18.84752727.9475------
19.11862734.5502------
19.38982744.5565------
19.66102754.4172------
19.93222764.5319------
20.20342774.5635------
20.47462784.5233------
20.74582794.6766------
21.01692804.5863------
21.28812814.5784------
21.55932824.7198------
21.83052834.73835.10650.00540.00560.00610.00500.0061
19.05082844.4257------
19.322028512.3475------
19.593228612.5168------
19.86442877.3671------
20.13562884.3771------
20.40682894.542------
20.67802904.3629------
20.94922914.5474------
21.22032924.7436------
21.49152934.5915------
21.76272944.5522------
22.03392954.6591------
22.30512964.6179------
22.57632974.6086------
22.84752984.88085.10830.00540.00570.00620.00550.0062
20.06782994.7358------
20.339030012.3209------
20.610230112.6406------
20.88143026.7971------
21.15253034.3723------
21.42373044.61------
21.69493054.4624------
21.96613064.6145------
22.23733074.5794------
22.50853084.6625------
22.77973094.5499------
23.05083104.5657------
23.32203114.5896------
23.59323124.5692------
23.86443134.935.11190.00550.00570.00610.00560.0061
21.08473145.3829------
21.355931512.3422------
21.627131612.601------
21.89833176.5062------
22.16953184.4681------
22.44073194.4244------
22.71193204.4514------
22.98313214.5469------
23.25423224.6924------
23.52543234.682------
23.79663244.6403------
24.06783254.6272------
24.33903264.3605------
24.61023274.5992------
24.88143284.67765.11260.00530.00570.00610.00560.0061
22.10173295.8504------
22.372933012.335------
22.644133112.5779------
22.91533325.7261------
23.18643334.5411------
23.45763344.4783------
23.72883354.5589------
24.03364.6305------
24.27123374.674------
24.54243384.7455------
24.81363394.6011------
25.08473404.5899------
25.35593414.3981------
25.62713424.7031------
25.89833434.685.11820.00540.00570.00590.00560.0059
23.11863446.3521------
23.389834512.2283------
23.661034612.533------
23.93223475.2654------
24.20343484.3667------
24.47463494.4718------
24.74583504.6212------
25.01693514.447------
25.28813524.6247------
25.55933535.0093------
25.83053544.6316------
26.10173554.6655------
26.37293564.5964------
26.64413574.682------
26.91533584.63755.12050.00510.00560.00590.00550.0059
24.13563596.727------
24.406836012.3706------
24.678036112.4755------
24.94923624.623------
25.22033634.2947------
25.49153644.3993------
25.76273654.4148------
26.03393664.2376------
26.30513674.6334------
26.57633684.7007------
26.84753694.3542------
27.11863704.7036------
27.38983714.2382------
27.66103724.5011------
27.93223734.62925.12410.00510.00560.00590.00560.0059
25.15253747.3562------
25.423737512.2926------
25.694937612.1694------
25.96613774.7183------
26.23733784.4099------
26.50853794.3366------
26.77973804.4848------
27.05083814.6947------
27.32203824.5683------
27.59323834.7691------
27.86443844.3879------
28.13563854.3461------
28.40683864.4756------
28.67803874.5355------
28.94923884.48375.12780.00520.00560.00590.00540.0059
26.16953897.9407------
26.440739012.3054------
26.711939111.6158------
26.98313924.5724------
27.25423934.467------
27.52543944.4395------
27.79663954.4111------
28.06783964.5565------
28.33903974.6063------
28.61023984.5312------
28.88143994.5436------
29.15254004.5366------
29.42374014.4488------
29.69494024.5641------
29.96614034.24915.13030.00530.00570.00600.00550.0060
27.18644048.574------
27.457640512.2836------
27.728840611.1935------
28.04074.5464------
28.27124084.3132------
28.54244094.3553------
28.81364104.4679------
29.08474114.7705------
29.35594124.5667------
29.62714134.6547------
29.89834144.6709------
30.16954154.784------
30.44074164.4368------
30.71194174.6159------
30.98314184.01175.13220.00500.00570.00590.00540.0059
28.20344199.2905------
28.474642012.2439------
28.745842110.722------
29.01694224.6608------
29.28814234.5196------
29.55934244.4313------
29.83054254.513------
30.10174264.5812------
30.37294274.5275------
30.64414284.8022------
30.91534294.5171------
31.18644304.5968------
31.45764314.2145------
31.72884324.7041------
32.04333.61875.13560.00510.00570.00590.00550.0059
29.220343410.0897------
29.491543512.2909------
29.762743610.1362------
30.03394374.5172------
30.30514384.3273------
30.57634394.5272------
30.84754404.376------
31.11864414.5803------
31.38984424.5654------
31.66104434.5024------
31.93224444.5889------
32.20344454.6489------
32.47464464.4505------
32.74584474.7026------
33.01694483.47195.13680.00500.00560.00590.00520.0059
30.237344910.7633------
30.508545012.3203------
30.77974519.7535------
31.05084524.7462------
31.32204534.4271------
31.59324544.4347------
31.86444554.6443------
32.13564564.6344------
32.40684574.6518------
32.67804584.6437------
32.94924594.6168------
33.22034604.4948------
33.49154614.5268------
33.76274624.4844------
34.03394633.2765.13840.00510.00570.00600.00530.0060
31.254246411.5311------
31.525446512.3812------
31.79664669.1499------
32.06784674.7032------
32.33904684.2429------
32.61024694.549------
32.88144704.7083------
33.15254714.5348------
33.42374724.472------
33.69494734.5818------
33.96614744.5534------
34.23734754.5743------
34.50854764.54------
34.77974774.681------
35.05084782.99025.13970.00520.00570.00590.00530.0059
32.271247912.3174------
32.542448012.2996------
32.81364818.7153------
33.08474824.5692------
33.35594834.3255------
33.62714844.4515------
33.89834854.6708------
34.16954864.2648------
34.44074874.6268------
34.71194884.703------
34.98314894.6269------
35.25424904.6464------
35.52544914.4952------
35.79664924.60975.14060.00520.00580.00580.00540.0058
33.01694933.2718------
33.288149412.3329------
33.559349512.3503------
33.83054968.1544------
34.10174974.4684------
34.37294984.4062------
34.64414994.2644------
34.91535004.5294------
35.18645014.673------
35.45765024.4884------
35.72885034.5989------
36.05044.6182------
36.27125054.6487------
36.54245064.6436------
36.81365074.60595.14170.00510.00570.00590.00520.0059
34.03395083.7589------
34.305150912.2815------
34.576351012.5481------
34.84755117.6339------
35.11865124.5528------
35.38985134.3266------
35.66105144.3093------
35.93225154.7401------
36.20345164.523------
36.47465174.5255------
36.74585184.5058------
37.01695194.5614------
37.28815204.5323------
37.55935214.5739------
37.83055224.65015.14270.00520.00580.00590.00530.0059
35.05085234.2083------
35.322052412.2888------
35.593252512.4709------
35.86445267.3926------
36.13565274.4719------
36.40685284.5033------
36.67805294.388------
36.94925304.5606------
37.22035314.6936------
37.49155324.6008------
37.76275334.6973------
38.03395344.4194------
38.30515354.5616------
38.57635364.6307------
38.84755374.83225.14420.00510.00570.00590.00530.0059
36.06785384.8388------
36.339053912.2334------
36.610254012.4205------
36.88145416.9051------
37.15255424.6011------
37.42375434.4701------
37.69495444.421------
37.96615454.6877------
38.23735464.6348------
38.50855474.5822------
38.77975484.5697------
39.05085494.3118------
39.32205504.5131------
39.59325514.4879------
39.86445524.59455.14290.00520.00560.00590.00540.0059
37.08475535.4083------
37.355955412.2092------
37.627155512.5043------
37.89835566.1239------
38.16955574.2932------
38.44075584.3845------
38.71195594.5619------
38.98315604.6936------
39.25425614.6636------
39.52545624.7964------
39.79665634.613------
40.06785644.5856------
40.33905654.4605------
40.61025664.5461------
40.88145674.71455.14540.00520.00560.00590.00520.0059
38.10175685.8311------
38.372956912.2142------
38.644157012.4489------
38.91535715.7328------
39.18645724.4402------
39.45765734.1806------
39.72885744.6327------
40.05754.2768------
40.27125764.4669------
40.54245774.8094------
40.81365784.5773------
41.08475794.439------
41.35595804.5718------
41.62715814.5955------
41.89835824.50435.14430.00510.00560.00590.00540.0059
39.11865836.359------
39.389858412.212------
39.661058512.538------
39.93225865.0971------
40.20345874.4783------
40.47465884.394------
40.74585894.4847------
41.01695904.4116------
41.28815914.3979------
41.55935924.6652------
41.83055934.3939------
42.10175944.5555------
42.37295954.4966------
42.64415964.6267------
42.91535974.58345.14460.00510.00570.00580.00520.0058
40.13565986.7009------
40.406859912.2755------
40.678060012.44655.14470.00520.00570.00590.00520.0059
  • —The bold row denotes the saved checkpoint. </details>

Framework Versions

  • —Python: 3.10.12
  • —Sentence Transformers: 3.0.1
  • —Transformers: 4.41.2
  • —PyTorch: 2.1.2+cu121
  • —Accelerate: 0.31.0
  • —Datasets: 2.19.1
  • —Tokenizers: 0.19.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. -->