radoslavralev commited on
Commit
43f4b06
·
verified ·
1 Parent(s): 51f19e2

Training in progress, step 5000

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
1_Pooling/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "word_embedding_dimension": 384,
3
- "pooling_mode_cls_token": false,
4
- "pooling_mode_mean_tokens": true,
5
  "pooling_mode_max_tokens": false,
6
  "pooling_mode_mean_sqrt_len_tokens": false,
7
  "pooling_mode_weightedmean_tokens": false,
 
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
@@ -9,3 +9,4 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Precisi
9
  -1,-1,0.82975,0.903025,0.9308,0.82975,0.82975,0.3010083333333333,0.903025,0.18616000000000002,0.9308,0.82975,0.8688179166666645,0.8729221527777756,0.894185079953941,0.8751251735048098
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
 
 
9
  -1,-1,0.82975,0.903025,0.9308,0.82975,0.82975,0.3010083333333333,0.903025,0.18616000000000002,0.9308,0.82975,0.8688179166666645,0.8729221527777756,0.894185079953941,0.8751251735048098
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
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: thenlper/gte-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 thenlper/gte-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.82585
73
- name: Cosine Accuracy@1
74
- - type: cosine_accuracy@3
75
- value: 0.902175
76
- name: Cosine Accuracy@3
77
- - type: cosine_accuracy@5
78
- value: 0.930075
79
- name: Cosine Accuracy@5
80
- - type: cosine_precision@1
81
- value: 0.82585
82
- name: Cosine Precision@1
83
- - type: cosine_precision@3
84
- value: 0.30072499999999996
85
- name: Cosine Precision@3
86
- - type: cosine_precision@5
87
- value: 0.186015
88
- name: Cosine Precision@5
89
- - type: cosine_recall@1
90
- value: 0.82585
91
- name: Cosine Recall@1
92
- - type: cosine_recall@3
93
- value: 0.902175
94
- name: Cosine Recall@3
95
- - type: cosine_recall@5
96
- value: 0.930075
97
- name: Cosine Recall@5
98
- - type: cosine_ndcg@10
99
- value: 0.8922105025555344
100
- name: Cosine Ndcg@10
101
- - type: cosine_mrr@1
102
- value: 0.82585
103
- name: Cosine Mrr@1
104
- - type: cosine_mrr@5
105
- value: 0.8661279166666617
106
- name: Cosine Mrr@5
107
- - type: cosine_mrr@10
108
- value: 0.8703281448412645
109
- name: Cosine Mrr@10
110
- - type: cosine_map@100
111
- value: 0.8724788643099791
112
- name: Cosine Map@100
113
  ---
114
 
115
- # SentenceTransformer based on thenlper/gte-small
116
 
117
- This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [thenlper/gte-small](https://huggingface.co/thenlper/gte-small). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
118
 
119
  ## Model Details
120
 
121
  ### Model Description
122
  - **Model Type:** Sentence Transformer
123
- - **Base model:** [thenlper/gte-small](https://huggingface.co/thenlper/gte-small) <!-- at revision 17e1f347d17fe144873b1201da91788898c639cd -->
124
  - **Maximum Sequence Length:** 128 tokens
125
- - **Output Dimensionality:** 384 dimensions
126
  - **Similarity Function:** Cosine Similarity
127
  <!-- - **Training Dataset:** Unknown -->
128
  <!-- - **Language:** Unknown -->
@@ -139,8 +66,7 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [t
139
  ```
140
  SentenceTransformer(
141
  (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
142
- (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
143
- (2): Normalize()
144
  )
145
  ```
146
 
@@ -159,23 +85,23 @@ Then you can load this model and run inference.
159
  from sentence_transformers import SentenceTransformer
160
 
161
  # Download from the 🤗 Hub
162
- model = SentenceTransformer("redis/model-a-baseline")
163
  # Run inference
164
  sentences = [
165
- 'How do you earn money on Quora?',
166
- 'What is the best way to make money on Quora?',
167
- 'What are some things new employees should know going into their first day at Maximus?',
168
  ]
169
  embeddings = model.encode(sentences)
170
  print(embeddings.shape)
171
- # [3, 384]
172
 
173
  # Get the similarity scores for the embeddings
174
  similarities = model.similarity(embeddings, embeddings)
175
  print(similarities)
176
- # tensor([[1.0000, 0.9984, 0.0403],
177
- # [0.9984, 1.0000, 0.0422],
178
- # [0.0403, 0.0422, 1.0000]])
179
  ```
180
 
181
  <!--
@@ -202,32 +128,6 @@ You can finetune this model on your own dataset.
202
  *List how the model may foreseeably be misused and address what users ought not to do with the model.*
203
  -->
204
 
205
- ## Evaluation
206
-
207
- ### Metrics
208
-
209
- #### Information Retrieval
210
-
211
- * Dataset: `val`
212
- * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
213
-
214
- | Metric | Value |
215
- |:-------------------|:-----------|
216
- | cosine_accuracy@1 | 0.8258 |
217
- | cosine_accuracy@3 | 0.9022 |
218
- | cosine_accuracy@5 | 0.9301 |
219
- | cosine_precision@1 | 0.8258 |
220
- | cosine_precision@3 | 0.3007 |
221
- | cosine_precision@5 | 0.186 |
222
- | cosine_recall@1 | 0.8258 |
223
- | cosine_recall@3 | 0.9022 |
224
- | cosine_recall@5 | 0.9301 |
225
- | **cosine_ndcg@10** | **0.8922** |
226
- | cosine_mrr@1 | 0.8258 |
227
- | cosine_mrr@5 | 0.8661 |
228
- | cosine_mrr@10 | 0.8703 |
229
- | cosine_map@100 | 0.8725 |
230
-
231
  <!--
232
  ## Bias, Risks and Limitations
233
 
@@ -246,49 +146,23 @@ You can finetune this model on your own dataset.
246
 
247
  #### Unnamed Dataset
248
 
249
- * Size: 359,997 training samples
250
- * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
251
- * Approximate statistics based on the first 1000 samples:
252
- | | anchor | positive | negative |
253
- |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
254
- | type | string | string | string |
255
- | 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> |
256
- * Samples:
257
- | anchor | positive | negative |
258
- |:--------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------|
259
- | <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> |
260
- | <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> |
261
- | <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> |
262
- * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
263
- ```json
264
- {
265
- "scale": 7.0,
266
- "similarity_fct": "cos_sim",
267
- "gather_across_devices": false
268
- }
269
- ```
270
-
271
- ### Evaluation Dataset
272
-
273
- #### Unnamed Dataset
274
-
275
- * Size: 40,000 evaluation samples
276
- * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
277
  * Approximate statistics based on the first 1000 samples:
278
- | | anchor | positive | negative |
279
- |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
280
- | type | string | string | string |
281
- | 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> |
282
  * Samples:
283
- | anchor | positive | negative |
284
- |:------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------|
285
- | <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> |
286
- | <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> |
287
- | <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> |
288
  * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
289
  ```json
290
  {
291
- "scale": 7.0,
292
  "similarity_fct": "cos_sim",
293
  "gather_across_devices": false
294
  }
@@ -297,49 +171,36 @@ You can finetune this model on your own dataset.
297
  ### Training Hyperparameters
298
  #### Non-Default Hyperparameters
299
 
300
- - `eval_strategy`: steps
301
- - `per_device_train_batch_size`: 128
302
- - `per_device_eval_batch_size`: 128
303
- - `learning_rate`: 0.0002
304
- - `weight_decay`: 0.0001
305
- - `max_steps`: 10000
306
- - `warmup_ratio`: 0.1
307
  - `fp16`: True
308
- - `dataloader_drop_last`: True
309
- - `dataloader_num_workers`: 1
310
- - `dataloader_prefetch_factor`: 1
311
- - `load_best_model_at_end`: True
312
- - `optim`: adamw_torch
313
- - `ddp_find_unused_parameters`: False
314
- - `push_to_hub`: True
315
- - `hub_model_id`: redis/model-a-baseline
316
- - `eval_on_start`: True
317
 
318
  #### All Hyperparameters
319
  <details><summary>Click to expand</summary>
320
 
321
  - `overwrite_output_dir`: False
322
  - `do_predict`: False
323
- - `eval_strategy`: steps
324
  - `prediction_loss_only`: True
325
- - `per_device_train_batch_size`: 128
326
- - `per_device_eval_batch_size`: 128
327
  - `per_gpu_train_batch_size`: None
328
  - `per_gpu_eval_batch_size`: None
329
  - `gradient_accumulation_steps`: 1
330
  - `eval_accumulation_steps`: None
331
  - `torch_empty_cache_steps`: None
332
- - `learning_rate`: 0.0002
333
- - `weight_decay`: 0.0001
334
  - `adam_beta1`: 0.9
335
  - `adam_beta2`: 0.999
336
  - `adam_epsilon`: 1e-08
337
- - `max_grad_norm`: 1.0
338
- - `num_train_epochs`: 3.0
339
- - `max_steps`: 10000
340
  - `lr_scheduler_type`: linear
341
  - `lr_scheduler_kwargs`: {}
342
- - `warmup_ratio`: 0.1
343
  - `warmup_steps`: 0
344
  - `log_level`: passive
345
  - `log_level_replica`: warning
@@ -367,14 +228,14 @@ You can finetune this model on your own dataset.
367
  - `tpu_num_cores`: None
368
  - `tpu_metrics_debug`: False
369
  - `debug`: []
370
- - `dataloader_drop_last`: True
371
- - `dataloader_num_workers`: 1
372
- - `dataloader_prefetch_factor`: 1
373
  - `past_index`: -1
374
  - `disable_tqdm`: False
375
  - `remove_unused_columns`: True
376
  - `label_names`: None
377
- - `load_best_model_at_end`: True
378
  - `ignore_data_skip`: False
379
  - `fsdp`: []
380
  - `fsdp_min_num_params`: 0
@@ -384,23 +245,23 @@ You can finetune this model on your own dataset.
384
  - `parallelism_config`: None
385
  - `deepspeed`: None
386
  - `label_smoothing_factor`: 0.0
387
- - `optim`: adamw_torch
388
  - `optim_args`: None
389
  - `adafactor`: False
390
  - `group_by_length`: False
391
  - `length_column_name`: length
392
  - `project`: huggingface
393
  - `trackio_space_id`: trackio
394
- - `ddp_find_unused_parameters`: False
395
  - `ddp_bucket_cap_mb`: None
396
  - `ddp_broadcast_buffers`: False
397
  - `dataloader_pin_memory`: True
398
  - `dataloader_persistent_workers`: False
399
  - `skip_memory_metrics`: True
400
  - `use_legacy_prediction_loop`: False
401
- - `push_to_hub`: True
402
  - `resume_from_checkpoint`: None
403
- - `hub_model_id`: redis/model-a-baseline
404
  - `hub_strategy`: every_save
405
  - `hub_private_repo`: None
406
  - `hub_always_push`: False
@@ -427,63 +288,31 @@ You can finetune this model on your own dataset.
427
  - `neftune_noise_alpha`: None
428
  - `optim_target_modules`: None
429
  - `batch_eval_metrics`: False
430
- - `eval_on_start`: True
431
  - `use_liger_kernel`: False
432
  - `liger_kernel_config`: None
433
  - `eval_use_gather_object`: False
434
  - `average_tokens_across_devices`: True
435
  - `prompts`: None
436
  - `batch_sampler`: batch_sampler
437
- - `multi_dataset_batch_sampler`: proportional
438
  - `router_mapping`: {}
439
  - `learning_rate_mapping`: {}
440
 
441
  </details>
442
 
443
  ### Training Logs
444
- | Epoch | Step | Training Loss | Validation Loss | val_cosine_ndcg@10 |
445
- |:------:|:-----:|:-------------:|:---------------:|:------------------:|
446
- | 0 | 0 | - | 3.6640 | 0.8927 |
447
- | 0.0889 | 250 | 1.5177 | 0.4409 | 0.8904 |
448
- | 0.1778 | 500 | 0.5386 | 0.4150 | 0.8907 |
449
- | 0.2667 | 750 | 0.5035 | 0.4014 | 0.8899 |
450
- | 0.3556 | 1000 | 0.4858 | 0.4000 | 0.8887 |
451
- | 0.4445 | 1250 | 0.4715 | 0.3927 | 0.8883 |
452
- | 0.5334 | 1500 | 0.4644 | 0.3875 | 0.8889 |
453
- | 0.6223 | 1750 | 0.4555 | 0.3821 | 0.8898 |
454
- | 0.7112 | 2000 | 0.4476 | 0.3795 | 0.8890 |
455
- | 0.8001 | 2250 | 0.4403 | 0.3779 | 0.8894 |
456
- | 0.8890 | 2500 | 0.4375 | 0.3750 | 0.8903 |
457
- | 0.9780 | 2750 | 0.4323 | 0.3718 | 0.8893 |
458
- | 1.0669 | 3000 | 0.4132 | 0.3665 | 0.8895 |
459
- | 1.1558 | 3250 | 0.4081 | 0.3660 | 0.8883 |
460
- | 1.2447 | 3500 | 0.4047 | 0.3650 | 0.8894 |
461
- | 1.3336 | 3750 | 0.403 | 0.3624 | 0.8905 |
462
- | 1.4225 | 4000 | 0.4003 | 0.3608 | 0.8901 |
463
- | 1.5114 | 4250 | 0.3986 | 0.3595 | 0.8903 |
464
- | 1.6003 | 4500 | 0.3982 | 0.3580 | 0.8911 |
465
- | 1.6892 | 4750 | 0.3951 | 0.3572 | 0.8911 |
466
- | 1.7781 | 5000 | 0.3963 | 0.3560 | 0.8915 |
467
- | 1.8670 | 5250 | 0.3925 | 0.3549 | 0.8913 |
468
- | 1.9559 | 5500 | 0.3922 | 0.3535 | 0.8920 |
469
- | 2.0448 | 5750 | 0.3794 | 0.3512 | 0.8913 |
470
- | 2.1337 | 6000 | 0.37 | 0.3501 | 0.8911 |
471
- | 2.2226 | 6250 | 0.3702 | 0.3504 | 0.8913 |
472
- | 2.3115 | 6500 | 0.3696 | 0.3491 | 0.8915 |
473
- | 2.4004 | 6750 | 0.3685 | 0.3482 | 0.8922 |
474
- | 2.4893 | 7000 | 0.3675 | 0.3470 | 0.8920 |
475
- | 2.5782 | 7250 | 0.3659 | 0.3460 | 0.8916 |
476
- | 2.6671 | 7500 | 0.3634 | 0.3459 | 0.8915 |
477
- | 2.7560 | 7750 | 0.3657 | 0.3448 | 0.8918 |
478
- | 2.8450 | 8000 | 0.3639 | 0.3442 | 0.8919 |
479
- | 2.9339 | 8250 | 0.3623 | 0.3430 | 0.8923 |
480
- | 3.0228 | 8500 | 0.3603 | 0.3425 | 0.8920 |
481
- | 3.1117 | 8750 | 0.3504 | 0.3424 | 0.8917 |
482
- | 3.2006 | 9000 | 0.3501 | 0.3419 | 0.8920 |
483
- | 3.2895 | 9250 | 0.3505 | 0.3418 | 0.8920 |
484
- | 3.3784 | 9500 | 0.3483 | 0.3413 | 0.8922 |
485
- | 3.4673 | 9750 | 0.3478 | 0.3410 | 0.8920 |
486
- | 3.5562 | 10000 | 0.3492 | 0.3408 | 0.8922 |
487
 
488
 
489
  ### 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 -->
 
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
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
  - `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,24 +1,60 @@
1
  {
 
2
  "architectures": [
3
- "BertModel"
4
  ],
5
- "attention_probs_dropout_prob": 0.1,
6
- "classifier_dropout": null,
 
 
7
  "dtype": "float32",
8
- "hidden_act": "gelu",
9
- "hidden_dropout_prob": 0.1,
10
- "hidden_size": 384,
 
 
11
  "initializer_range": 0.02,
12
- "intermediate_size": 1536,
13
- "layer_norm_eps": 1e-12,
14
- "max_position_embeddings": 512,
15
- "model_type": "bert",
16
- "num_attention_heads": 12,
17
- "num_hidden_layers": 12,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  "pad_token_id": 0,
19
- "position_embedding_type": "absolute",
 
 
 
 
 
20
  "transformers_version": "4.57.3",
21
- "type_vocab_size": 2,
22
  "use_cache": true,
23
- "vocab_size": 30522
24
  }
 
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
  }
eval/Information-Retrieval_evaluation_val_results.csv CHANGED
@@ -796,3 +796,25 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Precisi
796
  3.3783783783783785,9500,0.825675,0.9017,0.930125,0.825675,0.825675,0.30056666666666665,0.9017,0.186025,0.930125,0.825675,0.8659704166666623,0.8701954761904717,0.8921878189564996,0.87231294268874
797
  3.4672830725462305,9750,0.82565,0.902125,0.930125,0.82565,0.82565,0.3007083333333333,0.902125,0.186025,0.930125,0.82565,0.865978333333329,0.8701194940476146,0.8919567604167592,0.8723131653149703
798
  3.5561877667140824,10000,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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
796
  3.3783783783783785,9500,0.825675,0.9017,0.930125,0.825675,0.825675,0.30056666666666665,0.9017,0.186025,0.930125,0.825675,0.8659704166666623,0.8701954761904717,0.8921878189564996,0.87231294268874
797
  3.4672830725462305,9750,0.82565,0.902125,0.930125,0.82565,0.82565,0.3007083333333333,0.902125,0.186025,0.930125,0.82565,0.865978333333329,0.8701194940476146,0.8919567604167592,0.8723131653149703
798
  3.5561877667140824,10000,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
799
+ 0,0,0.826075,0.9019,0.926375,0.826075,0.826075,0.3006333333333333,0.9019,0.18527500000000002,0.926375,0.826075,0.8656154166666614,0.869528363095233,0.8903094666814794,0.8717042027739657
800
+ 0,0,0.8261,0.90195,0.926325,0.8261,0.8261,0.3006499999999999,0.90195,0.185265,0.926325,0.8261,0.8656149999999949,0.8695360813492012,0.8903149406977251,0.8717113603841892
801
+ 0.04445234708392603,250,0.821025,0.89705,0.923075,0.821025,0.821025,0.29901666666666665,0.89705,0.18461500000000006,0.923075,0.821025,0.8610470833333292,0.8650748412698367,0.8863330153490923,0.8674308798239341
802
+ 0.08890469416785206,500,0.823475,0.8979,0.92295,0.823475,0.823475,0.29929999999999995,0.8979,0.18459000000000003,0.92295,0.823475,0.8622916666666625,0.8664229067460257,0.8874503348960284,0.8687474801005728
803
+ 0.13335704125177808,750,0.011325,0.0256,0.03865,0.011325,0.011325,0.008533333333333332,0.0256,0.007730000000000001,0.03865,0.011325,0.02088541666666677,0.022595833333333384,0.029270205325053842,0.035727285015858624
804
+ 0.17780938833570412,1000,0.823625,0.8967,0.923175,0.823625,0.823625,0.2989,0.8967,0.18463500000000005,0.923175,0.823625,0.8622445833333304,0.866245079365076,0.8871180256539423,0.8685892558516832
805
+ 0.22226173541963015,1250,0.0006,0.7982,0.88095,0.0006,0.0006,0.2660666666666667,0.7982,0.17619,0.88095,0.0006,0.2884245833334066,0.2949442757937322,0.4513885856647716,0.2977867903240451
806
+ 0.26671408250355616,1500,0.0006,0.7985,0.881125,0.0006,0.0006,0.26616666666666666,0.7985,0.176225,0.881125,0.0006,0.28853791666673956,0.2950232043651601,0.4514484069261291,0.29788707270526127
807
+ 0.3111664295874822,1750,0.000775,0.7987,0.880525,0.000775,0.000775,0.2662333333333333,0.7987,0.176105,0.880525,0.000775,0.288679583333407,0.29516037698420866,0.45141007661888277,0.2980129241232368
808
+ 0.35561877667140823,2000,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
809
+ 0.40007112375533427,2250,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
810
+ 0.4445234708392603,2500,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
811
+ 0.48897581792318634,2750,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
812
+ 0.5334281650071123,3000,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
813
+ 0.5778805120910384,3250,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
814
+ 0.6223328591749644,3500,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
815
+ 0.6667852062588905,3750,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
816
+ 0.7112375533428165,4000,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
817
+ 0.7556899004267426,4250,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
final_metrics.json CHANGED
@@ -1,16 +1,16 @@
1
  {
2
- "val_cosine_accuracy@1": 0.826575,
3
- "val_cosine_accuracy@3": 0.900725,
4
- "val_cosine_accuracy@5": 0.92805,
5
- "val_cosine_precision@1": 0.826575,
6
- "val_cosine_precision@3": 0.30024166666666663,
7
- "val_cosine_precision@5": 0.18561000000000002,
8
- "val_cosine_recall@1": 0.826575,
9
- "val_cosine_recall@3": 0.900725,
10
- "val_cosine_recall@5": 0.92805,
11
- "val_cosine_ndcg@10": 0.891705546917102,
12
- "val_cosine_mrr@1": 0.826575,
13
- "val_cosine_mrr@5": 0.8658308333333287,
14
- "val_cosine_mrr@10": 0.8701137103174557,
15
- "val_cosine_map@100": 0.8723575730144177
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
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:368ea36921477c1e5c05b855edd91867c031b131e8d9b5c31b5b7d66e904530f
3
- size 133462128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f9a47024db2f08e7f0c48f2a85ed40a9741f18dc45828790d6b88202b309171
3
+ size 1211486072
modules.json CHANGED
@@ -10,11 +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_Normalize",
18
- "type": "sentence_transformers.models.Normalize"
19
  }
20
  ]
 
10
  "name": "1",
11
  "path": "1_Pooling",
12
  "type": "sentence_transformers.models.Pooling"
 
 
 
 
 
 
13
  }
14
  ]
special_tokens_map.json CHANGED
@@ -1,34 +1,30 @@
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,
 
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,
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
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:c4b7fb9f1bde49d5d0ac89d63b3b97256d730788bbc479278759fa6f4c5faa36
3
  size 6161
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eda78a9adeb8ee61251aa1b4dd9dd8932131463e584245b900135bee7256aae0
3
  size 6161