radoslavralev commited on
Commit
3802450
·
verified ·
1 Parent(s): 02b082c

Add new SentenceTransformer model

Browse files
Files changed (1) hide show
  1. README.md +254 -74
README.md CHANGED
@@ -5,38 +5,111 @@ tags:
5
  - feature-extraction
6
  - dense
7
  - generated_from_trainer
8
- - dataset_size:100000
9
  - loss:MultipleNegativesRankingLoss
10
  base_model: prajjwal1/bert-small
11
  widget:
12
- - source_sentence: How do I polish my English skills?
 
13
  sentences:
14
- - How can we polish English skills?
15
- - Why should I move to Israel as a Jew?
16
- - What are vitamins responsible for?
17
- - source_sentence: Can I use the Kozuka Gothic Pro font as a font-face on my web site?
 
 
18
  sentences:
19
- - Can I use the Kozuka Gothic Pro font as a font-face on my web site?
20
- - Why are Google, Facebook, YouTube and other social networking sites banned in
21
- China?
22
- - What font is used in Bloomberg Terminal?
23
- - source_sentence: Is Quora the best Q&A site?
24
  sentences:
25
- - What was the best Quora question ever?
26
- - Is Quora the best inquiry site?
27
- - Where do I buy Oway hair products online?
28
- - source_sentence: How can I customize my walking speed on Google Maps?
 
 
29
  sentences:
30
- - How do I bring back Google maps icon in my home screen?
31
- - How many pages are there in all the Harry Potter books combined?
32
- - How can I customize my walking speed on Google Maps?
33
- - source_sentence: DId something exist before the Big Bang?
 
34
  sentences:
35
- - How can I improve my memory problem?
36
- - Where can I buy Fairy Tail Manga?
37
- - Is there a scientific name for what existed before the Big Bang?
38
  pipeline_tag: sentence-similarity
39
  library_name: sentence-transformers
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  ---
41
 
42
  # SentenceTransformer based on prajjwal1/bert-small
@@ -85,12 +158,12 @@ Then you can load this model and run inference.
85
  from sentence_transformers import SentenceTransformer
86
 
87
  # Download from the 🤗 Hub
88
- model = SentenceTransformer("sentence_transformers_model_id")
89
  # Run inference
90
  sentences = [
91
- 'DId something exist before the Big Bang?',
92
- 'Is there a scientific name for what existed before the Big Bang?',
93
- 'Where can I buy Fairy Tail Manga?',
94
  ]
95
  embeddings = model.encode(sentences)
96
  print(embeddings.shape)
@@ -99,9 +172,9 @@ print(embeddings.shape)
99
  # Get the similarity scores for the embeddings
100
  similarities = model.similarity(embeddings, embeddings)
101
  print(similarities)
102
- # tensor([[ 1.0000, 0.7596, -0.0398],
103
- # [ 0.7596, 1.0000, -0.0308],
104
- # [-0.0398, -0.0308, 1.0000]])
105
  ```
106
 
107
  <!--
@@ -128,6 +201,32 @@ You can finetune this model on your own dataset.
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
 
@@ -146,23 +245,49 @@ You can finetune this model on your own dataset.
146
 
147
  #### Unnamed Dataset
148
 
149
- * Size: 100,000 training samples
150
- * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>sentence_2</code>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  * Approximate statistics based on the first 1000 samples:
152
- | | sentence_0 | sentence_1 | sentence_2 |
153
- |:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
154
- | type | string | string | string |
155
- | details | <ul><li>min: 3 tokens</li><li>mean: 15.53 tokens</li><li>max: 59 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 15.5 tokens</li><li>max: 59 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.87 tokens</li><li>max: 128 tokens</li></ul> |
156
  * Samples:
157
- | sentence_0 | sentence_1 | sentence_2 |
158
- |:----------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------|:-----------------------------------------------------------------------|
159
- | <code>Is there visitor entry facility in Jaipur airport. How much is the ticket?</code> | <code>Is there visitor entry facility in Jaipur airport. How much is the ticket?</code> | <code>How much is the airport tax in bogota?</code> |
160
- | <code>Which concept is more important: good planning or hard work?</code> | <code>Which concept is more important: good planning or hard work?</code> | <code>What is important in life: luck or hard work?</code> |
161
- | <code>What is the most efficient way to make money?</code> | <code>How can I make my money make money?</code> | <code>What can one learn about Quantum Mechanics in 10 minutes?</code> |
162
  * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
163
  ```json
164
  {
165
- "scale": 20.0,
166
  "similarity_fct": "cos_sim",
167
  "gather_across_devices": false
168
  }
@@ -171,36 +296,49 @@ You can finetune this model on your own dataset.
171
  ### Training Hyperparameters
172
  #### Non-Default Hyperparameters
173
 
174
- - `per_device_train_batch_size`: 64
175
- - `per_device_eval_batch_size`: 64
 
 
 
 
 
176
  - `fp16`: True
177
- - `multi_dataset_batch_sampler`: round_robin
 
 
 
 
 
 
 
 
178
 
179
  #### All Hyperparameters
180
  <details><summary>Click to expand</summary>
181
 
182
  - `overwrite_output_dir`: False
183
  - `do_predict`: False
184
- - `eval_strategy`: no
185
  - `prediction_loss_only`: True
186
- - `per_device_train_batch_size`: 64
187
- - `per_device_eval_batch_size`: 64
188
  - `per_gpu_train_batch_size`: None
189
  - `per_gpu_eval_batch_size`: None
190
  - `gradient_accumulation_steps`: 1
191
  - `eval_accumulation_steps`: None
192
  - `torch_empty_cache_steps`: None
193
- - `learning_rate`: 5e-05
194
- - `weight_decay`: 0.0
195
  - `adam_beta1`: 0.9
196
  - `adam_beta2`: 0.999
197
  - `adam_epsilon`: 1e-08
198
- - `max_grad_norm`: 1
199
- - `num_train_epochs`: 3
200
- - `max_steps`: -1
201
  - `lr_scheduler_type`: linear
202
  - `lr_scheduler_kwargs`: {}
203
- - `warmup_ratio`: 0.0
204
  - `warmup_steps`: 0
205
  - `log_level`: passive
206
  - `log_level_replica`: warning
@@ -228,14 +366,14 @@ You can finetune this model on your own dataset.
228
  - `tpu_num_cores`: None
229
  - `tpu_metrics_debug`: False
230
  - `debug`: []
231
- - `dataloader_drop_last`: False
232
- - `dataloader_num_workers`: 0
233
- - `dataloader_prefetch_factor`: None
234
  - `past_index`: -1
235
  - `disable_tqdm`: False
236
  - `remove_unused_columns`: True
237
  - `label_names`: None
238
- - `load_best_model_at_end`: False
239
  - `ignore_data_skip`: False
240
  - `fsdp`: []
241
  - `fsdp_min_num_params`: 0
@@ -245,23 +383,23 @@ You can finetune this model on your own dataset.
245
  - `parallelism_config`: None
246
  - `deepspeed`: None
247
  - `label_smoothing_factor`: 0.0
248
- - `optim`: adamw_torch_fused
249
  - `optim_args`: None
250
  - `adafactor`: False
251
  - `group_by_length`: False
252
  - `length_column_name`: length
253
  - `project`: huggingface
254
  - `trackio_space_id`: trackio
255
- - `ddp_find_unused_parameters`: None
256
  - `ddp_bucket_cap_mb`: None
257
  - `ddp_broadcast_buffers`: False
258
  - `dataloader_pin_memory`: True
259
  - `dataloader_persistent_workers`: False
260
  - `skip_memory_metrics`: True
261
  - `use_legacy_prediction_loop`: False
262
- - `push_to_hub`: False
263
  - `resume_from_checkpoint`: None
264
- - `hub_model_id`: None
265
  - `hub_strategy`: every_save
266
  - `hub_private_repo`: None
267
  - `hub_always_push`: False
@@ -288,31 +426,73 @@ You can finetune this model on your own dataset.
288
  - `neftune_noise_alpha`: None
289
  - `optim_target_modules`: None
290
  - `batch_eval_metrics`: False
291
- - `eval_on_start`: False
292
  - `use_liger_kernel`: False
293
  - `liger_kernel_config`: None
294
  - `eval_use_gather_object`: False
295
  - `average_tokens_across_devices`: True
296
  - `prompts`: None
297
  - `batch_sampler`: batch_sampler
298
- - `multi_dataset_batch_sampler`: round_robin
299
  - `router_mapping`: {}
300
  - `learning_rate_mapping`: {}
301
 
302
  </details>
303
 
304
  ### Training Logs
305
- | Epoch | Step | Training Loss |
306
- |:------:|:----:|:-------------:|
307
- | 0.3199 | 500 | 0.2284 |
308
- | 0.6398 | 1000 | 0.0571 |
309
- | 0.9597 | 1500 | 0.0486 |
310
- | 1.2796 | 2000 | 0.0378 |
311
- | 1.5995 | 2500 | 0.0367 |
312
- | 1.9194 | 3000 | 0.0338 |
313
- | 2.2393 | 3500 | 0.0327 |
314
- | 2.5592 | 4000 | 0.0285 |
315
- | 2.8791 | 4500 | 0.0285 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
 
317
 
318
  ### Framework Versions
 
5
  - feature-extraction
6
  - dense
7
  - generated_from_trainer
8
+ - dataset_size:359997
9
  - loss:MultipleNegativesRankingLoss
10
  base_model: prajjwal1/bert-small
11
  widget:
12
+ - source_sentence: When do you use Ms. or Mrs.? Is one for a married woman and one
13
+ for one that's not married? Which one is for what?
14
  sentences:
15
+ - When do you use Ms. or Mrs.? Is one for a married woman and one for one that's
16
+ not married? Which one is for what?
17
+ - Nations that do/does otherwise? Which one do I use?
18
+ - Why don't bikes have a gear indicator?
19
+ - source_sentence: Which ointment is applied to the face of UFC fighters at the commencement
20
+ of a bout? What does it do?
21
  sentences:
22
+ - How can I save a Snapchat video that others posted?
23
+ - Which ointment is applied to the face of UFC fighters at the commencement of a
24
+ bout? What does it do?
25
+ - How do I get the body of a UFC Fighter?
26
+ - source_sentence: Do you love the life you live?
27
  sentences:
28
+ - Can I do shoulder and triceps workout on same day? What other combinations like
29
+ this can I do?
30
+ - Do you love the life you're living?
31
+ - Where can you find an online TI-84 calculator?
32
+ - source_sentence: Ordered food on Swiggy 3 days ago.After accepting my money, said
33
+ no more on Menu! When if ever will I atleast get refund in cr card a/c?
34
  sentences:
35
+ - Is getting to the Tel Aviv airport to catch a 5:30 AM flight very expensive?
36
+ - How do I die and make it look like an accident?
37
+ - Ordered food on Swiggy 3 days ago.After accepting my money, said no more on Menu!
38
+ When if ever will I atleast get refund in cr card a/c?
39
+ - source_sentence: How do you earn money on Quora?
40
  sentences:
41
+ - What is a cheap healthy diet I can keep the same and eat every day?
42
+ - What are some things new employees should know going into their first day at Maximus?
43
+ - What is the best way to make money on Quora?
44
  pipeline_tag: sentence-similarity
45
  library_name: sentence-transformers
46
+ metrics:
47
+ - cosine_accuracy@1
48
+ - cosine_accuracy@3
49
+ - cosine_accuracy@5
50
+ - cosine_precision@1
51
+ - cosine_precision@3
52
+ - cosine_precision@5
53
+ - cosine_recall@1
54
+ - cosine_recall@3
55
+ - cosine_recall@5
56
+ - cosine_ndcg@10
57
+ - cosine_mrr@1
58
+ - cosine_mrr@5
59
+ - cosine_mrr@10
60
+ - cosine_map@100
61
+ model-index:
62
+ - name: SentenceTransformer based on prajjwal1/bert-small
63
+ results:
64
+ - task:
65
+ type: information-retrieval
66
+ name: Information Retrieval
67
+ dataset:
68
+ name: val
69
+ type: val
70
+ metrics:
71
+ - type: cosine_accuracy@1
72
+ value: 0.802275
73
+ name: Cosine Accuracy@1
74
+ - type: cosine_accuracy@3
75
+ value: 0.8676
76
+ name: Cosine Accuracy@3
77
+ - type: cosine_accuracy@5
78
+ value: 0.89495
79
+ name: Cosine Accuracy@5
80
+ - type: cosine_precision@1
81
+ value: 0.802275
82
+ name: Cosine Precision@1
83
+ - type: cosine_precision@3
84
+ value: 0.28919999999999996
85
+ name: Cosine Precision@3
86
+ - type: cosine_precision@5
87
+ value: 0.17899
88
+ name: Cosine Precision@5
89
+ - type: cosine_recall@1
90
+ value: 0.802275
91
+ name: Cosine Recall@1
92
+ - type: cosine_recall@3
93
+ value: 0.8676
94
+ name: Cosine Recall@3
95
+ - type: cosine_recall@5
96
+ value: 0.89495
97
+ name: Cosine Recall@5
98
+ - type: cosine_ndcg@10
99
+ value: 0.8626142815266079
100
+ name: Cosine Ndcg@10
101
+ - type: cosine_mrr@1
102
+ value: 0.802275
103
+ name: Cosine Mrr@1
104
+ - type: cosine_mrr@5
105
+ value: 0.8373504166666614
106
+ name: Cosine Mrr@5
107
+ - type: cosine_mrr@10
108
+ value: 0.8418555952380918
109
+ name: Cosine Mrr@10
110
+ - type: cosine_map@100
111
+ value: 0.8448604581747029
112
+ name: Cosine Map@100
113
  ---
114
 
115
  # SentenceTransformer based on prajjwal1/bert-small
 
158
  from sentence_transformers import SentenceTransformer
159
 
160
  # Download from the 🤗 Hub
161
+ model = SentenceTransformer("redis/model-a-baseline")
162
  # Run inference
163
  sentences = [
164
+ 'How do you earn money on Quora?',
165
+ 'What is the best way to make money on Quora?',
166
+ 'What are some things new employees should know going into their first day at Maximus?',
167
  ]
168
  embeddings = model.encode(sentences)
169
  print(embeddings.shape)
 
172
  # Get the similarity scores for the embeddings
173
  similarities = model.similarity(embeddings, embeddings)
174
  print(similarities)
175
+ # tensor([[ 1.0001, 0.9960, -0.0211],
176
+ # [ 0.9960, 1.0000, -0.0245],
177
+ # [-0.0211, -0.0245, 1.0000]])
178
  ```
179
 
180
  <!--
 
201
  *List how the model may foreseeably be misused and address what users ought not to do with the model.*
202
  -->
203
 
204
+ ## Evaluation
205
+
206
+ ### Metrics
207
+
208
+ #### Information Retrieval
209
+
210
+ * Dataset: `val`
211
+ * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
212
+
213
+ | Metric | Value |
214
+ |:-------------------|:-----------|
215
+ | cosine_accuracy@1 | 0.8023 |
216
+ | cosine_accuracy@3 | 0.8676 |
217
+ | cosine_accuracy@5 | 0.895 |
218
+ | cosine_precision@1 | 0.8023 |
219
+ | cosine_precision@3 | 0.2892 |
220
+ | cosine_precision@5 | 0.179 |
221
+ | cosine_recall@1 | 0.8023 |
222
+ | cosine_recall@3 | 0.8676 |
223
+ | cosine_recall@5 | 0.895 |
224
+ | **cosine_ndcg@10** | **0.8626** |
225
+ | cosine_mrr@1 | 0.8023 |
226
+ | cosine_mrr@5 | 0.8374 |
227
+ | cosine_mrr@10 | 0.8419 |
228
+ | cosine_map@100 | 0.8449 |
229
+
230
  <!--
231
  ## Bias, Risks and Limitations
232
 
 
245
 
246
  #### Unnamed Dataset
247
 
248
+ * Size: 359,997 training samples
249
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
250
+ * Approximate statistics based on the first 1000 samples:
251
+ | | anchor | positive | negative |
252
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
253
+ | type | string | string | string |
254
+ | details | <ul><li>min: 4 tokens</li><li>mean: 15.46 tokens</li><li>max: 49 tokens</li></ul> | <ul><li>min: 4 tokens</li><li>mean: 15.52 tokens</li><li>max: 49 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 16.99 tokens</li><li>max: 128 tokens</li></ul> |
255
+ * Samples:
256
+ | anchor | positive | negative |
257
+ |:--------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------|
258
+ | <code>Shall I upgrade my iPhone 5s to iOS 10 final version?</code> | <code>Should I upgrade an iPhone 5s to iOS 10?</code> | <code>Whether extension of CA-articleship is to be served at same firm/company?</code> |
259
+ | <code>Is Donald Trump really going to be the president of United States?</code> | <code>Do you think Donald Trump could conceivably be the next President of the United States?</code> | <code>Since solid carbon dioxide is dry ice and incredibly cold, why doesn't it have an effect on global warming?</code> |
260
+ | <code>What are real tips to improve work life balance?</code> | <code>What are the best ways to create a work life balance?</code> | <code>How do you open a briefcase combination lock without the combination?</code> |
261
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
262
+ ```json
263
+ {
264
+ "scale": 5.0,
265
+ "similarity_fct": "cos_sim",
266
+ "gather_across_devices": false
267
+ }
268
+ ```
269
+
270
+ ### Evaluation Dataset
271
+
272
+ #### Unnamed Dataset
273
+
274
+ * Size: 40,000 evaluation samples
275
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
276
  * Approximate statistics based on the first 1000 samples:
277
+ | | anchor | positive | negative |
278
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
279
+ | type | string | string | string |
280
+ | details | <ul><li>min: 6 tokens</li><li>mean: 15.71 tokens</li><li>max: 65 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.79 tokens</li><li>max: 65 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.97 tokens</li><li>max: 78 tokens</li></ul> |
281
  * Samples:
282
+ | anchor | positive | negative |
283
+ |:------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------|
284
+ | <code>Why were feathered dinosaur fossils only found in the last 20 years?</code> | <code>Why were feathered dinosaur fossils only found in the last 20 years?</code> | <code>Why are only few people aware that many dinosaurs had feathers?</code> |
285
+ | <code>If FOX News is the conservative news station, which cable news network is for liberals/progressives?</code> | <code>If FOX News is the conservative news station, which cable news network is for liberals/progressives?</code> | <code>How much did Fox News and conservative leaning media networks stoke the anger that contributed to Donald Trump's popularity?</code> |
286
+ | <code>How can guys last longer during sex?</code> | <code>How do I last longer in sex?</code> | <code>What is a permanent solution for rough and puffy hair?</code> |
287
  * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
288
  ```json
289
  {
290
+ "scale": 5.0,
291
  "similarity_fct": "cos_sim",
292
  "gather_across_devices": false
293
  }
 
296
  ### Training Hyperparameters
297
  #### Non-Default Hyperparameters
298
 
299
+ - `eval_strategy`: steps
300
+ - `per_device_train_batch_size`: 1024
301
+ - `per_device_eval_batch_size`: 1024
302
+ - `learning_rate`: 2e-05
303
+ - `weight_decay`: 0.001
304
+ - `max_steps`: 5000
305
+ - `warmup_ratio`: 0.1
306
  - `fp16`: True
307
+ - `dataloader_drop_last`: True
308
+ - `dataloader_num_workers`: 1
309
+ - `dataloader_prefetch_factor`: 1
310
+ - `load_best_model_at_end`: True
311
+ - `optim`: adamw_torch
312
+ - `ddp_find_unused_parameters`: False
313
+ - `push_to_hub`: True
314
+ - `hub_model_id`: redis/model-a-baseline
315
+ - `eval_on_start`: True
316
 
317
  #### All Hyperparameters
318
  <details><summary>Click to expand</summary>
319
 
320
  - `overwrite_output_dir`: False
321
  - `do_predict`: False
322
+ - `eval_strategy`: steps
323
  - `prediction_loss_only`: True
324
+ - `per_device_train_batch_size`: 1024
325
+ - `per_device_eval_batch_size`: 1024
326
  - `per_gpu_train_batch_size`: None
327
  - `per_gpu_eval_batch_size`: None
328
  - `gradient_accumulation_steps`: 1
329
  - `eval_accumulation_steps`: None
330
  - `torch_empty_cache_steps`: None
331
+ - `learning_rate`: 2e-05
332
+ - `weight_decay`: 0.001
333
  - `adam_beta1`: 0.9
334
  - `adam_beta2`: 0.999
335
  - `adam_epsilon`: 1e-08
336
+ - `max_grad_norm`: 1.0
337
+ - `num_train_epochs`: 3.0
338
+ - `max_steps`: 5000
339
  - `lr_scheduler_type`: linear
340
  - `lr_scheduler_kwargs`: {}
341
+ - `warmup_ratio`: 0.1
342
  - `warmup_steps`: 0
343
  - `log_level`: passive
344
  - `log_level_replica`: warning
 
366
  - `tpu_num_cores`: None
367
  - `tpu_metrics_debug`: False
368
  - `debug`: []
369
+ - `dataloader_drop_last`: True
370
+ - `dataloader_num_workers`: 1
371
+ - `dataloader_prefetch_factor`: 1
372
  - `past_index`: -1
373
  - `disable_tqdm`: False
374
  - `remove_unused_columns`: True
375
  - `label_names`: None
376
+ - `load_best_model_at_end`: True
377
  - `ignore_data_skip`: False
378
  - `fsdp`: []
379
  - `fsdp_min_num_params`: 0
 
383
  - `parallelism_config`: None
384
  - `deepspeed`: None
385
  - `label_smoothing_factor`: 0.0
386
+ - `optim`: adamw_torch
387
  - `optim_args`: None
388
  - `adafactor`: False
389
  - `group_by_length`: False
390
  - `length_column_name`: length
391
  - `project`: huggingface
392
  - `trackio_space_id`: trackio
393
+ - `ddp_find_unused_parameters`: False
394
  - `ddp_bucket_cap_mb`: None
395
  - `ddp_broadcast_buffers`: False
396
  - `dataloader_pin_memory`: True
397
  - `dataloader_persistent_workers`: False
398
  - `skip_memory_metrics`: True
399
  - `use_legacy_prediction_loop`: False
400
+ - `push_to_hub`: True
401
  - `resume_from_checkpoint`: None
402
+ - `hub_model_id`: redis/model-a-baseline
403
  - `hub_strategy`: every_save
404
  - `hub_private_repo`: None
405
  - `hub_always_push`: False
 
426
  - `neftune_noise_alpha`: None
427
  - `optim_target_modules`: None
428
  - `batch_eval_metrics`: False
429
+ - `eval_on_start`: True
430
  - `use_liger_kernel`: False
431
  - `liger_kernel_config`: None
432
  - `eval_use_gather_object`: False
433
  - `average_tokens_across_devices`: True
434
  - `prompts`: None
435
  - `batch_sampler`: batch_sampler
436
+ - `multi_dataset_batch_sampler`: proportional
437
  - `router_mapping`: {}
438
  - `learning_rate_mapping`: {}
439
 
440
  </details>
441
 
442
  ### Training Logs
443
+ | Epoch | Step | Training Loss | Validation Loss | val_cosine_ndcg@10 |
444
+ |:-------:|:----:|:-------------:|:---------------:|:------------------:|
445
+ | 0 | 0 | - | 6.2276 | 0.8046 |
446
+ | 0.2849 | 100 | 5.882 | 3.9651 | 0.8557 |
447
+ | 0.5698 | 200 | 4.3197 | 3.2712 | 0.8551 |
448
+ | 0.8547 | 300 | 3.93 | 3.2258 | 0.8543 |
449
+ | 1.1396 | 400 | 3.7914 | 3.1976 | 0.8544 |
450
+ | 1.4245 | 500 | 3.7016 | 3.1692 | 0.8550 |
451
+ | 1.7094 | 600 | 3.6345 | 3.1525 | 0.8556 |
452
+ | 1.9943 | 700 | 3.5897 | 3.1350 | 0.8563 |
453
+ | 2.2792 | 800 | 3.5494 | 3.1225 | 0.8566 |
454
+ | 2.5641 | 900 | 3.5241 | 3.1107 | 0.8570 |
455
+ | 2.8490 | 1000 | 3.4975 | 3.1020 | 0.8572 |
456
+ | 3.1339 | 1100 | 3.4786 | 3.0944 | 0.8574 |
457
+ | 3.4188 | 1200 | 3.4606 | 3.0875 | 0.8579 |
458
+ | 3.7037 | 1300 | 3.4466 | 3.0821 | 0.8582 |
459
+ | 3.9886 | 1400 | 3.4327 | 3.0765 | 0.8586 |
460
+ | 4.2735 | 1500 | 3.4196 | 3.0725 | 0.8589 |
461
+ | 4.5584 | 1600 | 3.4075 | 3.0682 | 0.8592 |
462
+ | 4.8433 | 1700 | 3.4001 | 3.0639 | 0.8593 |
463
+ | 5.1282 | 1800 | 3.3895 | 3.0598 | 0.8597 |
464
+ | 5.4131 | 1900 | 3.381 | 3.0564 | 0.8599 |
465
+ | 5.6980 | 2000 | 3.3751 | 3.0531 | 0.8601 |
466
+ | 5.9829 | 2100 | 3.3672 | 3.0507 | 0.8603 |
467
+ | 6.2678 | 2200 | 3.3571 | 3.0486 | 0.8605 |
468
+ | 6.5527 | 2300 | 3.3549 | 3.0447 | 0.8608 |
469
+ | 6.8376 | 2400 | 3.3471 | 3.0432 | 0.8608 |
470
+ | 7.1225 | 2500 | 3.3428 | 3.0411 | 0.8609 |
471
+ | 7.4074 | 2600 | 3.3358 | 3.0390 | 0.8613 |
472
+ | 7.6923 | 2700 | 3.3304 | 3.0377 | 0.8612 |
473
+ | 7.9772 | 2800 | 3.3283 | 3.0358 | 0.8614 |
474
+ | 8.2621 | 2900 | 3.3217 | 3.0334 | 0.8616 |
475
+ | 8.5470 | 3000 | 3.319 | 3.0324 | 0.8618 |
476
+ | 8.8319 | 3100 | 3.3166 | 3.0305 | 0.8620 |
477
+ | 9.1168 | 3200 | 3.3115 | 3.0295 | 0.8620 |
478
+ | 9.4017 | 3300 | 3.3077 | 3.0279 | 0.8619 |
479
+ | 9.6866 | 3400 | 3.3044 | 3.0270 | 0.8620 |
480
+ | 9.9715 | 3500 | 3.3031 | 3.0256 | 0.8623 |
481
+ | 10.2564 | 3600 | 3.2988 | 3.0253 | 0.8623 |
482
+ | 10.5413 | 3700 | 3.2968 | 3.0239 | 0.8623 |
483
+ | 10.8262 | 3800 | 3.295 | 3.0233 | 0.8624 |
484
+ | 11.1111 | 3900 | 3.2933 | 3.0227 | 0.8624 |
485
+ | 11.3960 | 4000 | 3.2913 | 3.0217 | 0.8626 |
486
+ | 11.6809 | 4100 | 3.2884 | 3.0211 | 0.8624 |
487
+ | 11.9658 | 4200 | 3.2875 | 3.0207 | 0.8625 |
488
+ | 12.2507 | 4300 | 3.2859 | 3.0202 | 0.8626 |
489
+ | 12.5356 | 4400 | 3.2841 | 3.0196 | 0.8626 |
490
+ | 12.8205 | 4500 | 3.2839 | 3.0193 | 0.8625 |
491
+ | 13.1054 | 4600 | 3.2839 | 3.0188 | 0.8627 |
492
+ | 13.3903 | 4700 | 3.2818 | 3.0188 | 0.8626 |
493
+ | 13.6752 | 4800 | 3.2799 | 3.0185 | 0.8627 |
494
+ | 13.9601 | 4900 | 3.2812 | 3.0183 | 0.8627 |
495
+ | 14.2450 | 5000 | 3.2817 | 3.0183 | 0.8626 |
496
 
497
 
498
  ### Framework Versions