radoslavralev commited on
Commit
1ab3009
·
verified ·
1 Parent(s): 1c170b1

Add new SentenceTransformer model

Browse files
Files changed (1) hide show
  1. README.md +345 -73
README.md CHANGED
@@ -5,38 +5,110 @@ 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 +157,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 +171,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 +200,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,19 +244,45 @@ 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
  {
@@ -171,36 +295,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 +365,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 +382,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,32 +425,167 @@ 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
319
  - Python: 3.10.18
 
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
+ - How do I die and make it look like an accident?
29
+ - Do you love the life you're living?
30
+ - Why am I not motivated by money?
31
+ - source_sentence: Ordered food on Swiggy 3 days ago.After accepting my money, said
32
+ no more on Menu! When if ever will I atleast get refund in cr card a/c?
33
  sentences:
34
+ - Is getting to the Tel Aviv airport to catch a 5:30 AM flight very expensive?
35
+ - What is a cheap healthy diet I can keep the same and eat every day?
36
+ - Ordered food on Swiggy 3 days ago.After accepting my money, said no more on Menu!
37
+ When if ever will I atleast get refund in cr card a/c?
38
+ - source_sentence: How do you earn money on Quora?
39
  sentences:
40
+ - What should I do to make my life interesting?
41
+ - What are the best blogs/sites to follow on fashion?
42
+ - What is the best way to make money on Quora?
43
  pipeline_tag: sentence-similarity
44
  library_name: sentence-transformers
45
+ metrics:
46
+ - cosine_accuracy@1
47
+ - cosine_accuracy@3
48
+ - cosine_accuracy@5
49
+ - cosine_precision@1
50
+ - cosine_precision@3
51
+ - cosine_precision@5
52
+ - cosine_recall@1
53
+ - cosine_recall@3
54
+ - cosine_recall@5
55
+ - cosine_ndcg@10
56
+ - cosine_mrr@1
57
+ - cosine_mrr@5
58
+ - cosine_mrr@10
59
+ - cosine_map@100
60
+ model-index:
61
+ - name: SentenceTransformer based on prajjwal1/bert-small
62
+ results:
63
+ - task:
64
+ type: information-retrieval
65
+ name: Information Retrieval
66
+ dataset:
67
+ name: val
68
+ type: val
69
+ metrics:
70
+ - type: cosine_accuracy@1
71
+ value: 0.8292
72
+ name: Cosine Accuracy@1
73
+ - type: cosine_accuracy@3
74
+ value: 0.905075
75
+ name: Cosine Accuracy@3
76
+ - type: cosine_accuracy@5
77
+ value: 0.932925
78
+ name: Cosine Accuracy@5
79
+ - type: cosine_precision@1
80
+ value: 0.8292
81
+ name: Cosine Precision@1
82
+ - type: cosine_precision@3
83
+ value: 0.3016916666666666
84
+ name: Cosine Precision@3
85
+ - type: cosine_precision@5
86
+ value: 0.18658500000000003
87
+ name: Cosine Precision@5
88
+ - type: cosine_recall@1
89
+ value: 0.8292
90
+ name: Cosine Recall@1
91
+ - type: cosine_recall@3
92
+ value: 0.905075
93
+ name: Cosine Recall@3
94
+ - type: cosine_recall@5
95
+ value: 0.932925
96
+ name: Cosine Recall@5
97
+ - type: cosine_ndcg@10
98
+ value: 0.895673602678825
99
+ name: Cosine Ndcg@10
100
+ - type: cosine_mrr@1
101
+ value: 0.8292
102
+ name: Cosine Mrr@1
103
+ - type: cosine_mrr@5
104
+ value: 0.869192916666662
105
+ name: Cosine Mrr@5
106
+ - type: cosine_mrr@10
107
+ value: 0.8735491567460258
108
+ name: Cosine Mrr@10
109
+ - type: cosine_map@100
110
+ value: 0.8756171762848609
111
+ name: Cosine Map@100
112
  ---
113
 
114
  # SentenceTransformer based on prajjwal1/bert-small
 
157
  from sentence_transformers import SentenceTransformer
158
 
159
  # Download from the 🤗 Hub
160
+ model = SentenceTransformer("redis/model-a-baseline")
161
  # Run inference
162
  sentences = [
163
+ 'How do you earn money on Quora?',
164
+ 'What is the best way to make money on Quora?',
165
+ 'What are the best blogs/sites to follow on fashion?',
166
  ]
167
  embeddings = model.encode(sentences)
168
  print(embeddings.shape)
 
171
  # Get the similarity scores for the embeddings
172
  similarities = model.similarity(embeddings, embeddings)
173
  print(similarities)
174
+ # tensor([[ 1.0000, 0.8451, -0.1292],
175
+ # [ 0.8451, 1.0000, -0.0389],
176
+ # [-0.1292, -0.0389, 1.0000]])
177
  ```
178
 
179
  <!--
 
200
  *List how the model may foreseeably be misused and address what users ought not to do with the model.*
201
  -->
202
 
203
+ ## Evaluation
204
+
205
+ ### Metrics
206
+
207
+ #### Information Retrieval
208
+
209
+ * Dataset: `val`
210
+ * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
211
+
212
+ | Metric | Value |
213
+ |:-------------------|:-----------|
214
+ | cosine_accuracy@1 | 0.8292 |
215
+ | cosine_accuracy@3 | 0.9051 |
216
+ | cosine_accuracy@5 | 0.9329 |
217
+ | cosine_precision@1 | 0.8292 |
218
+ | cosine_precision@3 | 0.3017 |
219
+ | cosine_precision@5 | 0.1866 |
220
+ | cosine_recall@1 | 0.8292 |
221
+ | cosine_recall@3 | 0.9051 |
222
+ | cosine_recall@5 | 0.9329 |
223
+ | **cosine_ndcg@10** | **0.8957** |
224
+ | cosine_mrr@1 | 0.8292 |
225
+ | cosine_mrr@5 | 0.8692 |
226
+ | cosine_mrr@10 | 0.8735 |
227
+ | cosine_map@100 | 0.8756 |
228
+
229
  <!--
230
  ## Bias, Risks and Limitations
231
 
 
244
 
245
  #### Unnamed Dataset
246
 
247
+ * Size: 359,997 training samples
248
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
249
+ * Approximate statistics based on the first 1000 samples:
250
+ | | anchor | positive | negative |
251
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
252
+ | type | string | string | string |
253
+ | 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: 17.1 tokens</li><li>max: 128 tokens</li></ul> |
254
+ * Samples:
255
+ | anchor | positive | negative |
256
+ |:--------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
257
+ | <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>What are the disadvantages and advantages of presidential democracy?</code> |
258
+ | <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>What should we do when we are bored?</code> |
259
+ | <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>What are the best sites for college students to earn money online?</code> |
260
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
261
+ ```json
262
+ {
263
+ "scale": 20.0,
264
+ "similarity_fct": "cos_sim",
265
+ "gather_across_devices": false
266
+ }
267
+ ```
268
+
269
+ ### Evaluation Dataset
270
+
271
+ #### Unnamed Dataset
272
+
273
+ * Size: 40,000 evaluation samples
274
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
275
  * Approximate statistics based on the first 1000 samples:
276
+ | | anchor | positive | negative |
277
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
278
+ | type | string | string | string |
279
+ | 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.8 tokens</li><li>max: 78 tokens</li></ul> |
280
  * Samples:
281
+ | anchor | positive | negative |
282
+ |:------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------|
283
+ | <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> |
284
+ | <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> |
285
+ | <code>How can guys last longer during sex?</code> | <code>How do I last longer in sex?</code> | <code>How do you get over the fear of death while fighting a war?</code> |
286
  * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
287
  ```json
288
  {
 
295
  ### Training Hyperparameters
296
  #### Non-Default Hyperparameters
297
 
298
+ - `eval_strategy`: steps
299
+ - `per_device_train_batch_size`: 256
300
+ - `per_device_eval_batch_size`: 256
301
+ - `learning_rate`: 2e-05
302
+ - `weight_decay`: 0.001
303
+ - `max_steps`: 14060
304
+ - `warmup_ratio`: 0.1
305
  - `fp16`: True
306
+ - `dataloader_drop_last`: True
307
+ - `dataloader_num_workers`: 1
308
+ - `dataloader_prefetch_factor`: 1
309
+ - `load_best_model_at_end`: True
310
+ - `optim`: adamw_torch
311
+ - `ddp_find_unused_parameters`: False
312
+ - `push_to_hub`: True
313
+ - `hub_model_id`: redis/model-a-baseline
314
+ - `eval_on_start`: True
315
 
316
  #### All Hyperparameters
317
  <details><summary>Click to expand</summary>
318
 
319
  - `overwrite_output_dir`: False
320
  - `do_predict`: False
321
+ - `eval_strategy`: steps
322
  - `prediction_loss_only`: True
323
+ - `per_device_train_batch_size`: 256
324
+ - `per_device_eval_batch_size`: 256
325
  - `per_gpu_train_batch_size`: None
326
  - `per_gpu_eval_batch_size`: None
327
  - `gradient_accumulation_steps`: 1
328
  - `eval_accumulation_steps`: None
329
  - `torch_empty_cache_steps`: None
330
+ - `learning_rate`: 2e-05
331
+ - `weight_decay`: 0.001
332
  - `adam_beta1`: 0.9
333
  - `adam_beta2`: 0.999
334
  - `adam_epsilon`: 1e-08
335
+ - `max_grad_norm`: 1.0
336
+ - `num_train_epochs`: 3.0
337
+ - `max_steps`: 14060
338
  - `lr_scheduler_type`: linear
339
  - `lr_scheduler_kwargs`: {}
340
+ - `warmup_ratio`: 0.1
341
  - `warmup_steps`: 0
342
  - `log_level`: passive
343
  - `log_level_replica`: warning
 
365
  - `tpu_num_cores`: None
366
  - `tpu_metrics_debug`: False
367
  - `debug`: []
368
+ - `dataloader_drop_last`: True
369
+ - `dataloader_num_workers`: 1
370
+ - `dataloader_prefetch_factor`: 1
371
  - `past_index`: -1
372
  - `disable_tqdm`: False
373
  - `remove_unused_columns`: True
374
  - `label_names`: None
375
+ - `load_best_model_at_end`: True
376
  - `ignore_data_skip`: False
377
  - `fsdp`: []
378
  - `fsdp_min_num_params`: 0
 
382
  - `parallelism_config`: None
383
  - `deepspeed`: None
384
  - `label_smoothing_factor`: 0.0
385
+ - `optim`: adamw_torch
386
  - `optim_args`: None
387
  - `adafactor`: False
388
  - `group_by_length`: False
389
  - `length_column_name`: length
390
  - `project`: huggingface
391
  - `trackio_space_id`: trackio
392
+ - `ddp_find_unused_parameters`: False
393
  - `ddp_bucket_cap_mb`: None
394
  - `ddp_broadcast_buffers`: False
395
  - `dataloader_pin_memory`: True
396
  - `dataloader_persistent_workers`: False
397
  - `skip_memory_metrics`: True
398
  - `use_legacy_prediction_loop`: False
399
+ - `push_to_hub`: True
400
  - `resume_from_checkpoint`: None
401
+ - `hub_model_id`: redis/model-a-baseline
402
  - `hub_strategy`: every_save
403
  - `hub_private_repo`: None
404
  - `hub_always_push`: False
 
425
  - `neftune_noise_alpha`: None
426
  - `optim_target_modules`: None
427
  - `batch_eval_metrics`: False
428
+ - `eval_on_start`: True
429
  - `use_liger_kernel`: False
430
  - `liger_kernel_config`: None
431
  - `eval_use_gather_object`: False
432
  - `average_tokens_across_devices`: True
433
  - `prompts`: None
434
  - `batch_sampler`: batch_sampler
435
+ - `multi_dataset_batch_sampler`: proportional
436
  - `router_mapping`: {}
437
  - `learning_rate_mapping`: {}
438
 
439
  </details>
440
 
441
  ### Training Logs
442
+ <details><summary>Click to expand</summary>
 
 
 
 
 
 
 
 
 
 
443
 
444
+ | Epoch | Step | Training Loss | Validation Loss | val_cosine_ndcg@10 |
445
+ |:------:|:-----:|:-------------:|:---------------:|:------------------:|
446
+ | 0 | 0 | - | 1.6259 | 0.8045 |
447
+ | 0.0711 | 100 | 1.9587 | 0.3153 | 0.8459 |
448
+ | 0.1422 | 200 | 0.3989 | 0.1195 | 0.8675 |
449
+ | 0.2134 | 300 | 0.1957 | 0.0920 | 0.8737 |
450
+ | 0.2845 | 400 | 0.1621 | 0.0806 | 0.8766 |
451
+ | 0.3556 | 500 | 0.1425 | 0.0733 | 0.8785 |
452
+ | 0.4267 | 600 | 0.1248 | 0.0688 | 0.8799 |
453
+ | 0.4979 | 700 | 0.117 | 0.0646 | 0.8813 |
454
+ | 0.5690 | 800 | 0.1145 | 0.0616 | 0.8822 |
455
+ | 0.6401 | 900 | 0.1069 | 0.0586 | 0.8832 |
456
+ | 0.7112 | 1000 | 0.101 | 0.0571 | 0.8836 |
457
+ | 0.7824 | 1100 | 0.0981 | 0.0552 | 0.8841 |
458
+ | 0.8535 | 1200 | 0.0938 | 0.0538 | 0.8847 |
459
+ | 0.9246 | 1300 | 0.0941 | 0.0518 | 0.8856 |
460
+ | 0.9957 | 1400 | 0.0869 | 0.0505 | 0.8858 |
461
+ | 1.0669 | 1500 | 0.0811 | 0.0489 | 0.8865 |
462
+ | 1.1380 | 1600 | 0.0767 | 0.0480 | 0.8866 |
463
+ | 1.2091 | 1700 | 0.0745 | 0.0469 | 0.8869 |
464
+ | 1.2802 | 1800 | 0.0722 | 0.0466 | 0.8873 |
465
+ | 1.3514 | 1900 | 0.073 | 0.0452 | 0.8881 |
466
+ | 1.4225 | 2000 | 0.0712 | 0.0450 | 0.8879 |
467
+ | 1.4936 | 2100 | 0.067 | 0.0444 | 0.8882 |
468
+ | 1.5647 | 2200 | 0.0699 | 0.0440 | 0.8883 |
469
+ | 1.6358 | 2300 | 0.0662 | 0.0432 | 0.8885 |
470
+ | 1.7070 | 2400 | 0.0697 | 0.0421 | 0.8894 |
471
+ | 1.7781 | 2500 | 0.0685 | 0.0418 | 0.8892 |
472
+ | 1.8492 | 2600 | 0.0649 | 0.0408 | 0.8896 |
473
+ | 1.9203 | 2700 | 0.0673 | 0.0406 | 0.8895 |
474
+ | 1.9915 | 2800 | 0.065 | 0.0403 | 0.8898 |
475
+ | 2.0626 | 2900 | 0.0601 | 0.0398 | 0.8903 |
476
+ | 2.1337 | 3000 | 0.0583 | 0.0394 | 0.8904 |
477
+ | 2.2048 | 3100 | 0.0557 | 0.0388 | 0.8905 |
478
+ | 2.2760 | 3200 | 0.0588 | 0.0389 | 0.8908 |
479
+ | 2.3471 | 3300 | 0.0587 | 0.0386 | 0.8908 |
480
+ | 2.4182 | 3400 | 0.0564 | 0.0384 | 0.8907 |
481
+ | 2.4893 | 3500 | 0.0567 | 0.0384 | 0.8907 |
482
+ | 2.5605 | 3600 | 0.0562 | 0.0381 | 0.8910 |
483
+ | 2.6316 | 3700 | 0.0532 | 0.0375 | 0.8912 |
484
+ | 2.7027 | 3800 | 0.0522 | 0.0375 | 0.8912 |
485
+ | 2.7738 | 3900 | 0.0555 | 0.0377 | 0.8914 |
486
+ | 2.8450 | 4000 | 0.0518 | 0.0371 | 0.8916 |
487
+ | 2.9161 | 4100 | 0.0529 | 0.0368 | 0.8920 |
488
+ | 2.9872 | 4200 | 0.0561 | 0.0367 | 0.8921 |
489
+ | 3.0583 | 4300 | 0.052 | 0.0365 | 0.8921 |
490
+ | 3.1294 | 4400 | 0.0515 | 0.0362 | 0.8924 |
491
+ | 3.2006 | 4500 | 0.0518 | 0.0357 | 0.8926 |
492
+ | 3.2717 | 4600 | 0.0522 | 0.0358 | 0.8927 |
493
+ | 3.3428 | 4700 | 0.0524 | 0.0357 | 0.8926 |
494
+ | 3.4139 | 4800 | 0.0472 | 0.0355 | 0.8926 |
495
+ | 3.4851 | 4900 | 0.0518 | 0.0354 | 0.8929 |
496
+ | 3.5562 | 5000 | 0.0497 | 0.0352 | 0.8926 |
497
+ | 3.6273 | 5100 | 0.0502 | 0.0349 | 0.8929 |
498
+ | 3.6984 | 5200 | 0.0478 | 0.0349 | 0.8929 |
499
+ | 3.7696 | 5300 | 0.0449 | 0.0346 | 0.8936 |
500
+ | 3.8407 | 5400 | 0.0506 | 0.0347 | 0.8930 |
501
+ | 3.9118 | 5500 | 0.0502 | 0.0347 | 0.8931 |
502
+ | 3.9829 | 5600 | 0.0501 | 0.0343 | 0.8932 |
503
+ | 4.0541 | 5700 | 0.0476 | 0.0343 | 0.8936 |
504
+ | 4.1252 | 5800 | 0.046 | 0.0340 | 0.8937 |
505
+ | 4.1963 | 5900 | 0.0479 | 0.0342 | 0.8937 |
506
+ | 4.2674 | 6000 | 0.0436 | 0.0339 | 0.8939 |
507
+ | 4.3385 | 6100 | 0.046 | 0.0338 | 0.8936 |
508
+ | 4.4097 | 6200 | 0.0474 | 0.0335 | 0.8939 |
509
+ | 4.4808 | 6300 | 0.0452 | 0.0335 | 0.8938 |
510
+ | 4.5519 | 6400 | 0.043 | 0.0333 | 0.8942 |
511
+ | 4.6230 | 6500 | 0.044 | 0.0333 | 0.8944 |
512
+ | 4.6942 | 6600 | 0.0472 | 0.0331 | 0.8944 |
513
+ | 4.7653 | 6700 | 0.0426 | 0.0330 | 0.8943 |
514
+ | 4.8364 | 6800 | 0.0459 | 0.0331 | 0.8943 |
515
+ | 4.9075 | 6900 | 0.0465 | 0.0331 | 0.8945 |
516
+ | 4.9787 | 7000 | 0.0427 | 0.0328 | 0.8943 |
517
+ | 5.0498 | 7100 | 0.0395 | 0.0328 | 0.8940 |
518
+ | 5.1209 | 7200 | 0.0409 | 0.0326 | 0.8942 |
519
+ | 5.1920 | 7300 | 0.0423 | 0.0326 | 0.8943 |
520
+ | 5.2632 | 7400 | 0.0433 | 0.0327 | 0.8940 |
521
+ | 5.3343 | 7500 | 0.0434 | 0.0324 | 0.8944 |
522
+ | 5.4054 | 7600 | 0.0428 | 0.0324 | 0.8945 |
523
+ | 5.4765 | 7700 | 0.0423 | 0.0323 | 0.8945 |
524
+ | 5.5477 | 7800 | 0.0426 | 0.0323 | 0.8946 |
525
+ | 5.6188 | 7900 | 0.0425 | 0.0322 | 0.8947 |
526
+ | 5.6899 | 8000 | 0.0428 | 0.0322 | 0.8949 |
527
+ | 5.7610 | 8100 | 0.0427 | 0.0319 | 0.8950 |
528
+ | 5.8321 | 8200 | 0.0412 | 0.0323 | 0.8949 |
529
+ | 5.9033 | 8300 | 0.0424 | 0.0321 | 0.8950 |
530
+ | 5.9744 | 8400 | 0.0402 | 0.0322 | 0.8949 |
531
+ | 6.0455 | 8500 | 0.0418 | 0.0319 | 0.8950 |
532
+ | 6.1166 | 8600 | 0.0391 | 0.0318 | 0.8952 |
533
+ | 6.1878 | 8700 | 0.0409 | 0.0317 | 0.8948 |
534
+ | 6.2589 | 8800 | 0.0386 | 0.0316 | 0.8949 |
535
+ | 6.3300 | 8900 | 0.0401 | 0.0318 | 0.8950 |
536
+ | 6.4011 | 9000 | 0.0413 | 0.0317 | 0.8950 |
537
+ | 6.4723 | 9100 | 0.0392 | 0.0315 | 0.8951 |
538
+ | 6.5434 | 9200 | 0.0418 | 0.0317 | 0.8947 |
539
+ | 6.6145 | 9300 | 0.0416 | 0.0316 | 0.8949 |
540
+ | 6.6856 | 9400 | 0.0394 | 0.0315 | 0.8948 |
541
+ | 6.7568 | 9500 | 0.0388 | 0.0314 | 0.8949 |
542
+ | 6.8279 | 9600 | 0.0389 | 0.0313 | 0.8951 |
543
+ | 6.8990 | 9700 | 0.0409 | 0.0314 | 0.8952 |
544
+ | 6.9701 | 9800 | 0.043 | 0.0312 | 0.8953 |
545
+ | 7.0413 | 9900 | 0.04 | 0.0313 | 0.8952 |
546
+ | 7.1124 | 10000 | 0.0384 | 0.0313 | 0.8951 |
547
+ | 7.1835 | 10100 | 0.0402 | 0.0313 | 0.8951 |
548
+ | 7.2546 | 10200 | 0.04 | 0.0312 | 0.8955 |
549
+ | 7.3257 | 10300 | 0.0378 | 0.0311 | 0.8953 |
550
+ | 7.3969 | 10400 | 0.0377 | 0.0310 | 0.8954 |
551
+ | 7.4680 | 10500 | 0.0381 | 0.0310 | 0.8955 |
552
+ | 7.5391 | 10600 | 0.0378 | 0.0310 | 0.8955 |
553
+ | 7.6102 | 10700 | 0.0381 | 0.0311 | 0.8953 |
554
+ | 7.6814 | 10800 | 0.0379 | 0.0310 | 0.8955 |
555
+ | 7.7525 | 10900 | 0.0409 | 0.0311 | 0.8952 |
556
+ | 7.8236 | 11000 | 0.0402 | 0.0309 | 0.8957 |
557
+ | 7.8947 | 11100 | 0.0381 | 0.0308 | 0.8954 |
558
+ | 7.9659 | 11200 | 0.0378 | 0.0308 | 0.8954 |
559
+ | 8.0370 | 11300 | 0.0404 | 0.0309 | 0.8955 |
560
+ | 8.1081 | 11400 | 0.0373 | 0.0308 | 0.8957 |
561
+ | 8.1792 | 11500 | 0.0365 | 0.0308 | 0.8955 |
562
+ | 8.2504 | 11600 | 0.0355 | 0.0308 | 0.8954 |
563
+ | 8.3215 | 11700 | 0.0395 | 0.0307 | 0.8952 |
564
+ | 8.3926 | 11800 | 0.0389 | 0.0307 | 0.8953 |
565
+ | 8.4637 | 11900 | 0.0383 | 0.0308 | 0.8952 |
566
+ | 8.5349 | 12000 | 0.036 | 0.0307 | 0.8954 |
567
+ | 8.6060 | 12100 | 0.0388 | 0.0307 | 0.8955 |
568
+ | 8.6771 | 12200 | 0.0356 | 0.0307 | 0.8955 |
569
+ | 8.7482 | 12300 | 0.0379 | 0.0306 | 0.8957 |
570
+ | 8.8193 | 12400 | 0.0379 | 0.0306 | 0.8956 |
571
+ | 8.8905 | 12500 | 0.0366 | 0.0305 | 0.8956 |
572
+ | 8.9616 | 12600 | 0.038 | 0.0305 | 0.8957 |
573
+ | 9.0327 | 12700 | 0.0378 | 0.0305 | 0.8957 |
574
+ | 9.1038 | 12800 | 0.0359 | 0.0306 | 0.8956 |
575
+ | 9.1750 | 12900 | 0.0385 | 0.0305 | 0.8955 |
576
+ | 9.2461 | 13000 | 0.0374 | 0.0305 | 0.8956 |
577
+ | 9.3172 | 13100 | 0.0396 | 0.0305 | 0.8956 |
578
+ | 9.3883 | 13200 | 0.0379 | 0.0305 | 0.8956 |
579
+ | 9.4595 | 13300 | 0.0366 | 0.0305 | 0.8957 |
580
+ | 9.5306 | 13400 | 0.0378 | 0.0305 | 0.8956 |
581
+ | 9.6017 | 13500 | 0.0363 | 0.0305 | 0.8956 |
582
+ | 9.6728 | 13600 | 0.0372 | 0.0305 | 0.8956 |
583
+ | 9.7440 | 13700 | 0.0405 | 0.0305 | 0.8957 |
584
+ | 9.8151 | 13800 | 0.039 | 0.0305 | 0.8957 |
585
+ | 9.8862 | 13900 | 0.0375 | 0.0304 | 0.8956 |
586
+ | 9.9573 | 14000 | 0.0396 | 0.0304 | 0.8957 |
587
+
588
+ </details>
589
 
590
  ### Framework Versions
591
  - Python: 3.10.18