codersan commited on
Commit
452a191
·
verified ·
1 Parent(s): f7d5d62

Add new SentenceTransformer model

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
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
+ }
README.md ADDED
@@ -0,0 +1,636 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:21484
8
+ - loss:MultipleNegativesRankingLoss
9
+ base_model: intfloat/multilingual-e5-small
10
+ widget:
11
+ - source_sentence: زنی ماهی را سرخ می کند.
12
+ sentences:
13
+ - ماهی توسط زنی پخته می شود
14
+ - در سال ۱۱۵۷ ق.م کوتیر-ناهوته حکمران ایلام برای گرفتن انتقام بابل را فتح میکند.
15
+ - دو نفر سوار موتورسیکلت می شوند
16
+ - source_sentence: نرخ‌های بهره چگونه بر قرض‌گیری و سرمایه‌گذاری تأثیر می‌گذارند؟
17
+ sentences:
18
+ - چالش‌ها و تجربیات شخصی جی.K. رولینگ، از جمله مرگ مادرش، بر عمق احساسی و مضامین
19
+ مجموعه 'هری پاتر' تأثیرگذار بود.
20
+ - نرخ بهره می‌تواند تحت تأثیر تورم، رشد اقتصادی و سیاست‌های پولی قرار گیرد.
21
+ - گروهی از مردم به لباس محافظتی مجهز نیستند
22
+ - source_sentence: 'شهرستان مدیسون، تگزاس (به انگلیسی: Madison County, Texas) یک سکونتگاه
23
+ مسکونی در ایالات متحده آمریکا است که در تگزاس واقع شده‌است.'
24
+ sentences:
25
+ - شهرستان مدیسون در در ایالت تگزاس قرار دارد.
26
+ - زنان در حال پوشاندن گوش های بونی و شماره مسابقه هستند و به چیزی از دور اشاره
27
+ می کنند
28
+ - سوار در برف در حال دوچرخه سواری است و یک ژاکت قرمز پوشیده است
29
+ - source_sentence: خانواده ای خوشحال در کنار شومینه برای عکس ژست گرفته اند
30
+ sentences:
31
+ - مردی آنجا نیست که روی صندلی نشسته و چشم هایش را مالش دهد
32
+ - آیا باید برای CAT به مربیگری بپیوندم؟
33
+ - خانواده ای غمگین کنار شومینه ژست گرفته اند
34
+ - source_sentence: کودک جوان دارد اسکوتر سه چرخ را روبه پایین در پیاده رو می راند.
35
+ sentences:
36
+ - کتاب قابوس نامه اثر عنصرالمعالی کیکاووس بن اسکندر می باشد.
37
+ - دو سگ بزرگ در چمن زار ورجه ورجه می‌کنند
38
+ - کودک جوانی دارد اسکوتر سه چرخ را روبه پایین در پیاده رو می راند.
39
+ pipeline_tag: sentence-similarity
40
+ library_name: sentence-transformers
41
+ ---
42
+
43
+ # SentenceTransformer based on intfloat/multilingual-e5-small
44
+
45
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small). 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.
46
+
47
+ ## Model Details
48
+
49
+ ### Model Description
50
+ - **Model Type:** Sentence Transformer
51
+ - **Base model:** [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small) <!-- at revision c007d7ef6fd86656326059b28395a7a03a7c5846 -->
52
+ - **Maximum Sequence Length:** 512 tokens
53
+ - **Output Dimensionality:** 384 dimensions
54
+ - **Similarity Function:** Cosine Similarity
55
+ <!-- - **Training Dataset:** Unknown -->
56
+ <!-- - **Language:** Unknown -->
57
+ <!-- - **License:** Unknown -->
58
+
59
+ ### Model Sources
60
+
61
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
62
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
63
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
64
+
65
+ ### Full Model Architecture
66
+
67
+ ```
68
+ SentenceTransformer(
69
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
70
+ (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})
71
+ (2): Normalize()
72
+ )
73
+ ```
74
+
75
+ ## Usage
76
+
77
+ ### Direct Usage (Sentence Transformers)
78
+
79
+ First install the Sentence Transformers library:
80
+
81
+ ```bash
82
+ pip install -U sentence-transformers
83
+ ```
84
+
85
+ Then you can load this model and run inference.
86
+ ```python
87
+ from sentence_transformers import SentenceTransformer
88
+
89
+ # Download from the 🤗 Hub
90
+ model = SentenceTransformer("codersan/validadted_e5Fa_onV8d")
91
+ # Run inference
92
+ sentences = [
93
+ 'کودک جوان دارد اسکوتر سه چرخ را روبه پایین در پیاده رو می راند.',
94
+ 'کودک جوانی دارد اسکوتر سه چرخ را روبه پایین در پیاده رو می راند.',
95
+ 'کتاب قابوس نامه اثر عنصرالمعالی کیکاووس بن اسکندر می باشد.',
96
+ ]
97
+ embeddings = model.encode(sentences)
98
+ print(embeddings.shape)
99
+ # [3, 384]
100
+
101
+ # Get the similarity scores for the embeddings
102
+ similarities = model.similarity(embeddings, embeddings)
103
+ print(similarities.shape)
104
+ # [3, 3]
105
+ ```
106
+
107
+ <!--
108
+ ### Direct Usage (Transformers)
109
+
110
+ <details><summary>Click to see the direct usage in Transformers</summary>
111
+
112
+ </details>
113
+ -->
114
+
115
+ <!--
116
+ ### Downstream Usage (Sentence Transformers)
117
+
118
+ You can finetune this model on your own dataset.
119
+
120
+ <details><summary>Click to expand</summary>
121
+
122
+ </details>
123
+ -->
124
+
125
+ <!--
126
+ ### Out-of-Scope Use
127
+
128
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
129
+ -->
130
+
131
+ <!--
132
+ ## Bias, Risks and Limitations
133
+
134
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
135
+ -->
136
+
137
+ <!--
138
+ ### Recommendations
139
+
140
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
141
+ -->
142
+
143
+ ## Training Details
144
+
145
+ ### Training Dataset
146
+
147
+ #### Unnamed Dataset
148
+
149
+
150
+ * Size: 21,484 training samples
151
+ * Columns: <code>anchor</code> and <code>positive</code>
152
+ * Approximate statistics based on the first 1000 samples:
153
+ | | anchor | positive |
154
+ |:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
155
+ | type | string | string |
156
+ | details | <ul><li>min: 4 tokens</li><li>mean: 21.18 tokens</li><li>max: 107 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 21.09 tokens</li><li>max: 77 tokens</li></ul> |
157
+ * Samples:
158
+ | anchor | positive |
159
+ |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------|
160
+ | <code>کارگردان چگونه بر یک نمایش تئاتری تأثیر می‌گذارد؟</code> | <code>کارگردان نورپردازی و جلوه‌های صوتی را که در نمایش استفاده خواهد شد انتخاب می‌کند، که بر حال و هوا و جو اجرای نمایش تأثیر می‌گذارد.</code> |
161
+ | <code>پیش از پیدایش شهر اراک گویش‌های متفاوتی در منطقه وجود داشت، اما با مهاجرت گروه‌های مختلف و ساکنان آن‌ها در شهر ترکیب خاصی از لهجه‌های مختلف به وجود آمد که امروزه به نام لهجه اراکی شناخته می‌شود.</code> | <code>لهجه اراکی ترکیبی از لهجه های مختلف است</code> |
162
+ | <code>اهمیت تاریخی واتیکان چیست؟</code> | <code>واتیکان مرکز روحانی و اداری کلیسای کاتولیک رومی است و برای قرن‌ها یک نهاد مذهبی و سیاسی مهم بوده است.</code> |
163
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
164
+ ```json
165
+ {
166
+ "scale": 20.0,
167
+ "similarity_fct": "cos_sim"
168
+ }
169
+ ```
170
+
171
+ ### Training Hyperparameters
172
+ #### Non-Default Hyperparameters
173
+
174
+ - `eval_strategy`: steps
175
+ - `learning_rate`: 5e-06
176
+ - `weight_decay`: 0.01
177
+ - `num_train_epochs`: 10
178
+ - `warmup_ratio`: 0.1
179
+ - `push_to_hub`: True
180
+ - `hub_model_id`: codersan/validadted_e5Fa_onV8d
181
+ - `eval_on_start`: True
182
+ - `batch_sampler`: no_duplicates
183
+
184
+ #### All Hyperparameters
185
+ <details><summary>Click to expand</summary>
186
+
187
+ - `overwrite_output_dir`: False
188
+ - `do_predict`: False
189
+ - `eval_strategy`: steps
190
+ - `prediction_loss_only`: True
191
+ - `per_device_train_batch_size`: 8
192
+ - `per_device_eval_batch_size`: 8
193
+ - `per_gpu_train_batch_size`: None
194
+ - `per_gpu_eval_batch_size`: None
195
+ - `gradient_accumulation_steps`: 1
196
+ - `eval_accumulation_steps`: None
197
+ - `torch_empty_cache_steps`: None
198
+ - `learning_rate`: 5e-06
199
+ - `weight_decay`: 0.01
200
+ - `adam_beta1`: 0.9
201
+ - `adam_beta2`: 0.999
202
+ - `adam_epsilon`: 1e-08
203
+ - `max_grad_norm`: 1
204
+ - `num_train_epochs`: 10
205
+ - `max_steps`: -1
206
+ - `lr_scheduler_type`: linear
207
+ - `lr_scheduler_kwargs`: {}
208
+ - `warmup_ratio`: 0.1
209
+ - `warmup_steps`: 0
210
+ - `log_level`: passive
211
+ - `log_level_replica`: warning
212
+ - `log_on_each_node`: True
213
+ - `logging_nan_inf_filter`: True
214
+ - `save_safetensors`: True
215
+ - `save_on_each_node`: False
216
+ - `save_only_model`: False
217
+ - `restore_callback_states_from_checkpoint`: False
218
+ - `no_cuda`: False
219
+ - `use_cpu`: False
220
+ - `use_mps_device`: False
221
+ - `seed`: 42
222
+ - `data_seed`: None
223
+ - `jit_mode_eval`: False
224
+ - `use_ipex`: False
225
+ - `bf16`: False
226
+ - `fp16`: False
227
+ - `fp16_opt_level`: O1
228
+ - `half_precision_backend`: auto
229
+ - `bf16_full_eval`: False
230
+ - `fp16_full_eval`: False
231
+ - `tf32`: None
232
+ - `local_rank`: 0
233
+ - `ddp_backend`: None
234
+ - `tpu_num_cores`: None
235
+ - `tpu_metrics_debug`: False
236
+ - `debug`: []
237
+ - `dataloader_drop_last`: False
238
+ - `dataloader_num_workers`: 0
239
+ - `dataloader_prefetch_factor`: None
240
+ - `past_index`: -1
241
+ - `disable_tqdm`: False
242
+ - `remove_unused_columns`: True
243
+ - `label_names`: None
244
+ - `load_best_model_at_end`: False
245
+ - `ignore_data_skip`: False
246
+ - `fsdp`: []
247
+ - `fsdp_min_num_params`: 0
248
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
249
+ - `fsdp_transformer_layer_cls_to_wrap`: None
250
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
251
+ - `deepspeed`: None
252
+ - `label_smoothing_factor`: 0.0
253
+ - `optim`: adamw_torch
254
+ - `optim_args`: None
255
+ - `adafactor`: False
256
+ - `group_by_length`: False
257
+ - `length_column_name`: length
258
+ - `ddp_find_unused_parameters`: None
259
+ - `ddp_bucket_cap_mb`: None
260
+ - `ddp_broadcast_buffers`: False
261
+ - `dataloader_pin_memory`: True
262
+ - `dataloader_persistent_workers`: False
263
+ - `skip_memory_metrics`: True
264
+ - `use_legacy_prediction_loop`: False
265
+ - `push_to_hub`: True
266
+ - `resume_from_checkpoint`: None
267
+ - `hub_model_id`: codersan/validadted_e5Fa_onV8d
268
+ - `hub_strategy`: every_save
269
+ - `hub_private_repo`: None
270
+ - `hub_always_push`: False
271
+ - `gradient_checkpointing`: False
272
+ - `gradient_checkpointing_kwargs`: None
273
+ - `include_inputs_for_metrics`: False
274
+ - `include_for_metrics`: []
275
+ - `eval_do_concat_batches`: True
276
+ - `fp16_backend`: auto
277
+ - `push_to_hub_model_id`: None
278
+ - `push_to_hub_organization`: None
279
+ - `mp_parameters`:
280
+ - `auto_find_batch_size`: False
281
+ - `full_determinism`: False
282
+ - `torchdynamo`: None
283
+ - `ray_scope`: last
284
+ - `ddp_timeout`: 1800
285
+ - `torch_compile`: False
286
+ - `torch_compile_backend`: None
287
+ - `torch_compile_mode`: None
288
+ - `dispatch_batches`: None
289
+ - `split_batches`: None
290
+ - `include_tokens_per_second`: False
291
+ - `include_num_input_tokens_seen`: False
292
+ - `neftune_noise_alpha`: None
293
+ - `optim_target_modules`: None
294
+ - `batch_eval_metrics`: False
295
+ - `eval_on_start`: True
296
+ - `use_liger_kernel`: False
297
+ - `eval_use_gather_object`: False
298
+ - `average_tokens_across_devices`: False
299
+ - `prompts`: None
300
+ - `batch_sampler`: no_duplicates
301
+ - `multi_dataset_batch_sampler`: proportional
302
+
303
+ </details>
304
+
305
+ ### Training Logs
306
+ <details><summary>Click to expand</summary>
307
+
308
+ | Epoch | Step | Training Loss |
309
+ |:------:|:-----:|:-------------:|
310
+ | 0 | 0 | - |
311
+ | 0.0372 | 100 | 0.6517 |
312
+ | 0.0745 | 200 | 0.5496 |
313
+ | 0.1117 | 300 | 0.4086 |
314
+ | 0.1489 | 400 | 0.2798 |
315
+ | 0.1862 | 500 | 0.1495 |
316
+ | 0.2234 | 600 | 0.0888 |
317
+ | 0.2606 | 700 | 0.0624 |
318
+ | 0.2978 | 800 | 0.0511 |
319
+ | 0.3351 | 900 | 0.0595 |
320
+ | 0.3723 | 1000 | 0.0521 |
321
+ | 0.4095 | 1100 | 0.0362 |
322
+ | 0.4468 | 1200 | 0.0321 |
323
+ | 0.4840 | 1300 | 0.0538 |
324
+ | 0.5212 | 1400 | 0.0328 |
325
+ | 0.5585 | 1500 | 0.0491 |
326
+ | 0.5957 | 1600 | 0.0475 |
327
+ | 0.6329 | 1700 | 0.0693 |
328
+ | 0.6701 | 1800 | 0.0369 |
329
+ | 0.7074 | 1900 | 0.0386 |
330
+ | 0.7446 | 2000 | 0.057 |
331
+ | 0.7818 | 2100 | 0.0314 |
332
+ | 0.8191 | 2200 | 0.0373 |
333
+ | 0.8563 | 2300 | 0.031 |
334
+ | 0.8935 | 2400 | 0.0352 |
335
+ | 0.9308 | 2500 | 0.0456 |
336
+ | 0.9680 | 2600 | 0.0528 |
337
+ | 1.0052 | 2700 | 0.0418 |
338
+ | 1.0424 | 2800 | 0.0398 |
339
+ | 1.0797 | 2900 | 0.0304 |
340
+ | 1.1169 | 3000 | 0.0262 |
341
+ | 1.1541 | 3100 | 0.0513 |
342
+ | 1.1914 | 3200 | 0.0421 |
343
+ | 1.2286 | 3300 | 0.029 |
344
+ | 1.2658 | 3400 | 0.0356 |
345
+ | 1.3031 | 3500 | 0.0245 |
346
+ | 1.3403 | 3600 | 0.0293 |
347
+ | 1.3775 | 3700 | 0.0245 |
348
+ | 1.4147 | 3800 | 0.0174 |
349
+ | 1.4520 | 3900 | 0.013 |
350
+ | 1.4892 | 4000 | 0.0322 |
351
+ | 1.5264 | 4100 | 0.0204 |
352
+ | 1.5637 | 4200 | 0.0292 |
353
+ | 1.6009 | 4300 | 0.0325 |
354
+ | 1.6381 | 4400 | 0.0448 |
355
+ | 1.6754 | 4500 | 0.015 |
356
+ | 1.7126 | 4600 | 0.0134 |
357
+ | 1.7498 | 4700 | 0.0264 |
358
+ | 1.7870 | 4800 | 0.0112 |
359
+ | 1.8243 | 4900 | 0.0169 |
360
+ | 1.8615 | 5000 | 0.0225 |
361
+ | 1.8987 | 5100 | 0.0251 |
362
+ | 1.9360 | 5200 | 0.0116 |
363
+ | 1.9732 | 5300 | 0.032 |
364
+ | 2.0104 | 5400 | 0.0215 |
365
+ | 2.0477 | 5500 | 0.0298 |
366
+ | 2.0849 | 5600 | 0.0195 |
367
+ | 2.1221 | 5700 | 0.0151 |
368
+ | 2.1593 | 5800 | 0.0253 |
369
+ | 2.1966 | 5900 | 0.0155 |
370
+ | 2.2338 | 6000 | 0.02 |
371
+ | 2.2710 | 6100 | 0.0173 |
372
+ | 2.3083 | 6200 | 0.0082 |
373
+ | 2.3455 | 6300 | 0.0133 |
374
+ | 2.3827 | 6400 | 0.0119 |
375
+ | 2.4200 | 6500 | 0.0084 |
376
+ | 2.4572 | 6600 | 0.0048 |
377
+ | 2.4944 | 6700 | 0.0231 |
378
+ | 2.5316 | 6800 | 0.005 |
379
+ | 2.5689 | 6900 | 0.0181 |
380
+ | 2.6061 | 7000 | 0.0222 |
381
+ | 2.6433 | 7100 | 0.0257 |
382
+ | 2.6806 | 7200 | 0.0056 |
383
+ | 2.7178 | 7300 | 0.0047 |
384
+ | 2.7550 | 7400 | 0.0143 |
385
+ | 2.7923 | 7500 | 0.0074 |
386
+ | 2.8295 | 7600 | 0.0054 |
387
+ | 2.8667 | 7700 | 0.0098 |
388
+ | 2.9039 | 7800 | 0.0134 |
389
+ | 2.9412 | 7900 | 0.0083 |
390
+ | 2.9784 | 8000 | 0.0206 |
391
+ | 3.0156 | 8100 | 0.0073 |
392
+ | 3.0529 | 8200 | 0.0132 |
393
+ | 3.0901 | 8300 | 0.0119 |
394
+ | 3.1273 | 8400 | 0.0084 |
395
+ | 3.1646 | 8500 | 0.0125 |
396
+ | 3.2018 | 8600 | 0.0093 |
397
+ | 3.2390 | 8700 | 0.0171 |
398
+ | 3.2762 | 8800 | 0.012 |
399
+ | 3.3135 | 8900 | 0.0094 |
400
+ | 3.3507 | 9000 | 0.0043 |
401
+ | 3.3879 | 9100 | 0.0066 |
402
+ | 3.4252 | 9200 | 0.0035 |
403
+ | 3.4624 | 9300 | 0.0044 |
404
+ | 3.4996 | 9400 | 0.0104 |
405
+ | 3.5369 | 9500 | 0.0058 |
406
+ | 3.5741 | 9600 | 0.008 |
407
+ | 3.6113 | 9700 | 0.0175 |
408
+ | 3.6485 | 9800 | 0.0078 |
409
+ | 3.6858 | 9900 | 0.0033 |
410
+ | 3.7230 | 10000 | 0.0042 |
411
+ | 3.7602 | 10100 | 0.0058 |
412
+ | 3.7975 | 10200 | 0.0063 |
413
+ | 3.8347 | 10300 | 0.0025 |
414
+ | 3.8719 | 10400 | 0.0067 |
415
+ | 3.9092 | 10500 | 0.0095 |
416
+ | 3.9464 | 10600 | 0.0119 |
417
+ | 3.9836 | 10700 | 0.0102 |
418
+ | 4.0208 | 10800 | 0.004 |
419
+ | 4.0581 | 10900 | 0.0069 |
420
+ | 4.0953 | 11000 | 0.0088 |
421
+ | 4.1325 | 11100 | 0.0067 |
422
+ | 4.1698 | 11200 | 0.0077 |
423
+ | 4.2070 | 11300 | 0.0057 |
424
+ | 4.2442 | 11400 | 0.0123 |
425
+ | 4.2815 | 11500 | 0.007 |
426
+ | 4.3187 | 11600 | 0.0039 |
427
+ | 4.3559 | 11700 | 0.0034 |
428
+ | 4.3931 | 11800 | 0.0046 |
429
+ | 4.4304 | 11900 | 0.002 |
430
+ | 4.4676 | 12000 | 0.0058 |
431
+ | 4.5048 | 12100 | 0.0046 |
432
+ | 4.5421 | 12200 | 0.0063 |
433
+ | 4.5793 | 12300 | 0.0148 |
434
+ | 4.6165 | 12400 | 0.0064 |
435
+ | 4.6538 | 12500 | 0.0043 |
436
+ | 4.6910 | 12600 | 0.0015 |
437
+ | 4.7282 | 12700 | 0.0033 |
438
+ | 4.7655 | 12800 | 0.0038 |
439
+ | 4.8027 | 12900 | 0.0018 |
440
+ | 4.8399 | 13000 | 0.0015 |
441
+ | 4.8771 | 13100 | 0.0038 |
442
+ | 4.9144 | 13200 | 0.0123 |
443
+ | 4.9516 | 13300 | 0.0063 |
444
+ | 4.9888 | 13400 | 0.0047 |
445
+ | 5.0261 | 13500 | 0.003 |
446
+ | 5.0633 | 13600 | 0.005 |
447
+ | 5.1005 | 13700 | 0.0037 |
448
+ | 5.1378 | 13800 | 0.0051 |
449
+ | 5.1750 | 13900 | 0.0031 |
450
+ | 5.2122 | 14000 | 0.0024 |
451
+ | 5.2494 | 14100 | 0.0089 |
452
+ | 5.2867 | 14200 | 0.005 |
453
+ | 5.3239 | 14300 | 0.002 |
454
+ | 5.3611 | 14400 | 0.0015 |
455
+ | 5.3984 | 14500 | 0.0014 |
456
+ | 5.4356 | 14600 | 0.0014 |
457
+ | 5.4728 | 14700 | 0.0034 |
458
+ | 5.5101 | 14800 | 0.0041 |
459
+ | 5.5473 | 14900 | 0.0041 |
460
+ | 5.5845 | 15000 | 0.0091 |
461
+ | 5.6217 | 15100 | 0.0073 |
462
+ | 5.6590 | 15200 | 0.0019 |
463
+ | 5.6962 | 15300 | 0.0012 |
464
+ | 5.7334 | 15400 | 0.0022 |
465
+ | 5.7707 | 15500 | 0.0026 |
466
+ | 5.8079 | 15600 | 0.0018 |
467
+ | 5.8451 | 15700 | 0.0013 |
468
+ | 5.8824 | 15800 | 0.0036 |
469
+ | 5.9196 | 15900 | 0.0114 |
470
+ | 5.9568 | 16000 | 0.0047 |
471
+ | 5.9940 | 16100 | 0.0031 |
472
+ | 6.0313 | 16200 | 0.0025 |
473
+ | 6.0685 | 16300 | 0.0023 |
474
+ | 6.1057 | 16400 | 0.0019 |
475
+ | 6.1430 | 16500 | 0.0031 |
476
+ | 6.1802 | 16600 | 0.0026 |
477
+ | 6.2174 | 16700 | 0.0014 |
478
+ | 6.2547 | 16800 | 0.0074 |
479
+ | 6.2919 | 16900 | 0.0013 |
480
+ | 6.3291 | 17000 | 0.0037 |
481
+ | 6.3663 | 17100 | 0.0013 |
482
+ | 6.4036 | 17200 | 0.0014 |
483
+ | 6.4408 | 17300 | 0.001 |
484
+ | 6.4780 | 17400 | 0.0018 |
485
+ | 6.5153 | 17500 | 0.0028 |
486
+ | 6.5525 | 17600 | 0.0044 |
487
+ | 6.5897 | 17700 | 0.0085 |
488
+ | 6.6270 | 17800 | 0.0046 |
489
+ | 6.6642 | 17900 | 0.0015 |
490
+ | 6.7014 | 18000 | 0.0012 |
491
+ | 6.7386 | 18100 | 0.0013 |
492
+ | 6.7759 | 18200 | 0.0016 |
493
+ | 6.8131 | 18300 | 0.0012 |
494
+ | 6.8503 | 18400 | 0.0017 |
495
+ | 6.8876 | 18500 | 0.0012 |
496
+ | 6.9248 | 18600 | 0.0058 |
497
+ | 6.9620 | 18700 | 0.0042 |
498
+ | 6.9993 | 18800 | 0.0019 |
499
+ | 7.0365 | 18900 | 0.003 |
500
+ | 7.0737 | 19000 | 0.0015 |
501
+ | 7.1109 | 19100 | 0.0018 |
502
+ | 7.1482 | 19200 | 0.0026 |
503
+ | 7.1854 | 19300 | 0.0015 |
504
+ | 7.2226 | 19400 | 0.0053 |
505
+ | 7.2599 | 19500 | 0.0019 |
506
+ | 7.2971 | 19600 | 0.0009 |
507
+ | 7.3343 | 19700 | 0.0021 |
508
+ | 7.3716 | 19800 | 0.0016 |
509
+ | 7.4088 | 19900 | 0.0007 |
510
+ | 7.4460 | 20000 | 0.0007 |
511
+ | 7.4832 | 20100 | 0.0016 |
512
+ | 7.5205 | 20200 | 0.001 |
513
+ | 7.5577 | 20300 | 0.0019 |
514
+ | 7.5949 | 20400 | 0.008 |
515
+ | 7.6322 | 20500 | 0.004 |
516
+ | 7.6694 | 20600 | 0.001 |
517
+ | 7.7066 | 20700 | 0.0008 |
518
+ | 7.7439 | 20800 | 0.0011 |
519
+ | 7.7811 | 20900 | 0.0014 |
520
+ | 7.8183 | 21000 | 0.0012 |
521
+ | 7.8555 | 21100 | 0.0012 |
522
+ | 7.8928 | 21200 | 0.0009 |
523
+ | 7.9300 | 21300 | 0.0059 |
524
+ | 7.9672 | 21400 | 0.0036 |
525
+ | 8.0045 | 21500 | 0.0018 |
526
+ | 8.0417 | 21600 | 0.0013 |
527
+ | 8.0789 | 21700 | 0.0025 |
528
+ | 8.1162 | 21800 | 0.0009 |
529
+ | 8.1534 | 21900 | 0.0016 |
530
+ | 8.1906 | 22000 | 0.001 |
531
+ | 8.2278 | 22100 | 0.0054 |
532
+ | 8.2651 | 22200 | 0.0012 |
533
+ | 8.3023 | 22300 | 0.001 |
534
+ | 8.3395 | 22400 | 0.0014 |
535
+ | 8.3768 | 22500 | 0.0008 |
536
+ | 8.4140 | 22600 | 0.0007 |
537
+ | 8.4512 | 22700 | 0.0008 |
538
+ | 8.4885 | 22800 | 0.0017 |
539
+ | 8.5257 | 22900 | 0.0009 |
540
+ | 8.5629 | 23000 | 0.0028 |
541
+ | 8.6001 | 23100 | 0.0075 |
542
+ | 8.6374 | 23200 | 0.0021 |
543
+ | 8.6746 | 23300 | 0.0008 |
544
+ | 8.7118 | 23400 | 0.0007 |
545
+ | 8.7491 | 23500 | 0.0011 |
546
+ | 8.7863 | 23600 | 0.0012 |
547
+ | 8.8235 | 23700 | 0.0007 |
548
+ | 8.8608 | 23800 | 0.0011 |
549
+ | 8.8980 | 23900 | 0.0041 |
550
+ | 8.9352 | 24000 | 0.0015 |
551
+ | 8.9724 | 24100 | 0.0031 |
552
+ | 9.0097 | 24200 | 0.0008 |
553
+ | 9.0469 | 24300 | 0.001 |
554
+ | 9.0841 | 24400 | 0.0017 |
555
+ | 9.1214 | 24500 | 0.0007 |
556
+ | 9.1586 | 24600 | 0.0017 |
557
+ | 9.1958 | 24700 | 0.0014 |
558
+ | 9.2331 | 24800 | 0.0039 |
559
+ | 9.2703 | 24900 | 0.0012 |
560
+ | 9.3075 | 25000 | 0.0007 |
561
+ | 9.3448 | 25100 | 0.0028 |
562
+ | 9.3820 | 25200 | 0.0011 |
563
+ | 9.4192 | 25300 | 0.0008 |
564
+ | 9.4564 | 25400 | 0.0007 |
565
+ | 9.4937 | 25500 | 0.0014 |
566
+ | 9.5309 | 25600 | 0.0006 |
567
+ | 9.5681 | 25700 | 0.0021 |
568
+ | 9.6054 | 25800 | 0.0086 |
569
+ | 9.6426 | 25900 | 0.0023 |
570
+ | 9.6798 | 26000 | 0.0006 |
571
+ | 9.7171 | 26100 | 0.0008 |
572
+ | 9.7543 | 26200 | 0.0011 |
573
+ | 9.7915 | 26300 | 0.0007 |
574
+ | 9.8287 | 26400 | 0.0009 |
575
+ | 9.8660 | 26500 | 0.001 |
576
+ | 9.9032 | 26600 | 0.0056 |
577
+ | 9.9404 | 26700 | 0.0024 |
578
+ | 9.9777 | 26800 | 0.0024 |
579
+
580
+ </details>
581
+
582
+ ### Framework Versions
583
+ - Python: 3.10.12
584
+ - Sentence Transformers: 3.3.1
585
+ - Transformers: 4.47.0
586
+ - PyTorch: 2.5.1+cu121
587
+ - Accelerate: 1.2.1
588
+ - Datasets: 3.2.0
589
+ - Tokenizers: 0.21.0
590
+
591
+ ## Citation
592
+
593
+ ### BibTeX
594
+
595
+ #### Sentence Transformers
596
+ ```bibtex
597
+ @inproceedings{reimers-2019-sentence-bert,
598
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
599
+ author = "Reimers, Nils and Gurevych, Iryna",
600
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
601
+ month = "11",
602
+ year = "2019",
603
+ publisher = "Association for Computational Linguistics",
604
+ url = "https://arxiv.org/abs/1908.10084",
605
+ }
606
+ ```
607
+
608
+ #### MultipleNegativesRankingLoss
609
+ ```bibtex
610
+ @misc{henderson2017efficient,
611
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
612
+ 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},
613
+ year={2017},
614
+ eprint={1705.00652},
615
+ archivePrefix={arXiv},
616
+ primaryClass={cs.CL}
617
+ }
618
+ ```
619
+
620
+ <!--
621
+ ## Glossary
622
+
623
+ *Clearly define terms in order to be accessible across audiences.*
624
+ -->
625
+
626
+ <!--
627
+ ## Model Card Authors
628
+
629
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
630
+ -->
631
+
632
+ <!--
633
+ ## Model Card Contact
634
+
635
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
636
+ -->
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,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 512,
3
+ "do_lower_case": false
4
+ }