Add new SentenceTransformer model
Browse files- 1_Pooling/config.json +10 -0
- 2_Dense/config.json +1 -0
- 2_Dense/model.safetensors +3 -0
- README.md +694 -0
- config_sentence_transformers.json +10 -0
- modules.json +26 -0
- sentence_bert_config.json +4 -0
1_Pooling/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"word_embedding_dimension": 768,
|
| 3 |
+
"pooling_mode_cls_token": true,
|
| 4 |
+
"pooling_mode_mean_tokens": false,
|
| 5 |
+
"pooling_mode_max_tokens": false,
|
| 6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
| 7 |
+
"pooling_mode_weightedmean_tokens": false,
|
| 8 |
+
"pooling_mode_lasttoken": false,
|
| 9 |
+
"include_prompt": true
|
| 10 |
+
}
|
2_Dense/config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"in_features": 768, "out_features": 768, "bias": true, "activation_function": "torch.nn.modules.activation.Tanh"}
|
2_Dense/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:821108d08fcc8640cca5249a8e39f843fe39a4a231fe600d1598f544d528bbd2
|
| 3 |
+
size 2362528
|
README.md
ADDED
|
@@ -0,0 +1,694 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- sentence-transformers
|
| 4 |
+
- sentence-similarity
|
| 5 |
+
- feature-extraction
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
- dataset_size:1021596
|
| 8 |
+
- loss:MultipleNegativesRankingLoss
|
| 9 |
+
base_model: codersan/FaLabse
|
| 10 |
+
widget:
|
| 11 |
+
- source_sentence: Most women can't understand why this happens.
|
| 12 |
+
sentences:
|
| 13 |
+
- 'بیشتر زنان دلیل این کار را درک نمیکنند '
|
| 14 |
+
- ' سخت از خود در غضب بود که آن چه را به آسانی و صراحت میتوانست نزد خود تصمیم بگیرد،
|
| 15 |
+
قادر به بیان آن در حضور شاهزاده خانم تورسکی نیست. زیرا این زن در نظر او تجسم همان
|
| 16 |
+
نیروی بیدادگری بود که بر زندگی ظاهری او حکومت میکرد و مانع ابراز عشق و عفو و
|
| 17 |
+
نمایاندن احساساتش بود.'
|
| 18 |
+
- 'آقای تالبویز: چه روزهای خوشی، عجب روزهای خوشی!'
|
| 19 |
+
- source_sentence: to government offices, to the post office, and to the Governor's.
|
| 20 |
+
sentences:
|
| 21 |
+
- ناخوشی را تقویت میکند.
|
| 22 |
+
- به ادارات دولتی و اداره پست و سپس نزد استاندار رفت.
|
| 23 |
+
- اما به حال طبیعی نبود و در حالی که بازوی شوهرش را گرفته بود، گفتی که در عالم رؤیا
|
| 24 |
+
قدم بر میدارد.
|
| 25 |
+
- source_sentence: Even as she did so a sound checked her for an instant ' the unmistakable
|
| 26 |
+
bang of a window shutting, somewhere in Mrs Semprill's house.
|
| 27 |
+
sentences:
|
| 28 |
+
- در همین آن صدائی به گوشش رسید که بدون شک صدای بسته شدن پنجره خانه خانم سمپریل
|
| 29 |
+
بود!
|
| 30 |
+
- این کارم گذشتن از مرز بود.
|
| 31 |
+
- به همین دلیل هیچ کس بهتر از او برای تربیت مردی که حافظ تمامی خصوصیات نیک خانوادگی
|
| 32 |
+
باشد، وجود نداشت.
|
| 33 |
+
- source_sentence: 'It signifies God: done this day by my hand.'
|
| 34 |
+
sentences:
|
| 35 |
+
- معنی آن مهر این است که 3 خدا، امروز به دست من انجام شد.
|
| 36 |
+
- همه یکدیگر را بوسیدند
|
| 37 |
+
- این نشو نهی جادوگرهای تبه کاره
|
| 38 |
+
- source_sentence: If this were continued, the barricade was no longer tenable.
|
| 39 |
+
sentences:
|
| 40 |
+
- اگر این کار مداومت مییافت، سنگر قادر به مقاومت نمیبود.
|
| 41 |
+
- هر دو با هم به زمین میغلتیدند.
|
| 42 |
+
- خوب، در این لحظه او یک محافظ داشت.
|
| 43 |
+
pipeline_tag: sentence-similarity
|
| 44 |
+
library_name: sentence-transformers
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
# SentenceTransformer based on codersan/FaLabse
|
| 48 |
+
|
| 49 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [codersan/FaLabse](https://huggingface.co/codersan/FaLabse). 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.
|
| 50 |
+
|
| 51 |
+
## Model Details
|
| 52 |
+
|
| 53 |
+
### Model Description
|
| 54 |
+
- **Model Type:** Sentence Transformer
|
| 55 |
+
- **Base model:** [codersan/FaLabse](https://huggingface.co/codersan/FaLabse) <!-- at revision 0fe1341c6962d7fe2ea375d90f9f55f34e395bcd -->
|
| 56 |
+
- **Maximum Sequence Length:** 256 tokens
|
| 57 |
+
- **Output Dimensionality:** 768 dimensions
|
| 58 |
+
- **Similarity Function:** Cosine Similarity
|
| 59 |
+
<!-- - **Training Dataset:** Unknown -->
|
| 60 |
+
<!-- - **Language:** Unknown -->
|
| 61 |
+
<!-- - **License:** Unknown -->
|
| 62 |
+
|
| 63 |
+
### Model Sources
|
| 64 |
+
|
| 65 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
| 66 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
| 67 |
+
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
| 68 |
+
|
| 69 |
+
### Full Model Architecture
|
| 70 |
+
|
| 71 |
+
```
|
| 72 |
+
SentenceTransformer(
|
| 73 |
+
(0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
|
| 74 |
+
(1): Pooling({'word_embedding_dimension': 768, '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})
|
| 75 |
+
(2): Dense({'in_features': 768, 'out_features': 768, 'bias': True, 'activation_function': 'torch.nn.modules.activation.Tanh'})
|
| 76 |
+
(3): Normalize()
|
| 77 |
+
)
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
## Usage
|
| 81 |
+
|
| 82 |
+
### Direct Usage (Sentence Transformers)
|
| 83 |
+
|
| 84 |
+
First install the Sentence Transformers library:
|
| 85 |
+
|
| 86 |
+
```bash
|
| 87 |
+
pip install -U sentence-transformers
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
Then you can load this model and run inference.
|
| 91 |
+
```python
|
| 92 |
+
from sentence_transformers import SentenceTransformer
|
| 93 |
+
|
| 94 |
+
# Download from the 🤗 Hub
|
| 95 |
+
model = SentenceTransformer("codersan/FaLabse_Mizan4")
|
| 96 |
+
# Run inference
|
| 97 |
+
sentences = [
|
| 98 |
+
'If this were continued, the barricade was no longer tenable.',
|
| 99 |
+
'اگر این کار مداومت می\u200cیافت، سنگر قادر به مقاومت نمی\u200cبود.',
|
| 100 |
+
'خوب، در این لحظه او یک م��افظ داشت.',
|
| 101 |
+
]
|
| 102 |
+
embeddings = model.encode(sentences)
|
| 103 |
+
print(embeddings.shape)
|
| 104 |
+
# [3, 768]
|
| 105 |
+
|
| 106 |
+
# Get the similarity scores for the embeddings
|
| 107 |
+
similarities = model.similarity(embeddings, embeddings)
|
| 108 |
+
print(similarities.shape)
|
| 109 |
+
# [3, 3]
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
<!--
|
| 113 |
+
### Direct Usage (Transformers)
|
| 114 |
+
|
| 115 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
| 116 |
+
|
| 117 |
+
</details>
|
| 118 |
+
-->
|
| 119 |
+
|
| 120 |
+
<!--
|
| 121 |
+
### Downstream Usage (Sentence Transformers)
|
| 122 |
+
|
| 123 |
+
You can finetune this model on your own dataset.
|
| 124 |
+
|
| 125 |
+
<details><summary>Click to expand</summary>
|
| 126 |
+
|
| 127 |
+
</details>
|
| 128 |
+
-->
|
| 129 |
+
|
| 130 |
+
<!--
|
| 131 |
+
### Out-of-Scope Use
|
| 132 |
+
|
| 133 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 134 |
+
-->
|
| 135 |
+
|
| 136 |
+
<!--
|
| 137 |
+
## Bias, Risks and Limitations
|
| 138 |
+
|
| 139 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
| 140 |
+
-->
|
| 141 |
+
|
| 142 |
+
<!--
|
| 143 |
+
### Recommendations
|
| 144 |
+
|
| 145 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
| 146 |
+
-->
|
| 147 |
+
|
| 148 |
+
## Training Details
|
| 149 |
+
|
| 150 |
+
### Training Dataset
|
| 151 |
+
|
| 152 |
+
#### Unnamed Dataset
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
* Size: 1,021,596 training samples
|
| 156 |
+
* Columns: <code>anchor</code> and <code>positive</code>
|
| 157 |
+
* Approximate statistics based on the first 1000 samples:
|
| 158 |
+
| | anchor | positive |
|
| 159 |
+
|:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
|
| 160 |
+
| type | string | string |
|
| 161 |
+
| details | <ul><li>min: 3 tokens</li><li>mean: 16.37 tokens</li><li>max: 85 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 18.63 tokens</li><li>max: 81 tokens</li></ul> |
|
| 162 |
+
* Samples:
|
| 163 |
+
| anchor | positive |
|
| 164 |
+
|:-------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------|
|
| 165 |
+
| <code>They arose to obey.</code> | <code>دختران برای اطاعت امر پدر از جا برخاستند.</code> |
|
| 166 |
+
| <code>You'll know it all in time</code> | <code>همه چیز را بم وقع خواهی دانست.</code> |
|
| 167 |
+
| <code>She is in hysterics up there, and moans and says that we have been 'shamed and disgraced.</code> | <code>او هر لحظه گرفتار یک وضع است، زارزار گریه میکند. میگوید به ما توهین کردهاند، حیثیتمان را لکهدار نمودند.</code> |
|
| 168 |
+
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 169 |
+
```json
|
| 170 |
+
{
|
| 171 |
+
"scale": 20.0,
|
| 172 |
+
"similarity_fct": "cos_sim"
|
| 173 |
+
}
|
| 174 |
+
```
|
| 175 |
+
|
| 176 |
+
### Training Hyperparameters
|
| 177 |
+
#### Non-Default Hyperparameters
|
| 178 |
+
|
| 179 |
+
- `eval_strategy`: steps
|
| 180 |
+
- `per_device_train_batch_size`: 32
|
| 181 |
+
- `learning_rate`: 2e-05
|
| 182 |
+
- `num_train_epochs`: 1
|
| 183 |
+
- `warmup_ratio`: 0.1
|
| 184 |
+
- `load_best_model_at_end`: True
|
| 185 |
+
- `push_to_hub`: True
|
| 186 |
+
- `hub_model_id`: codersan/FaLabse_Mizan4
|
| 187 |
+
- `eval_on_start`: True
|
| 188 |
+
- `batch_sampler`: no_duplicates
|
| 189 |
+
|
| 190 |
+
#### All Hyperparameters
|
| 191 |
+
<details><summary>Click to expand</summary>
|
| 192 |
+
|
| 193 |
+
- `overwrite_output_dir`: False
|
| 194 |
+
- `do_predict`: False
|
| 195 |
+
- `eval_strategy`: steps
|
| 196 |
+
- `prediction_loss_only`: True
|
| 197 |
+
- `per_device_train_batch_size`: 32
|
| 198 |
+
- `per_device_eval_batch_size`: 8
|
| 199 |
+
- `per_gpu_train_batch_size`: None
|
| 200 |
+
- `per_gpu_eval_batch_size`: None
|
| 201 |
+
- `gradient_accumulation_steps`: 1
|
| 202 |
+
- `eval_accumulation_steps`: None
|
| 203 |
+
- `torch_empty_cache_steps`: None
|
| 204 |
+
- `learning_rate`: 2e-05
|
| 205 |
+
- `weight_decay`: 0
|
| 206 |
+
- `adam_beta1`: 0.9
|
| 207 |
+
- `adam_beta2`: 0.999
|
| 208 |
+
- `adam_epsilon`: 1e-08
|
| 209 |
+
- `max_grad_norm`: 1
|
| 210 |
+
- `num_train_epochs`: 1
|
| 211 |
+
- `max_steps`: -1
|
| 212 |
+
- `lr_scheduler_type`: linear
|
| 213 |
+
- `lr_scheduler_kwargs`: {}
|
| 214 |
+
- `warmup_ratio`: 0.1
|
| 215 |
+
- `warmup_steps`: 0
|
| 216 |
+
- `log_level`: passive
|
| 217 |
+
- `log_level_replica`: warning
|
| 218 |
+
- `log_on_each_node`: True
|
| 219 |
+
- `logging_nan_inf_filter`: True
|
| 220 |
+
- `save_safetensors`: True
|
| 221 |
+
- `save_on_each_node`: False
|
| 222 |
+
- `save_only_model`: False
|
| 223 |
+
- `restore_callback_states_from_checkpoint`: False
|
| 224 |
+
- `no_cuda`: False
|
| 225 |
+
- `use_cpu`: False
|
| 226 |
+
- `use_mps_device`: False
|
| 227 |
+
- `seed`: 42
|
| 228 |
+
- `data_seed`: None
|
| 229 |
+
- `jit_mode_eval`: False
|
| 230 |
+
- `use_ipex`: False
|
| 231 |
+
- `bf16`: False
|
| 232 |
+
- `fp16`: False
|
| 233 |
+
- `fp16_opt_level`: O1
|
| 234 |
+
- `half_precision_backend`: auto
|
| 235 |
+
- `bf16_full_eval`: False
|
| 236 |
+
- `fp16_full_eval`: False
|
| 237 |
+
- `tf32`: None
|
| 238 |
+
- `local_rank`: 0
|
| 239 |
+
- `ddp_backend`: None
|
| 240 |
+
- `tpu_num_cores`: None
|
| 241 |
+
- `tpu_metrics_debug`: False
|
| 242 |
+
- `debug`: []
|
| 243 |
+
- `dataloader_drop_last`: False
|
| 244 |
+
- `dataloader_num_workers`: 0
|
| 245 |
+
- `dataloader_prefetch_factor`: None
|
| 246 |
+
- `past_index`: -1
|
| 247 |
+
- `disable_tqdm`: False
|
| 248 |
+
- `remove_unused_columns`: True
|
| 249 |
+
- `label_names`: None
|
| 250 |
+
- `load_best_model_at_end`: True
|
| 251 |
+
- `ignore_data_skip`: False
|
| 252 |
+
- `fsdp`: []
|
| 253 |
+
- `fsdp_min_num_params`: 0
|
| 254 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
| 255 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
| 256 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
| 257 |
+
- `deepspeed`: None
|
| 258 |
+
- `label_smoothing_factor`: 0.0
|
| 259 |
+
- `optim`: adamw_torch
|
| 260 |
+
- `optim_args`: None
|
| 261 |
+
- `adafactor`: False
|
| 262 |
+
- `group_by_length`: False
|
| 263 |
+
- `length_column_name`: length
|
| 264 |
+
- `ddp_find_unused_parameters`: None
|
| 265 |
+
- `ddp_bucket_cap_mb`: None
|
| 266 |
+
- `ddp_broadcast_buffers`: False
|
| 267 |
+
- `dataloader_pin_memory`: True
|
| 268 |
+
- `dataloader_persistent_workers`: False
|
| 269 |
+
- `skip_memory_metrics`: True
|
| 270 |
+
- `use_legacy_prediction_loop`: False
|
| 271 |
+
- `push_to_hub`: True
|
| 272 |
+
- `resume_from_checkpoint`: None
|
| 273 |
+
- `hub_model_id`: codersan/FaLabse_Mizan4
|
| 274 |
+
- `hub_strategy`: every_save
|
| 275 |
+
- `hub_private_repo`: None
|
| 276 |
+
- `hub_always_push`: False
|
| 277 |
+
- `gradient_checkpointing`: False
|
| 278 |
+
- `gradient_checkpointing_kwargs`: None
|
| 279 |
+
- `include_inputs_for_metrics`: False
|
| 280 |
+
- `include_for_metrics`: []
|
| 281 |
+
- `eval_do_concat_batches`: True
|
| 282 |
+
- `fp16_backend`: auto
|
| 283 |
+
- `push_to_hub_model_id`: None
|
| 284 |
+
- `push_to_hub_organization`: None
|
| 285 |
+
- `mp_parameters`:
|
| 286 |
+
- `auto_find_batch_size`: False
|
| 287 |
+
- `full_determinism`: False
|
| 288 |
+
- `torchdynamo`: None
|
| 289 |
+
- `ray_scope`: last
|
| 290 |
+
- `ddp_timeout`: 1800
|
| 291 |
+
- `torch_compile`: False
|
| 292 |
+
- `torch_compile_backend`: None
|
| 293 |
+
- `torch_compile_mode`: None
|
| 294 |
+
- `dispatch_batches`: None
|
| 295 |
+
- `split_batches`: None
|
| 296 |
+
- `include_tokens_per_second`: False
|
| 297 |
+
- `include_num_input_tokens_seen`: False
|
| 298 |
+
- `neftune_noise_alpha`: None
|
| 299 |
+
- `optim_target_modules`: None
|
| 300 |
+
- `batch_eval_metrics`: False
|
| 301 |
+
- `eval_on_start`: True
|
| 302 |
+
- `use_liger_kernel`: False
|
| 303 |
+
- `eval_use_gather_object`: False
|
| 304 |
+
- `average_tokens_across_devices`: False
|
| 305 |
+
- `prompts`: None
|
| 306 |
+
- `batch_sampler`: no_duplicates
|
| 307 |
+
- `multi_dataset_batch_sampler`: proportional
|
| 308 |
+
|
| 309 |
+
</details>
|
| 310 |
+
|
| 311 |
+
### Training Logs
|
| 312 |
+
<details><summary>Click to expand</summary>
|
| 313 |
+
|
| 314 |
+
| Epoch | Step | Training Loss |
|
| 315 |
+
|:----------:|:-------:|:-------------:|
|
| 316 |
+
| 0 | 0 | - |
|
| 317 |
+
| 0.0031 | 100 | 0.1023 |
|
| 318 |
+
| 0.0063 | 200 | 0.1162 |
|
| 319 |
+
| 0.0094 | 300 | 0.0976 |
|
| 320 |
+
| **0.0125** | **400** | **0.088** |
|
| 321 |
+
| 0.0157 | 500 | 0.0691 |
|
| 322 |
+
| 0.0188 | 600 | 0.0678 |
|
| 323 |
+
| 0.0219 | 700 | 0.082 |
|
| 324 |
+
| 0.0251 | 800 | 0.08 |
|
| 325 |
+
| 0.0282 | 900 | 0.0758 |
|
| 326 |
+
| 0.0313 | 1000 | 0.0763 |
|
| 327 |
+
| 0.0345 | 1100 | 0.0786 |
|
| 328 |
+
| 0.0376 | 1200 | 0.0666 |
|
| 329 |
+
| 0.0407 | 1300 | 0.0722 |
|
| 330 |
+
| 0.0439 | 1400 | 0.0638 |
|
| 331 |
+
| 0.0470 | 1500 | 0.0615 |
|
| 332 |
+
| 0.0501 | 1600 | 0.0623 |
|
| 333 |
+
| 0.0532 | 1700 | 0.0639 |
|
| 334 |
+
| 0.0564 | 1800 | 0.0692 |
|
| 335 |
+
| 0.0595 | 1900 | 0.0625 |
|
| 336 |
+
| 0.0626 | 2000 | 0.0774 |
|
| 337 |
+
| 0.0658 | 2100 | 0.06 |
|
| 338 |
+
| 0.0689 | 2200 | 0.0543 |
|
| 339 |
+
| 0.0720 | 2300 | 0.0611 |
|
| 340 |
+
| 0.0752 | 2400 | 0.0697 |
|
| 341 |
+
| 0.0783 | 2500 | 0.0703 |
|
| 342 |
+
| 0.0814 | 2600 | 0.058 |
|
| 343 |
+
| 0.0846 | 2700 | 0.075 |
|
| 344 |
+
| 0.0877 | 2800 | 0.062 |
|
| 345 |
+
| 0.0908 | 2900 | 0.0756 |
|
| 346 |
+
| 0.0940 | 3000 | 0.0668 |
|
| 347 |
+
| 0.0971 | 3100 | 0.054 |
|
| 348 |
+
| 0.1002 | 3200 | 0.0626 |
|
| 349 |
+
| 0.1034 | 3300 | 0.0645 |
|
| 350 |
+
| 0.1065 | 3400 | 0.0714 |
|
| 351 |
+
| 0.1096 | 3500 | 0.0644 |
|
| 352 |
+
| 0.1128 | 3600 | 0.0693 |
|
| 353 |
+
| 0.1159 | 3700 | 0.0734 |
|
| 354 |
+
| 0.1190 | 3800 | 0.0622 |
|
| 355 |
+
| 0.1222 | 3900 | 0.0741 |
|
| 356 |
+
| 0.1253 | 4000 | 0.0761 |
|
| 357 |
+
| 0.1284 | 4100 | 0.0582 |
|
| 358 |
+
| 0.1316 | 4200 | 0.0804 |
|
| 359 |
+
| 0.1347 | 4300 | 0.0708 |
|
| 360 |
+
| 0.1378 | 4400 | 0.0734 |
|
| 361 |
+
| 0.1410 | 4500 | 0.0709 |
|
| 362 |
+
| 0.1441 | 4600 | 0.0759 |
|
| 363 |
+
| 0.1472 | 4700 | 0.085 |
|
| 364 |
+
| 0.1504 | 4800 | 0.0573 |
|
| 365 |
+
| 0.1535 | 4900 | 0.056 |
|
| 366 |
+
| 0.1566 | 5000 | 0.0601 |
|
| 367 |
+
| 0.1597 | 5100 | 0.0596 |
|
| 368 |
+
| 0.1629 | 5200 | 0.079 |
|
| 369 |
+
| 0.1660 | 5300 | 0.0679 |
|
| 370 |
+
| 0.1691 | 5400 | 0.0553 |
|
| 371 |
+
| 0.1723 | 5500 | 0.0677 |
|
| 372 |
+
| 0.1754 | 5600 | 0.0795 |
|
| 373 |
+
| 0.1785 | 5700 | 0.0779 |
|
| 374 |
+
| 0.1817 | 5800 | 0.0599 |
|
| 375 |
+
| 0.1848 | 5900 | 0.0667 |
|
| 376 |
+
| 0.1879 | 6000 | 0.064 |
|
| 377 |
+
| 0.1911 | 6100 | 0.0637 |
|
| 378 |
+
| 0.1942 | 6200 | 0.0747 |
|
| 379 |
+
| 0.1973 | 6300 | 0.0829 |
|
| 380 |
+
| 0.2005 | 6400 | 0.0589 |
|
| 381 |
+
| 0.2036 | 6500 | 0.0623 |
|
| 382 |
+
| 0.2067 | 6600 | 0.0589 |
|
| 383 |
+
| 0.2099 | 6700 | 0.0648 |
|
| 384 |
+
| 0.2130 | 6800 | 0.0527 |
|
| 385 |
+
| 0.2161 | 6900 | 0.0519 |
|
| 386 |
+
| 0.2193 | 7000 | 0.0668 |
|
| 387 |
+
| 0.2224 | 7100 | 0.0729 |
|
| 388 |
+
| 0.2255 | 7200 | 0.0627 |
|
| 389 |
+
| 0.2287 | 7300 | 0.0539 |
|
| 390 |
+
| 0.2318 | 7400 | 0.055 |
|
| 391 |
+
| 0.2349 | 7500 | 0.0663 |
|
| 392 |
+
| 0.2381 | 7600 | 0.0589 |
|
| 393 |
+
| 0.2412 | 7700 | 0.0555 |
|
| 394 |
+
| 0.2443 | 7800 | 0.0875 |
|
| 395 |
+
| 0.2475 | 7900 | 0.055 |
|
| 396 |
+
| 0.2506 | 8000 | 0.0584 |
|
| 397 |
+
| 0.2537 | 8100 | 0.0607 |
|
| 398 |
+
| 0.2569 | 8200 | 0.0551 |
|
| 399 |
+
| 0.2600 | 8300 | 0.0527 |
|
| 400 |
+
| 0.2631 | 8400 | 0.0773 |
|
| 401 |
+
| 0.2662 | 8500 | 0.0696 |
|
| 402 |
+
| 0.2694 | 8600 | 0.062 |
|
| 403 |
+
| 0.2725 | 8700 | 0.0716 |
|
| 404 |
+
| 0.2756 | 8800 | 0.06 |
|
| 405 |
+
| 0.2788 | 8900 | 0.0536 |
|
| 406 |
+
| 0.2819 | 9000 | 0.0604 |
|
| 407 |
+
| 0.2850 | 9100 | 0.0563 |
|
| 408 |
+
| 0.2882 | 9200 | 0.0734 |
|
| 409 |
+
| 0.2913 | 9300 | 0.0714 |
|
| 410 |
+
| 0.2944 | 9400 | 0.0658 |
|
| 411 |
+
| 0.2976 | 9500 | 0.0623 |
|
| 412 |
+
| 0.3007 | 9600 | 0.0713 |
|
| 413 |
+
| 0.3038 | 9700 | 0.0674 |
|
| 414 |
+
| 0.3070 | 9800 | 0.0708 |
|
| 415 |
+
| 0.3101 | 9900 | 0.0579 |
|
| 416 |
+
| 0.3132 | 10000 | 0.0616 |
|
| 417 |
+
| 0.3164 | 10100 | 0.0653 |
|
| 418 |
+
| 0.3195 | 10200 | 0.0614 |
|
| 419 |
+
| 0.3226 | 10300 | 0.0626 |
|
| 420 |
+
| 0.3258 | 10400 | 0.0611 |
|
| 421 |
+
| 0.3289 | 10500 | 0.0521 |
|
| 422 |
+
| 0.3320 | 10600 | 0.056 |
|
| 423 |
+
| 0.3352 | 10700 | 0.0761 |
|
| 424 |
+
| 0.3383 | 10800 | 0.0629 |
|
| 425 |
+
| 0.3414 | 10900 | 0.0658 |
|
| 426 |
+
| 0.3446 | 11000 | 0.0576 |
|
| 427 |
+
| 0.3477 | 11100 | 0.0483 |
|
| 428 |
+
| 0.3508 | 11200 | 0.0654 |
|
| 429 |
+
| 0.3540 | 11300 | 0.0602 |
|
| 430 |
+
| 0.3571 | 11400 | 0.065 |
|
| 431 |
+
| 0.3602 | 11500 | 0.0787 |
|
| 432 |
+
| 0.3634 | 11600 | 0.0634 |
|
| 433 |
+
| 0.3665 | 11700 | 0.0678 |
|
| 434 |
+
| 0.3696 | 11800 | 0.0758 |
|
| 435 |
+
| 0.3727 | 11900 | 0.0637 |
|
| 436 |
+
| 0.3759 | 12000 | 0.0577 |
|
| 437 |
+
| 0.3790 | 12100 | 0.0572 |
|
| 438 |
+
| 0.3821 | 12200 | 0.0614 |
|
| 439 |
+
| 0.3853 | 12300 | 0.0685 |
|
| 440 |
+
| 0.3884 | 12400 | 0.0641 |
|
| 441 |
+
| 0.3915 | 12500 | 0.0583 |
|
| 442 |
+
| 0.3947 | 12600 | 0.0502 |
|
| 443 |
+
| 0.3978 | 12700 | 0.0481 |
|
| 444 |
+
| 0.4009 | 12800 | 0.0546 |
|
| 445 |
+
| 0.4041 | 12900 | 0.0664 |
|
| 446 |
+
| 0.4072 | 13000 | 0.0699 |
|
| 447 |
+
| 0.4103 | 13100 | 0.0513 |
|
| 448 |
+
| 0.4135 | 13200 | 0.0423 |
|
| 449 |
+
| 0.4166 | 13300 | 0.0554 |
|
| 450 |
+
| 0.4197 | 13400 | 0.0592 |
|
| 451 |
+
| 0.4229 | 13500 | 0.0457 |
|
| 452 |
+
| 0.4260 | 13600 | 0.0612 |
|
| 453 |
+
| 0.4291 | 13700 | 0.0507 |
|
| 454 |
+
| 0.4323 | 13800 | 0.0592 |
|
| 455 |
+
| 0.4354 | 13900 | 0.0566 |
|
| 456 |
+
| 0.4385 | 14000 | 0.0806 |
|
| 457 |
+
| 0.4417 | 14100 | 0.0648 |
|
| 458 |
+
| 0.4448 | 14200 | 0.0535 |
|
| 459 |
+
| 0.4479 | 14300 | 0.0748 |
|
| 460 |
+
| 0.4511 | 14400 | 0.0488 |
|
| 461 |
+
| 0.4542 | 14500 | 0.0539 |
|
| 462 |
+
| 0.4573 | 14600 | 0.0597 |
|
| 463 |
+
| 0.4605 | 14700 | 0.065 |
|
| 464 |
+
| 0.4636 | 14800 | 0.0594 |
|
| 465 |
+
| 0.4667 | 14900 | 0.05 |
|
| 466 |
+
| 0.4699 | 15000 | 0.0488 |
|
| 467 |
+
| 0.4730 | 15100 | 0.0537 |
|
| 468 |
+
| 0.4761 | 15200 | 0.0396 |
|
| 469 |
+
| 0.4792 | 15300 | 0.0616 |
|
| 470 |
+
| 0.4824 | 15400 | 0.0605 |
|
| 471 |
+
| 0.4855 | 15500 | 0.0599 |
|
| 472 |
+
| 0.4886 | 15600 | 0.0616 |
|
| 473 |
+
| 0.4918 | 15700 | 0.0731 |
|
| 474 |
+
| 0.4949 | 15800 | 0.0654 |
|
| 475 |
+
| 0.4980 | 15900 | 0.0463 |
|
| 476 |
+
| 0.5012 | 16000 | 0.0463 |
|
| 477 |
+
| 0.5043 | 16100 | 0.0594 |
|
| 478 |
+
| 0.5074 | 16200 | 0.0575 |
|
| 479 |
+
| 0.5106 | 16300 | 0.056 |
|
| 480 |
+
| 0.5137 | 16400 | 0.0542 |
|
| 481 |
+
| 0.5168 | 16500 | 0.052 |
|
| 482 |
+
| 0.5200 | 16600 | 0.0438 |
|
| 483 |
+
| 0.5231 | 16700 | 0.0675 |
|
| 484 |
+
| 0.5262 | 16800 | 0.0619 |
|
| 485 |
+
| 0.5294 | 16900 | 0.0515 |
|
| 486 |
+
| 0.5325 | 17000 | 0.0575 |
|
| 487 |
+
| 0.5356 | 17100 | 0.0568 |
|
| 488 |
+
| 0.5388 | 17200 | 0.0508 |
|
| 489 |
+
| 0.5419 | 17300 | 0.059 |
|
| 490 |
+
| 0.5450 | 17400 | 0.0505 |
|
| 491 |
+
| 0.5482 | 17500 | 0.0582 |
|
| 492 |
+
| 0.5513 | 17600 | 0.0574 |
|
| 493 |
+
| 0.5544 | 17700 | 0.0613 |
|
| 494 |
+
| 0.5576 | 17800 | 0.048 |
|
| 495 |
+
| 0.5607 | 17900 | 0.0553 |
|
| 496 |
+
| 0.5638 | 18000 | 0.0571 |
|
| 497 |
+
| 0.5670 | 18100 | 0.0543 |
|
| 498 |
+
| 0.5701 | 18200 | 0.0484 |
|
| 499 |
+
| 0.5732 | 18300 | 0.0763 |
|
| 500 |
+
| 0.5764 | 18400 | 0.056 |
|
| 501 |
+
| 0.5795 | 18500 | 0.0533 |
|
| 502 |
+
| 0.5826 | 18600 | 0.044 |
|
| 503 |
+
| 0.5857 | 18700 | 0.0515 |
|
| 504 |
+
| 0.5889 | 18800 | 0.0516 |
|
| 505 |
+
| 0.5920 | 18900 | 0.0586 |
|
| 506 |
+
| 0.5951 | 19000 | 0.0523 |
|
| 507 |
+
| 0.5983 | 19100 | 0.0733 |
|
| 508 |
+
| 0.6014 | 19200 | 0.0453 |
|
| 509 |
+
| 0.6045 | 19300 | 0.0663 |
|
| 510 |
+
| 0.6077 | 19400 | 0.0381 |
|
| 511 |
+
| 0.6108 | 19500 | 0.0568 |
|
| 512 |
+
| 0.6139 | 19600 | 0.0492 |
|
| 513 |
+
| 0.6171 | 19700 | 0.0489 |
|
| 514 |
+
| 0.6202 | 19800 | 0.0575 |
|
| 515 |
+
| 0.6233 | 19900 | 0.0642 |
|
| 516 |
+
| 0.6265 | 20000 | 0.0535 |
|
| 517 |
+
| 0.6296 | 20100 | 0.0598 |
|
| 518 |
+
| 0.6327 | 20200 | 0.0569 |
|
| 519 |
+
| 0.6359 | 20300 | 0.0513 |
|
| 520 |
+
| 0.6390 | 20400 | 0.0515 |
|
| 521 |
+
| 0.6421 | 20500 | 0.053 |
|
| 522 |
+
| 0.6453 | 20600 | 0.0569 |
|
| 523 |
+
| 0.6484 | 20700 | 0.0372 |
|
| 524 |
+
| 0.6515 | 20800 | 0.0464 |
|
| 525 |
+
| 0.6547 | 20900 | 0.0522 |
|
| 526 |
+
| 0.6578 | 21000 | 0.0427 |
|
| 527 |
+
| 0.6609 | 21100 | 0.0584 |
|
| 528 |
+
| 0.6641 | 21200 | 0.0616 |
|
| 529 |
+
| 0.6672 | 21300 | 0.0552 |
|
| 530 |
+
| 0.6703 | 21400 | 0.0509 |
|
| 531 |
+
| 0.6735 | 21500 | 0.0439 |
|
| 532 |
+
| 0.6766 | 21600 | 0.0762 |
|
| 533 |
+
| 0.6797 | 21700 | 0.0539 |
|
| 534 |
+
| 0.6829 | 21800 | 0.0475 |
|
| 535 |
+
| 0.6860 | 21900 | 0.0557 |
|
| 536 |
+
| 0.6891 | 22000 | 0.0421 |
|
| 537 |
+
| 0.6922 | 22100 | 0.0471 |
|
| 538 |
+
| 0.6954 | 22200 | 0.0398 |
|
| 539 |
+
| 0.6985 | 22300 | 0.0521 |
|
| 540 |
+
| 0.7016 | 22400 | 0.0472 |
|
| 541 |
+
| 0.7048 | 22500 | 0.0579 |
|
| 542 |
+
| 0.7079 | 22600 | 0.0539 |
|
| 543 |
+
| 0.7110 | 22700 | 0.0527 |
|
| 544 |
+
| 0.7142 | 22800 | 0.0677 |
|
| 545 |
+
| 0.7173 | 22900 | 0.0509 |
|
| 546 |
+
| 0.7204 | 23000 | 0.0478 |
|
| 547 |
+
| 0.7236 | 23100 | 0.0593 |
|
| 548 |
+
| 0.7267 | 23200 | 0.0419 |
|
| 549 |
+
| 0.7298 | 23300 | 0.0576 |
|
| 550 |
+
| 0.7330 | 23400 | 0.0485 |
|
| 551 |
+
| 0.7361 | 23500 | 0.0544 |
|
| 552 |
+
| 0.7392 | 23600 | 0.0537 |
|
| 553 |
+
| 0.7424 | 23700 | 0.0481 |
|
| 554 |
+
| 0.7455 | 23800 | 0.0597 |
|
| 555 |
+
| 0.7486 | 23900 | 0.0464 |
|
| 556 |
+
| 0.7518 | 24000 | 0.0537 |
|
| 557 |
+
| 0.7549 | 24100 | 0.0508 |
|
| 558 |
+
| 0.7580 | 24200 | 0.045 |
|
| 559 |
+
| 0.7612 | 24300 | 0.0337 |
|
| 560 |
+
| 0.7643 | 24400 | 0.0478 |
|
| 561 |
+
| 0.7674 | 24500 | 0.0495 |
|
| 562 |
+
| 0.7706 | 24600 | 0.0427 |
|
| 563 |
+
| 0.7737 | 24700 | 0.0596 |
|
| 564 |
+
| 0.7768 | 24800 | 0.0468 |
|
| 565 |
+
| 0.7800 | 24900 | 0.0404 |
|
| 566 |
+
| 0.7831 | 25000 | 0.0467 |
|
| 567 |
+
| 0.7862 | 25100 | 0.0514 |
|
| 568 |
+
| 0.7894 | 25200 | 0.0462 |
|
| 569 |
+
| 0.7925 | 25300 | 0.0401 |
|
| 570 |
+
| 0.7956 | 25400 | 0.0539 |
|
| 571 |
+
| 0.7987 | 25500 | 0.0541 |
|
| 572 |
+
| 0.8019 | 25600 | 0.0639 |
|
| 573 |
+
| 0.8050 | 25700 | 0.0392 |
|
| 574 |
+
| 0.8081 | 25800 | 0.0466 |
|
| 575 |
+
| 0.8113 | 25900 | 0.0543 |
|
| 576 |
+
| 0.8144 | 26000 | 0.0507 |
|
| 577 |
+
| 0.8175 | 26100 | 0.0465 |
|
| 578 |
+
| 0.8207 | 26200 | 0.0386 |
|
| 579 |
+
| 0.8238 | 26300 | 0.0606 |
|
| 580 |
+
| 0.8269 | 26400 | 0.0558 |
|
| 581 |
+
| 0.8301 | 26500 | 0.0488 |
|
| 582 |
+
| 0.8332 | 26600 | 0.0556 |
|
| 583 |
+
| 0.8363 | 26700 | 0.047 |
|
| 584 |
+
| 0.8395 | 26800 | 0.0548 |
|
| 585 |
+
| 0.8426 | 26900 | 0.0423 |
|
| 586 |
+
| 0.8457 | 27000 | 0.0529 |
|
| 587 |
+
| 0.8489 | 27100 | 0.0513 |
|
| 588 |
+
| 0.8520 | 27200 | 0.0432 |
|
| 589 |
+
| 0.8551 | 27300 | 0.0605 |
|
| 590 |
+
| 0.8583 | 27400 | 0.0448 |
|
| 591 |
+
| 0.8614 | 27500 | 0.0508 |
|
| 592 |
+
| 0.8645 | 27600 | 0.0578 |
|
| 593 |
+
| 0.8677 | 27700 | 0.0409 |
|
| 594 |
+
| 0.8708 | 27800 | 0.0487 |
|
| 595 |
+
| 0.8739 | 27900 | 0.058 |
|
| 596 |
+
| 0.8771 | 28000 | 0.0461 |
|
| 597 |
+
| 0.8802 | 28100 | 0.0389 |
|
| 598 |
+
| 0.8833 | 28200 | 0.0427 |
|
| 599 |
+
| 0.8865 | 28300 | 0.0473 |
|
| 600 |
+
| 0.8896 | 28400 | 0.061 |
|
| 601 |
+
| 0.8927 | 28500 | 0.0423 |
|
| 602 |
+
| 0.8958 | 28600 | 0.0435 |
|
| 603 |
+
| 0.8990 | 28700 | 0.0389 |
|
| 604 |
+
| 0.9021 | 28800 | 0.0466 |
|
| 605 |
+
| 0.9052 | 28900 | 0.042 |
|
| 606 |
+
| 0.9084 | 29000 | 0.0466 |
|
| 607 |
+
| 0.9115 | 29100 | 0.0412 |
|
| 608 |
+
| 0.9146 | 29200 | 0.0444 |
|
| 609 |
+
| 0.9178 | 29300 | 0.059 |
|
| 610 |
+
| 0.9209 | 29400 | 0.0466 |
|
| 611 |
+
| 0.9240 | 29500 | 0.0381 |
|
| 612 |
+
| 0.9272 | 29600 | 0.0408 |
|
| 613 |
+
| 0.9303 | 29700 | 0.0557 |
|
| 614 |
+
| 0.9334 | 29800 | 0.0567 |
|
| 615 |
+
| 0.9366 | 29900 | 0.0537 |
|
| 616 |
+
| 0.9397 | 30000 | 0.041 |
|
| 617 |
+
| 0.9428 | 30100 | 0.0383 |
|
| 618 |
+
| 0.9460 | 30200 | 0.0412 |
|
| 619 |
+
| 0.9491 | 30300 | 0.0489 |
|
| 620 |
+
| 0.9522 | 30400 | 0.046 |
|
| 621 |
+
| 0.9554 | 30500 | 0.0525 |
|
| 622 |
+
| 0.9585 | 30600 | 0.0493 |
|
| 623 |
+
| 0.9616 | 30700 | 0.0485 |
|
| 624 |
+
| 0.9648 | 30800 | 0.0532 |
|
| 625 |
+
| 0.9679 | 30900 | 0.0446 |
|
| 626 |
+
| 0.9710 | 31000 | 0.0372 |
|
| 627 |
+
| 0.9742 | 31100 | 0.0472 |
|
| 628 |
+
| 0.9773 | 31200 | 0.0399 |
|
| 629 |
+
| 0.9804 | 31300 | 0.0402 |
|
| 630 |
+
| 0.9836 | 31400 | 0.0372 |
|
| 631 |
+
| 0.9867 | 31500 | 0.0497 |
|
| 632 |
+
| 0.9898 | 31600 | 0.0432 |
|
| 633 |
+
| 0.9930 | 31700 | 0.0382 |
|
| 634 |
+
| 0.9961 | 31800 | 0.0475 |
|
| 635 |
+
| 0.9992 | 31900 | 0.0367 |
|
| 636 |
+
|
| 637 |
+
* The bold row denotes the saved checkpoint.
|
| 638 |
+
</details>
|
| 639 |
+
|
| 640 |
+
### Framework Versions
|
| 641 |
+
- Python: 3.10.12
|
| 642 |
+
- Sentence Transformers: 3.3.1
|
| 643 |
+
- Transformers: 4.47.0
|
| 644 |
+
- PyTorch: 2.5.1+cu121
|
| 645 |
+
- Accelerate: 1.2.1
|
| 646 |
+
- Datasets: 3.2.0
|
| 647 |
+
- Tokenizers: 0.21.0
|
| 648 |
+
|
| 649 |
+
## Citation
|
| 650 |
+
|
| 651 |
+
### BibTeX
|
| 652 |
+
|
| 653 |
+
#### Sentence Transformers
|
| 654 |
+
```bibtex
|
| 655 |
+
@inproceedings{reimers-2019-sentence-bert,
|
| 656 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
| 657 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
| 658 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
| 659 |
+
month = "11",
|
| 660 |
+
year = "2019",
|
| 661 |
+
publisher = "Association for Computational Linguistics",
|
| 662 |
+
url = "https://arxiv.org/abs/1908.10084",
|
| 663 |
+
}
|
| 664 |
+
```
|
| 665 |
+
|
| 666 |
+
#### MultipleNegativesRankingLoss
|
| 667 |
+
```bibtex
|
| 668 |
+
@misc{henderson2017efficient,
|
| 669 |
+
title={Efficient Natural Language Response Suggestion for Smart Reply},
|
| 670 |
+
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},
|
| 671 |
+
year={2017},
|
| 672 |
+
eprint={1705.00652},
|
| 673 |
+
archivePrefix={arXiv},
|
| 674 |
+
primaryClass={cs.CL}
|
| 675 |
+
}
|
| 676 |
+
```
|
| 677 |
+
|
| 678 |
+
<!--
|
| 679 |
+
## Glossary
|
| 680 |
+
|
| 681 |
+
*Clearly define terms in order to be accessible across audiences.*
|
| 682 |
+
-->
|
| 683 |
+
|
| 684 |
+
<!--
|
| 685 |
+
## Model Card Authors
|
| 686 |
+
|
| 687 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
| 688 |
+
-->
|
| 689 |
+
|
| 690 |
+
<!--
|
| 691 |
+
## Model Card Contact
|
| 692 |
+
|
| 693 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 694 |
+
-->
|
config_sentence_transformers.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"__version__": {
|
| 3 |
+
"sentence_transformers": "3.3.1",
|
| 4 |
+
"transformers": "4.47.0",
|
| 5 |
+
"pytorch": "2.5.1+cu121"
|
| 6 |
+
},
|
| 7 |
+
"prompts": {},
|
| 8 |
+
"default_prompt_name": null,
|
| 9 |
+
"similarity_fn_name": "cosine"
|
| 10 |
+
}
|
modules.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"idx": 0,
|
| 4 |
+
"name": "0",
|
| 5 |
+
"path": "",
|
| 6 |
+
"type": "sentence_transformers.models.Transformer"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"idx": 1,
|
| 10 |
+
"name": "1",
|
| 11 |
+
"path": "1_Pooling",
|
| 12 |
+
"type": "sentence_transformers.models.Pooling"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"idx": 2,
|
| 16 |
+
"name": "2",
|
| 17 |
+
"path": "2_Dense",
|
| 18 |
+
"type": "sentence_transformers.models.Dense"
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"idx": 3,
|
| 22 |
+
"name": "3",
|
| 23 |
+
"path": "3_Normalize",
|
| 24 |
+
"type": "sentence_transformers.models.Normalize"
|
| 25 |
+
}
|
| 26 |
+
]
|
sentence_bert_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_seq_length": 256,
|
| 3 |
+
"do_lower_case": false
|
| 4 |
+
}
|