radoslavralev commited on
Commit
1644761
·
verified ·
1 Parent(s): 18e62c8

Training in progress, step 12000

Browse files
1_Pooling/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "word_embedding_dimension": 768,
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,
 
1
  {
2
+ "word_embedding_dimension": 512,
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,
Information-Retrieval_evaluation_val_results.csv CHANGED
@@ -10,3 +10,4 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Precisi
10
  -1,-1,0.8288,0.899775,0.925775,0.8288,0.8288,0.29992499999999994,0.899775,0.185155,0.925775,0.8288,0.8661879166666627,0.8703450396825356,0.8910978019383597,0.8726020537429935
11
  -1,-1,0.826575,0.900725,0.92805,0.826575,0.826575,0.30024166666666663,0.900725,0.18561000000000002,0.92805,0.826575,0.8658308333333287,0.8701137103174557,0.891705546917102,0.8723575730144177
12
  -1,-1,0.82585,0.902175,0.930075,0.82585,0.82585,0.30072499999999996,0.902175,0.186015,0.930075,0.82585,0.8661279166666617,0.8703281448412645,0.8922105025555344,0.8724788643099791
 
 
10
  -1,-1,0.8288,0.899775,0.925775,0.8288,0.8288,0.29992499999999994,0.899775,0.185155,0.925775,0.8288,0.8661879166666627,0.8703450396825356,0.8910978019383597,0.8726020537429935
11
  -1,-1,0.826575,0.900725,0.92805,0.826575,0.826575,0.30024166666666663,0.900725,0.18561000000000002,0.92805,0.826575,0.8658308333333287,0.8701137103174557,0.891705546917102,0.8723575730144177
12
  -1,-1,0.82585,0.902175,0.930075,0.82585,0.82585,0.30072499999999996,0.902175,0.186015,0.930075,0.82585,0.8661279166666617,0.8703281448412645,0.8922105025555344,0.8724788643099791
13
+ -1,-1,0.00065,0.7986,0.880825,0.00065,0.00065,0.26619999999999994,0.7986,0.17616500000000002,0.880825,0.00065,0.288667083333407,0.2951483234127803,0.45147470340355694,0.2980051496600344
README.md CHANGED
@@ -5,124 +5,51 @@ tags:
5
  - feature-extraction
6
  - dense
7
  - generated_from_trainer
8
- - dataset_size:359997
9
  - loss:MultipleNegativesRankingLoss
10
- base_model: google/embeddinggemma-300m
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 google/embeddinggemma-300m
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.00065
73
- name: Cosine Accuracy@1
74
- - type: cosine_accuracy@3
75
- value: 0.7986
76
- name: Cosine Accuracy@3
77
- - type: cosine_accuracy@5
78
- value: 0.880825
79
- name: Cosine Accuracy@5
80
- - type: cosine_precision@1
81
- value: 0.00065
82
- name: Cosine Precision@1
83
- - type: cosine_precision@3
84
- value: 0.26619999999999994
85
- name: Cosine Precision@3
86
- - type: cosine_precision@5
87
- value: 0.17616500000000002
88
- name: Cosine Precision@5
89
- - type: cosine_recall@1
90
- value: 0.00065
91
- name: Cosine Recall@1
92
- - type: cosine_recall@3
93
- value: 0.7986
94
- name: Cosine Recall@3
95
- - type: cosine_recall@5
96
- value: 0.880825
97
- name: Cosine Recall@5
98
- - type: cosine_ndcg@10
99
- value: 0.45147470340355694
100
- name: Cosine Ndcg@10
101
- - type: cosine_mrr@1
102
- value: 0.00065
103
- name: Cosine Mrr@1
104
- - type: cosine_mrr@5
105
- value: 0.288667083333407
106
- name: Cosine Mrr@5
107
- - type: cosine_mrr@10
108
- value: 0.2951483234127803
109
- name: Cosine Mrr@10
110
- - type: cosine_map@100
111
- value: 0.2980051496600344
112
- name: Cosine Map@100
113
  ---
114
 
115
- # SentenceTransformer based on google/embeddinggemma-300m
116
 
117
- This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [google/embeddinggemma-300m](https://huggingface.co/google/embeddinggemma-300m). 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.
118
 
119
  ## Model Details
120
 
121
  ### Model Description
122
  - **Model Type:** Sentence Transformer
123
- - **Base model:** [google/embeddinggemma-300m](https://huggingface.co/google/embeddinggemma-300m) <!-- at revision 57c266a740f537b4dc058e1b0cda161fd15afa75 -->
124
  - **Maximum Sequence Length:** 128 tokens
125
- - **Output Dimensionality:** 768 dimensions
126
  - **Similarity Function:** Cosine Similarity
127
  <!-- - **Training Dataset:** Unknown -->
128
  <!-- - **Language:** Unknown -->
@@ -138,11 +65,8 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [g
138
 
139
  ```
140
  SentenceTransformer(
141
- (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'Gemma3TextModel'})
142
- (1): Pooling({'word_embedding_dimension': 768, '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})
143
- (2): Dense({'in_features': 768, 'out_features': 3072, 'bias': False, 'activation_function': 'torch.nn.modules.linear.Identity'})
144
- (3): Dense({'in_features': 3072, 'out_features': 768, 'bias': False, 'activation_function': 'torch.nn.modules.linear.Identity'})
145
- (4): Normalize()
146
  )
147
  ```
148
 
@@ -161,25 +85,23 @@ Then you can load this model and run inference.
161
  from sentence_transformers import SentenceTransformer
162
 
163
  # Download from the 🤗 Hub
164
- model = SentenceTransformer("redis/model-a-baseline")
165
  # Run inference
166
- queries = [
167
- "How do you earn money on Quora?",
 
 
168
  ]
169
- documents = [
170
- 'What is the best way to make money on Quora?',
171
- 'What are some things new employees should know going into their first day at Maximus?',
172
- 'What is a cheap healthy diet I can keep the same and eat every day?',
173
- ]
174
- query_embeddings = model.encode_query(queries)
175
- document_embeddings = model.encode_document(documents)
176
- print(query_embeddings.shape, document_embeddings.shape)
177
- # [1, 768] [3, 768]
178
 
179
  # Get the similarity scores for the embeddings
180
- similarities = model.similarity(query_embeddings, document_embeddings)
181
  print(similarities)
182
- # tensor([[ 0.9829, -0.0321, -0.0412]])
 
 
183
  ```
184
 
185
  <!--
@@ -206,32 +128,6 @@ You can finetune this model on your own dataset.
206
  *List how the model may foreseeably be misused and address what users ought not to do with the model.*
207
  -->
208
 
209
- ## Evaluation
210
-
211
- ### Metrics
212
-
213
- #### Information Retrieval
214
-
215
- * Dataset: `val`
216
- * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
217
-
218
- | Metric | Value |
219
- |:-------------------|:-----------|
220
- | cosine_accuracy@1 | 0.0006 |
221
- | cosine_accuracy@3 | 0.7986 |
222
- | cosine_accuracy@5 | 0.8808 |
223
- | cosine_precision@1 | 0.0006 |
224
- | cosine_precision@3 | 0.2662 |
225
- | cosine_precision@5 | 0.1762 |
226
- | cosine_recall@1 | 0.0006 |
227
- | cosine_recall@3 | 0.7986 |
228
- | cosine_recall@5 | 0.8808 |
229
- | **cosine_ndcg@10** | **0.4515** |
230
- | cosine_mrr@1 | 0.0006 |
231
- | cosine_mrr@5 | 0.2887 |
232
- | cosine_mrr@10 | 0.2951 |
233
- | cosine_map@100 | 0.298 |
234
-
235
  <!--
236
  ## Bias, Risks and Limitations
237
 
@@ -250,49 +146,23 @@ You can finetune this model on your own dataset.
250
 
251
  #### Unnamed Dataset
252
 
253
- * Size: 359,997 training samples
254
- * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
255
- * Approximate statistics based on the first 1000 samples:
256
- | | anchor | positive | negative |
257
- |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
258
- | type | string | string | string |
259
- | details | <ul><li>min: 4 tokens</li><li>mean: 15.38 tokens</li><li>max: 60 tokens</li></ul> | <ul><li>min: 4 tokens</li><li>mean: 15.48 tokens</li><li>max: 60 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 16.77 tokens</li><li>max: 128 tokens</li></ul> |
260
- * Samples:
261
- | anchor | positive | negative |
262
- |:--------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------|
263
- | <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> |
264
- | <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> |
265
- | <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> |
266
- * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
267
- ```json
268
- {
269
- "scale": 7.0,
270
- "similarity_fct": "cos_sim",
271
- "gather_across_devices": false
272
- }
273
- ```
274
-
275
- ### Evaluation Dataset
276
-
277
- #### Unnamed Dataset
278
-
279
- * Size: 40,000 evaluation samples
280
- * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
281
  * Approximate statistics based on the first 1000 samples:
282
- | | anchor | positive | negative |
283
- |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
284
- | type | string | string | string |
285
- | details | <ul><li>min: 6 tokens</li><li>mean: 15.61 tokens</li><li>max: 70 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.66 tokens</li><li>max: 70 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.81 tokens</li><li>max: 77 tokens</li></ul> |
286
  * Samples:
287
- | anchor | positive | negative |
288
- |:------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------|
289
- | <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> |
290
- | <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> |
291
- | <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> |
292
  * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
293
  ```json
294
  {
295
- "scale": 7.0,
296
  "similarity_fct": "cos_sim",
297
  "gather_across_devices": false
298
  }
@@ -301,30 +171,17 @@ You can finetune this model on your own dataset.
301
  ### Training Hyperparameters
302
  #### Non-Default Hyperparameters
303
 
304
- - `eval_strategy`: steps
305
  - `per_device_train_batch_size`: 64
306
  - `per_device_eval_batch_size`: 64
307
- - `learning_rate`: 2e-05
308
- - `weight_decay`: 0.0001
309
- - `max_steps`: 5000
310
- - `warmup_ratio`: 0.1
311
  - `fp16`: True
312
- - `dataloader_drop_last`: True
313
- - `dataloader_num_workers`: 1
314
- - `dataloader_prefetch_factor`: 1
315
- - `load_best_model_at_end`: True
316
- - `optim`: adamw_torch
317
- - `ddp_find_unused_parameters`: False
318
- - `push_to_hub`: True
319
- - `hub_model_id`: redis/model-a-baseline
320
- - `eval_on_start`: True
321
 
322
  #### All Hyperparameters
323
  <details><summary>Click to expand</summary>
324
 
325
  - `overwrite_output_dir`: False
326
  - `do_predict`: False
327
- - `eval_strategy`: steps
328
  - `prediction_loss_only`: True
329
  - `per_device_train_batch_size`: 64
330
  - `per_device_eval_batch_size`: 64
@@ -333,17 +190,17 @@ You can finetune this model on your own dataset.
333
  - `gradient_accumulation_steps`: 1
334
  - `eval_accumulation_steps`: None
335
  - `torch_empty_cache_steps`: None
336
- - `learning_rate`: 2e-05
337
- - `weight_decay`: 0.0001
338
  - `adam_beta1`: 0.9
339
  - `adam_beta2`: 0.999
340
  - `adam_epsilon`: 1e-08
341
- - `max_grad_norm`: 1.0
342
- - `num_train_epochs`: 3.0
343
- - `max_steps`: 5000
344
  - `lr_scheduler_type`: linear
345
  - `lr_scheduler_kwargs`: {}
346
- - `warmup_ratio`: 0.1
347
  - `warmup_steps`: 0
348
  - `log_level`: passive
349
  - `log_level_replica`: warning
@@ -371,14 +228,14 @@ You can finetune this model on your own dataset.
371
  - `tpu_num_cores`: None
372
  - `tpu_metrics_debug`: False
373
  - `debug`: []
374
- - `dataloader_drop_last`: True
375
- - `dataloader_num_workers`: 1
376
- - `dataloader_prefetch_factor`: 1
377
  - `past_index`: -1
378
  - `disable_tqdm`: False
379
  - `remove_unused_columns`: True
380
  - `label_names`: None
381
- - `load_best_model_at_end`: True
382
  - `ignore_data_skip`: False
383
  - `fsdp`: []
384
  - `fsdp_min_num_params`: 0
@@ -388,23 +245,23 @@ You can finetune this model on your own dataset.
388
  - `parallelism_config`: None
389
  - `deepspeed`: None
390
  - `label_smoothing_factor`: 0.0
391
- - `optim`: adamw_torch
392
  - `optim_args`: None
393
  - `adafactor`: False
394
  - `group_by_length`: False
395
  - `length_column_name`: length
396
  - `project`: huggingface
397
  - `trackio_space_id`: trackio
398
- - `ddp_find_unused_parameters`: False
399
  - `ddp_bucket_cap_mb`: None
400
  - `ddp_broadcast_buffers`: False
401
  - `dataloader_pin_memory`: True
402
  - `dataloader_persistent_workers`: False
403
  - `skip_memory_metrics`: True
404
  - `use_legacy_prediction_loop`: False
405
- - `push_to_hub`: True
406
  - `resume_from_checkpoint`: None
407
- - `hub_model_id`: redis/model-a-baseline
408
  - `hub_strategy`: every_save
409
  - `hub_private_repo`: None
410
  - `hub_always_push`: False
@@ -431,43 +288,31 @@ You can finetune this model on your own dataset.
431
  - `neftune_noise_alpha`: None
432
  - `optim_target_modules`: None
433
  - `batch_eval_metrics`: False
434
- - `eval_on_start`: True
435
  - `use_liger_kernel`: False
436
  - `liger_kernel_config`: None
437
  - `eval_use_gather_object`: False
438
  - `average_tokens_across_devices`: True
439
  - `prompts`: None
440
  - `batch_sampler`: batch_sampler
441
- - `multi_dataset_batch_sampler`: proportional
442
  - `router_mapping`: {}
443
  - `learning_rate_mapping`: {}
444
 
445
  </details>
446
 
447
  ### Training Logs
448
- | Epoch | Step | Training Loss | Validation Loss | val_cosine_ndcg@10 |
449
- |:------:|:----:|:-------------:|:---------------:|:------------------:|
450
- | 0 | 0 | - | 0.9732 | 0.8903 |
451
- | 0.0445 | 250 | 0.3014 | 0.2430 | 0.8863 |
452
- | 0.0889 | 500 | 0.2442 | 0.2489 | 0.8875 |
453
- | 0.1334 | 750 | 0.2504 | nan | 0.0293 |
454
- | 0.1778 | 1000 | 0.2492 | nan | 0.8871 |
455
- | 0.2223 | 1250 | 0.2676 | nan | 0.4514 |
456
- | 0.2667 | 1500 | 0.2804 | nan | 0.4514 |
457
- | 0.3112 | 1750 | 0.2782 | nan | 0.4514 |
458
- | 0.3556 | 2000 | 0.28 | nan | 0.4515 |
459
- | 0.4001 | 2250 | 0.2814 | nan | 0.4515 |
460
- | 0.4445 | 2500 | 0.2758 | nan | 0.4515 |
461
- | 0.4890 | 2750 | 0.2792 | nan | 0.4515 |
462
- | 0.5334 | 3000 | 0.2807 | nan | 0.4515 |
463
- | 0.5779 | 3250 | 0.282 | nan | 0.4515 |
464
- | 0.6223 | 3500 | 0.2785 | nan | 0.4515 |
465
- | 0.6668 | 3750 | 0.28 | nan | 0.4515 |
466
- | 0.7112 | 4000 | 0.2813 | nan | 0.4515 |
467
- | 0.7557 | 4250 | 0.2823 | nan | 0.4515 |
468
- | 0.8001 | 4500 | 0.2791 | nan | 0.4515 |
469
- | 0.8446 | 4750 | 0.2789 | nan | 0.4515 |
470
- | 0.8890 | 5000 | 0.282 | nan | 0.4515 |
471
 
472
 
473
  ### Framework Versions
 
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
43
 
44
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [prajjwal1/bert-small](https://huggingface.co/prajjwal1/bert-small). It maps sentences & paragraphs to a 512-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
45
 
46
  ## Model Details
47
 
48
  ### Model Description
49
  - **Model Type:** Sentence Transformer
50
+ - **Base model:** [prajjwal1/bert-small](https://huggingface.co/prajjwal1/bert-small) <!-- at revision 0ec5f86f27c1a77d704439db5e01c307ea11b9d4 -->
51
  - **Maximum Sequence Length:** 128 tokens
52
+ - **Output Dimensionality:** 512 dimensions
53
  - **Similarity Function:** Cosine Similarity
54
  <!-- - **Training Dataset:** Unknown -->
55
  <!-- - **Language:** Unknown -->
 
65
 
66
  ```
67
  SentenceTransformer(
68
+ (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
69
+ (1): Pooling({'word_embedding_dimension': 512, '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})
 
 
 
70
  )
71
  ```
72
 
 
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)
97
+ # [3, 512]
 
 
 
 
 
 
98
 
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
  *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
 
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
  ### 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
 
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
  - `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
  - `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
  - `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
config.json CHANGED
@@ -1,60 +1,25 @@
1
  {
2
- "_sliding_window_pattern": 6,
3
  "architectures": [
4
- "Gemma3TextModel"
5
  ],
6
- "attention_bias": false,
7
- "attention_dropout": 0.0,
8
- "attn_logit_softcapping": null,
9
- "bos_token_id": 2,
10
  "dtype": "float32",
11
- "eos_token_id": 1,
12
- "final_logit_softcapping": null,
13
- "head_dim": 256,
14
- "hidden_activation": "gelu_pytorch_tanh",
15
- "hidden_size": 768,
16
  "initializer_range": 0.02,
17
- "intermediate_size": 1152,
18
- "layer_types": [
19
- "sliding_attention",
20
- "sliding_attention",
21
- "sliding_attention",
22
- "sliding_attention",
23
- "sliding_attention",
24
- "full_attention",
25
- "sliding_attention",
26
- "sliding_attention",
27
- "sliding_attention",
28
- "sliding_attention",
29
- "sliding_attention",
30
- "full_attention",
31
- "sliding_attention",
32
- "sliding_attention",
33
- "sliding_attention",
34
- "sliding_attention",
35
- "sliding_attention",
36
- "full_attention",
37
- "sliding_attention",
38
- "sliding_attention",
39
- "sliding_attention",
40
- "sliding_attention",
41
- "sliding_attention",
42
- "full_attention"
43
- ],
44
- "max_position_embeddings": 2048,
45
- "model_type": "gemma3_text",
46
- "num_attention_heads": 3,
47
- "num_hidden_layers": 24,
48
- "num_key_value_heads": 1,
49
  "pad_token_id": 0,
50
- "query_pre_attn_scalar": 256,
51
- "rms_norm_eps": 1e-06,
52
- "rope_local_base_freq": 10000.0,
53
- "rope_scaling": null,
54
- "rope_theta": 1000000.0,
55
- "sliding_window": 257,
56
  "transformers_version": "4.57.3",
57
- "use_bidirectional_attention": true,
58
  "use_cache": true,
59
- "vocab_size": 262144
60
  }
 
1
  {
 
2
  "architectures": [
3
+ "BertModel"
4
  ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
 
 
7
  "dtype": "float32",
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
 
12
  "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
 
 
 
 
 
21
  "transformers_version": "4.57.3",
22
+ "type_vocab_size": 2,
23
  "use_cache": true,
24
+ "vocab_size": 30522
25
  }
config_sentence_transformers.json CHANGED
@@ -6,20 +6,8 @@
6
  "pytorch": "2.9.1+cu128"
7
  },
8
  "prompts": {
9
- "query": "task: search result | query: ",
10
- "document": "title: none | text: ",
11
- "BitextMining": "task: search result | query: ",
12
- "Clustering": "task: clustering | query: ",
13
- "Classification": "task: classification | query: ",
14
- "InstructionRetrieval": "task: code retrieval | query: ",
15
- "MultilabelClassification": "task: classification | query: ",
16
- "PairClassification": "task: sentence similarity | query: ",
17
- "Reranking": "task: search result | query: ",
18
- "Retrieval": "task: search result | query: ",
19
- "Retrieval-query": "task: search result | query: ",
20
- "Retrieval-document": "title: none | text: ",
21
- "STS": "task: sentence similarity | query: ",
22
- "Summarization": "task: summarization | query: "
23
  },
24
  "default_prompt_name": null,
25
  "similarity_fn_name": "cosine"
 
6
  "pytorch": "2.9.1+cu128"
7
  },
8
  "prompts": {
9
+ "query": "",
10
+ "document": ""
 
 
 
 
 
 
 
 
 
 
 
 
11
  },
12
  "default_prompt_name": null,
13
  "similarity_fn_name": "cosine"
eval/Information-Retrieval_evaluation_val_results.csv CHANGED
@@ -818,3 +818,52 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Precisi
818
  0.8001422475106685,4500,0.00065,0.7986,0.880825,0.00065,0.00065,0.26619999999999994,0.7986,0.17616500000000002,0.880825,0.00065,0.288667083333407,0.2951483234127803,0.45147470340355694,0.2980051496600344
819
  0.8445945945945946,4750,0.00065,0.7986,0.880825,0.00065,0.00065,0.26619999999999994,0.7986,0.17616500000000002,0.880825,0.00065,0.288667083333407,0.2951483234127803,0.45147470340355694,0.2980051496600344
820
  0.8890469416785206,5000,0.00065,0.7986,0.880825,0.00065,0.00065,0.26619999999999994,0.7986,0.17616500000000002,0.880825,0.00065,0.288667083333407,0.2951483234127803,0.45147470340355694,0.2980051496600344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
818
  0.8001422475106685,4500,0.00065,0.7986,0.880825,0.00065,0.00065,0.26619999999999994,0.7986,0.17616500000000002,0.880825,0.00065,0.288667083333407,0.2951483234127803,0.45147470340355694,0.2980051496600344
819
  0.8445945945945946,4750,0.00065,0.7986,0.880825,0.00065,0.00065,0.26619999999999994,0.7986,0.17616500000000002,0.880825,0.00065,0.288667083333407,0.2951483234127803,0.45147470340355694,0.2980051496600344
820
  0.8890469416785206,5000,0.00065,0.7986,0.880825,0.00065,0.00065,0.26619999999999994,0.7986,0.17616500000000002,0.880825,0.00065,0.288667083333407,0.2951483234127803,0.45147470340355694,0.2980051496600344
821
+ 0,0,0.83175,0.903975,0.928825,0.83175,0.83175,0.3013249999999999,0.903975,0.185765,0.928825,0.83175,0.8696037499999943,0.8736409623015803,0.8942125677045817,0.8758019595132278
822
+ 0.17780938833570412,250,0.8298,0.901375,0.9263,0.8298,0.8298,0.30045833333333327,0.901375,0.18526,0.9263,0.8298,0.8672679166666633,0.871277857142852,0.8917710037156674,0.8735051857910221
823
+ 0.35561877667140823,500,0.829425,0.9009,0.924475,0.829425,0.829425,0.30029999999999996,0.9009,0.184895,0.924475,0.829425,0.8666179166666625,0.8707307837301547,0.8910529119995637,0.8730143621228817
824
+ 0.5334281650071123,750,0.829525,0.9008,0.924625,0.829525,0.829525,0.3002666666666666,0.9008,0.18492500000000003,0.924625,0.829525,0.8665862499999952,0.8706709126984068,0.8909881032602778,0.8729676890722908
825
+ 0.7112375533428165,1000,0.82945,0.9004,0.9248,0.82945,0.82945,0.3001333333333333,0.9004,0.18495999999999999,0.9248,0.82945,0.8666070833333291,0.8706706746031699,0.8909814879426163,0.8729971704579322
826
+ 0.8890469416785206,1250,0.828825,0.89945,0.9248,0.828825,0.828825,0.2998166666666666,0.89945,0.18496000000000004,0.9248,0.828825,0.8660399999999953,0.8701422023809464,0.8906698796585799,0.872440351264829
827
+ 1.0668563300142249,1500,0.828325,0.899425,0.925175,0.828325,0.828325,0.29980833333333323,0.899425,0.18503500000000003,0.925175,0.828325,0.8658666666666628,0.8699482440476135,0.8906064784084294,0.8722410872423765
828
+ 1.2446657183499288,1750,0.829,0.899575,0.9252,0.829,0.829,0.2998583333333333,0.899575,0.18504000000000007,0.9252,0.829,0.8661520833333282,0.8703107043650742,0.8909704705166476,0.8726021051327861
829
+ 1.422475106685633,2000,0.828125,0.899475,0.924875,0.828125,0.828125,0.299825,0.899475,0.18497500000000006,0.924875,0.828125,0.8655224999999951,0.8696983928571376,0.8904182641298983,0.8720281345427299
830
+ 1.600284495021337,2250,0.828125,0.8996,0.9256,0.828125,0.828125,0.29986666666666667,0.8996,0.18512000000000003,0.9256,0.828125,0.8658949999999959,0.8700507043650736,0.8909141261388864,0.8723249622424765
831
+ 1.7780938833570412,2500,0.8284,0.89975,0.92525,0.8284,0.8284,0.2999166666666666,0.89975,0.18505000000000002,0.92525,0.8284,0.8659133333333284,0.8701298015872949,0.8909826453993707,0.8724114097634953
832
+ 1.9559032716927454,2750,0.8284,0.899625,0.92565,0.8284,0.8284,0.29987499999999995,0.899625,0.18513000000000004,0.92565,0.8284,0.8658908333333284,0.8700691567460257,0.8909817662470981,0.8723517690381816
833
+ 2.1337126600284497,3000,0.82815,0.899175,0.925225,0.82815,0.82815,0.299725,0.899175,0.18504500000000002,0.925225,0.82815,0.8656183333333282,0.8698032936507867,0.8906445442171722,0.8721210376144165
834
+ 2.3115220483641536,3250,0.828725,0.89985,0.925725,0.828725,0.828725,0.29994999999999994,0.89985,0.185145,0.925725,0.828725,0.8661716666666621,0.8703707539682477,0.8912340046527859,0.872660098072118
835
+ 2.4893314366998576,3500,0.828275,0.8994,0.925475,0.828275,0.828275,0.29979999999999996,0.8994,0.18509500000000004,0.925475,0.828275,0.8656466666666616,0.8698591170634867,0.8907648949594115,0.87219205242926
836
+ 2.667140825035562,3750,0.8283,0.89875,0.9253,0.8283,0.8283,0.2995833333333333,0.89875,0.18506000000000003,0.9253,0.8283,0.8656337499999947,0.8699330952380903,0.8909264696431981,0.8722177974435448
837
+ 2.844950213371266,4000,0.82835,0.8994,0.92555,0.82835,0.82835,0.2997999999999999,0.8994,0.18511,0.92555,0.82835,0.8658199999999949,0.8701035515872961,0.8910883504036013,0.8723985335287471
838
+ 3.0227596017069702,4250,0.82825,0.8996,0.9263,0.82825,0.82825,0.29986666666666667,0.8996,0.18526,0.9263,0.82825,0.8659529166666614,0.8701048511904707,0.8910734609029339,0.8724252490135679
839
+ 3.200568990042674,4500,0.8277,0.899675,0.9266,0.8277,0.8277,0.29989166666666667,0.899675,0.18532000000000004,0.9266,0.8277,0.8657191666666609,0.8698755753968195,0.8909808746095252,0.8721680969534944
840
+ 3.3783783783783785,4750,0.82785,0.89975,0.92645,0.82785,0.82785,0.29991666666666666,0.89975,0.18529000000000004,0.92645,0.82785,0.8657941666666611,0.8699176984126923,0.8909228072077822,0.8722519939581889
841
+ 3.5561877667140824,5000,0.8281,0.899425,0.9263,0.8281,0.8281,0.2998083333333333,0.899425,0.18526000000000006,0.9263,0.8281,0.8657945833333274,0.8699932638888828,0.8910608683159033,0.8723111498240054
842
+ 3.733997155049787,5250,0.828,0.89925,0.926475,0.828,0.828,0.29974999999999996,0.89925,0.18529500000000002,0.926475,0.828,0.865916249999995,0.8701195634920589,0.8912279872499286,0.8724104724821727
843
+ 3.9118065433854907,5500,0.828375,0.899675,0.9263,0.828375,0.828375,0.2998916666666666,0.899675,0.18526,0.9263,0.828375,0.8660124999999942,0.870194007936502,0.8911974141937964,0.872517170678436
844
+ 4.089615931721195,5750,0.82815,0.8999,0.926625,0.82815,0.82815,0.2999666666666666,0.8999,0.18532500000000002,0.926625,0.82815,0.8661049999999954,0.8702374900793608,0.8912279100182797,0.8725786528407918
845
+ 4.2674253200568995,6000,0.827875,0.89955,0.9264,0.827875,0.827875,0.2998499999999999,0.89955,0.18528000000000003,0.9264,0.827875,0.8658287499999946,0.8700195932539642,0.8911118555195989,0.8723399615981953
846
+ 4.445234708392603,6250,0.828075,0.9002,0.926475,0.828075,0.828075,0.30006666666666665,0.9002,0.18529500000000002,0.926475,0.828075,0.866062083333328,0.8703042460317422,0.8914192358779078,0.8726139945581133
847
+ 4.623044096728307,6500,0.82815,0.9002,0.9268,0.82815,0.82815,0.3000666666666666,0.9002,0.18536000000000002,0.9268,0.82815,0.8661799999999951,0.8703642460317412,0.8914384292682349,0.8726787629715127
848
+ 4.800853485064011,6750,0.82815,0.900375,0.926775,0.82815,0.82815,0.300125,0.900375,0.18535500000000002,0.926775,0.82815,0.8662083333333293,0.870440942460312,0.8916079401774063,0.8727270914730314
849
+ 4.978662873399715,7000,0.828175,0.900325,0.9269,0.828175,0.828175,0.30010833333333325,0.900325,0.18538000000000002,0.9269,0.828175,0.866215833333329,0.8703757638888837,0.8914345869423077,0.8727073322059316
850
+ 5.15647226173542,7250,0.828125,0.9003,0.927,0.828125,0.828125,0.3000999999999999,0.9003,0.1854,0.927,0.828125,0.8662441666666615,0.8704108333333277,0.8914839027483926,0.8727429892775405
851
+ 5.334281650071124,7500,0.82835,0.9005,0.9271,0.82835,0.82835,0.30016666666666664,0.9005,0.18542000000000003,0.9271,0.82835,0.8664845833333292,0.870711855158725,0.8918662873245725,0.8729953191357858
852
+ 5.512091038406828,7750,0.828025,0.9003,0.9266,0.828025,0.828025,0.3001,0.9003,0.18532000000000004,0.9266,0.828025,0.866135833333329,0.8704414285714227,0.8916759547261216,0.8727139575100616
853
+ 5.689900426742532,8000,0.828,0.90035,0.92695,0.828,0.828,0.3001166666666666,0.90035,0.18539000000000003,0.92695,0.828,0.8662174999999955,0.8704429861111054,0.8916180877077008,0.8727453218360391
854
+ 5.867709815078236,8250,0.827825,0.900425,0.92715,0.827825,0.827825,0.3001416666666666,0.900425,0.18543,0.92715,0.827825,0.8662124999999951,0.8704174801587243,0.8915933814560918,0.8727258542799402
855
+ 6.0455192034139404,8500,0.828,0.900575,0.927025,0.828,0.828,0.3001916666666666,0.900575,0.18540500000000001,0.927025,0.828,0.8662441666666627,0.8704399900793606,0.8915614826595735,0.8727748598025921
856
+ 6.223328591749644,8750,0.8279,0.90035,0.92635,0.8279,0.8279,0.3001166666666666,0.90035,0.18527000000000002,0.92635,0.8279,0.8660104166666617,0.8702868551587247,0.8914372805079627,0.8726103535171617
857
+ 6.401137980085348,9000,0.8281,0.900375,0.92675,0.8281,0.8281,0.300125,0.900375,0.18535000000000004,0.92675,0.8281,0.866213333333329,0.8704590277777723,0.8916245077673864,0.8727687702395993
858
+ 6.578947368421053,9250,0.82765,0.9004,0.927175,0.82765,0.82765,0.3001333333333333,0.9004,0.18543500000000002,0.927175,0.82765,0.8661099999999957,0.8703067559523755,0.8915377883823766,0.872607454746048
859
+ 6.756756756756757,9500,0.82765,0.900575,0.926725,0.82765,0.82765,0.3001916666666666,0.900575,0.185345,0.926725,0.82765,0.8659654166666624,0.8702720138888835,0.8915565456654305,0.8725550336297769
860
+ 6.934566145092461,9750,0.827975,0.900575,0.927175,0.827975,0.827975,0.3001916666666666,0.900575,0.18543500000000004,0.927175,0.827975,0.8662537499999953,0.8704973809523754,0.8917383936706421,0.8727792761081553
861
+ 7.112375533428165,10000,0.82785,0.9008,0.927025,0.82785,0.82785,0.3002666666666666,0.9008,0.18540500000000001,0.927025,0.82785,0.8662083333333285,0.8704846130952314,0.8917715435604863,0.8727515648994657
862
+ 7.290184921763869,10250,0.8278,0.9008,0.927075,0.8278,0.8278,0.3002666666666666,0.9008,0.185415,0.927075,0.8278,0.866154166666662,0.8704102777777718,0.8916861480256432,0.8726937691969677
863
+ 7.467994310099574,10500,0.827825,0.90055,0.927225,0.827825,0.827825,0.3001833333333333,0.90055,0.185445,0.927225,0.827825,0.8661895833333294,0.8704195734126929,0.8916986664790416,0.8727028796088485
864
+ 7.6458036984352775,10750,0.827875,0.9006,0.927225,0.827875,0.827875,0.30019999999999997,0.9006,0.18544500000000003,0.927225,0.827875,0.8662158333333293,0.8704450793650736,0.8917174408022205,0.8727262878002741
865
+ 7.823613086770981,11000,0.827775,0.900525,0.927225,0.827775,0.827775,0.30017499999999997,0.900525,0.18544500000000003,0.927225,0.827775,0.8661854166666623,0.8703987599206292,0.891665903804086,0.8726874745211679
866
+ 8.001422475106686,11250,0.827775,0.90045,0.9273,0.827775,0.827775,0.30015,0.90045,0.18546000000000004,0.9273,0.827775,0.8661808333333287,0.8704179563492007,0.8917319897154259,0.87269052120409
867
+ 8.17923186344239,11500,0.827775,0.90055,0.9272,0.827775,0.827775,0.30018333333333325,0.90055,0.18544000000000005,0.9272,0.827775,0.8661820833333286,0.8704046329365026,0.8916719767589327,0.8726965525672397
868
+ 8.357041251778094,11750,0.827725,0.900575,0.9273,0.827725,0.827725,0.3001916666666666,0.900575,0.18546,0.9273,0.827725,0.8661516666666623,0.8703490972222169,0.8916142319118482,0.8726456646970746
869
+ 8.534850640113799,12000,0.827675,0.9006,0.9272,0.827675,0.827675,0.3001999999999999,0.9006,0.18544000000000002,0.9272,0.827675,0.8661058333333287,0.8703261011904707,0.8916124422761306,0.8726181110807445
final_metrics.json CHANGED
@@ -1,16 +1,16 @@
1
  {
2
- "val_cosine_accuracy@1": 0.82585,
3
- "val_cosine_accuracy@3": 0.902175,
4
- "val_cosine_accuracy@5": 0.930075,
5
- "val_cosine_precision@1": 0.82585,
6
- "val_cosine_precision@3": 0.30072499999999996,
7
- "val_cosine_precision@5": 0.186015,
8
- "val_cosine_recall@1": 0.82585,
9
- "val_cosine_recall@3": 0.902175,
10
- "val_cosine_recall@5": 0.930075,
11
- "val_cosine_ndcg@10": 0.8922105025555344,
12
- "val_cosine_mrr@1": 0.82585,
13
- "val_cosine_mrr@5": 0.8661279166666617,
14
- "val_cosine_mrr@10": 0.8703281448412645,
15
- "val_cosine_map@100": 0.8724788643099791
16
  }
 
1
  {
2
+ "val_cosine_accuracy@1": 0.00065,
3
+ "val_cosine_accuracy@3": 0.7986,
4
+ "val_cosine_accuracy@5": 0.880825,
5
+ "val_cosine_precision@1": 0.00065,
6
+ "val_cosine_precision@3": 0.26619999999999994,
7
+ "val_cosine_precision@5": 0.17616500000000002,
8
+ "val_cosine_recall@1": 0.00065,
9
+ "val_cosine_recall@3": 0.7986,
10
+ "val_cosine_recall@5": 0.880825,
11
+ "val_cosine_ndcg@10": 0.45147470340355694,
12
+ "val_cosine_mrr@1": 0.00065,
13
+ "val_cosine_mrr@5": 0.288667083333407,
14
+ "val_cosine_mrr@10": 0.2951483234127803,
15
+ "val_cosine_map@100": 0.2980051496600344
16
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9f9a47024db2f08e7f0c48f2a85ed40a9741f18dc45828790d6b88202b309171
3
- size 1211486072
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:362192cb39fe2be97a0273cd2772690d7be8a1fb0c2c9b2d356da5acdf07ee67
3
+ size 90864192
modules.json CHANGED
@@ -10,23 +10,5 @@
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_Dense",
24
- "type": "sentence_transformers.models.Dense"
25
- },
26
- {
27
- "idx": 4,
28
- "name": "4",
29
- "path": "4_Normalize",
30
- "type": "sentence_transformers.models.Normalize"
31
  }
32
  ]
 
10
  "name": "1",
11
  "path": "1_Pooling",
12
  "type": "sentence_transformers.models.Pooling"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  }
14
  ]
special_tokens_map.json CHANGED
@@ -1,30 +1,34 @@
1
  {
2
- "boi_token": "<start_of_image>",
3
- "bos_token": {
4
- "content": "<bos>",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false
9
  },
10
- "eoi_token": "<end_of_image>",
11
- "eos_token": {
12
- "content": "<eos>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false
17
  },
18
- "image_token": "<image_soft_token>",
19
  "pad_token": {
20
- "content": "<pad>",
 
 
 
 
 
 
 
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
24
  "single_word": false
25
  },
26
  "unk_token": {
27
- "content": "<unk>",
28
  "lstrip": false,
29
  "normalized": false,
30
  "rstrip": false,
 
1
  {
2
+ "cls_token": {
3
+ "content": "[CLS]",
 
4
  "lstrip": false,
5
  "normalized": false,
6
  "rstrip": false,
7
  "single_word": false
8
  },
9
+ "mask_token": {
10
+ "content": "[MASK]",
 
11
  "lstrip": false,
12
  "normalized": false,
13
  "rstrip": false,
14
  "single_word": false
15
  },
 
16
  "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
  "lstrip": false,
26
  "normalized": false,
27
  "rstrip": false,
28
  "single_word": false
29
  },
30
  "unk_token": {
31
+ "content": "[UNK]",
32
  "lstrip": false,
33
  "normalized": false,
34
  "rstrip": false,
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d7ae06c2d5423018713138be1af08ead828be6d5aec3dcaf4004830d73339843
3
- size 33385261
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fc687b11de0bc1b3d8348f92e3b49ef1089a621506c7661fbf3248fcd54947e
3
+ size 711649
tokenizer_config.json CHANGED
The diff for this file is too large to render. See raw diff
 
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eda78a9adeb8ee61251aa1b4dd9dd8932131463e584245b900135bee7256aae0
3
  size 6161
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c95d57155864ceb9f17b5db3a6c9a6215d12f49d260b60a68d720a3bc86ddd0
3
  size 6161