LamaDiab commited on
Commit
a2fbd81
·
verified ·
1 Parent(s): 133a86a

Training in progress, epoch 3, checkpoint

Browse files
checkpoint-17853/1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
checkpoint-17853/README.md ADDED
@@ -0,0 +1,434 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:761633
9
+ - loss:MultipleNegativesSymmetricRankingLoss
10
+ widget:
11
+ - source_sentence: derby cap toe shoes - brown
12
+ sentences:
13
+ - blue stripped poncho
14
+ - men shoes
15
+ - ' soup'
16
+ - source_sentence: disney lion king chess
17
+ sentences:
18
+ - ' chess game'
19
+ - victoria aveyard book
20
+ - oula
21
+ - source_sentence: set of 3 consecutive sizes clutches
22
+ sentences:
23
+ - kids backpack
24
+ - '100% pu material
25
+
26
+ 100% polyester inner material.
27
+
28
+ one compartment.
29
+
30
+ zipper closure.
31
+
32
+ comes with satin strap.
33
+
34
+ dimensions.
35
+
36
+ length 23 cm.
37
+
38
+ height 17 cm.
39
+
40
+ width 2 cm.'
41
+ - must kindergarten trolley bag sweety 2 cases
42
+ - source_sentence: xbase 100 kids swimming goggles - clear lenses - blue / yellow
43
+ sentences:
44
+ - ' salami'
45
+ - xbase goggles
46
+ - big boss pearls
47
+ - source_sentence: fun hair color machine game
48
+ sentences:
49
+ - lazoomi premium foll scent diffuser
50
+ - girls game
51
+ - pet toy
52
+ pipeline_tag: sentence-similarity
53
+ library_name: sentence-transformers
54
+ metrics:
55
+ - cosine_accuracy
56
+ model-index:
57
+ - name: SentenceTransformer
58
+ results:
59
+ - task:
60
+ type: triplet
61
+ name: Triplet
62
+ dataset:
63
+ name: Unknown
64
+ type: unknown
65
+ metrics:
66
+ - type: cosine_accuracy
67
+ value: 0.9691870808601379
68
+ name: Cosine Accuracy
69
+ ---
70
+
71
+ # SentenceTransformer
72
+
73
+ This is a [sentence-transformers](https://www.SBERT.net) model trained. 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.
74
+
75
+ ## Model Details
76
+
77
+ ### Model Description
78
+ - **Model Type:** Sentence Transformer
79
+ <!-- - **Base model:** [Unknown](https://huggingface.co/unknown) -->
80
+ - **Maximum Sequence Length:** 256 tokens
81
+ - **Output Dimensionality:** 384 dimensions
82
+ - **Similarity Function:** Cosine Similarity
83
+ <!-- - **Training Dataset:** Unknown -->
84
+ <!-- - **Language:** Unknown -->
85
+ <!-- - **License:** Unknown -->
86
+
87
+ ### Model Sources
88
+
89
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
90
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
91
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
92
+
93
+ ### Full Model Architecture
94
+
95
+ ```
96
+ SentenceTransformer(
97
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
98
+ (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})
99
+ (2): Normalize()
100
+ )
101
+ ```
102
+
103
+ ## Usage
104
+
105
+ ### Direct Usage (Sentence Transformers)
106
+
107
+ First install the Sentence Transformers library:
108
+
109
+ ```bash
110
+ pip install -U sentence-transformers
111
+ ```
112
+
113
+ Then you can load this model and run inference.
114
+ ```python
115
+ from sentence_transformers import SentenceTransformer
116
+
117
+ # Download from the 🤗 Hub
118
+ model = SentenceTransformer("LamaDiab/MiniLM-V12Data-128BATCH-SemanticEngine")
119
+ # Run inference
120
+ sentences = [
121
+ 'fun hair color machine game',
122
+ 'girls game',
123
+ 'lazoomi premium foll scent diffuser',
124
+ ]
125
+ embeddings = model.encode(sentences)
126
+ print(embeddings.shape)
127
+ # [3, 384]
128
+
129
+ # Get the similarity scores for the embeddings
130
+ similarities = model.similarity(embeddings, embeddings)
131
+ print(similarities)
132
+ # tensor([[1.0000, 0.7542, 0.1539],
133
+ # [0.7542, 1.0000, 0.1614],
134
+ # [0.1539, 0.1614, 1.0000]])
135
+ ```
136
+
137
+ <!--
138
+ ### Direct Usage (Transformers)
139
+
140
+ <details><summary>Click to see the direct usage in Transformers</summary>
141
+
142
+ </details>
143
+ -->
144
+
145
+ <!--
146
+ ### Downstream Usage (Sentence Transformers)
147
+
148
+ You can finetune this model on your own dataset.
149
+
150
+ <details><summary>Click to expand</summary>
151
+
152
+ </details>
153
+ -->
154
+
155
+ <!--
156
+ ### Out-of-Scope Use
157
+
158
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
159
+ -->
160
+
161
+ ## Evaluation
162
+
163
+ ### Metrics
164
+
165
+ #### Triplet
166
+
167
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
168
+
169
+ | Metric | Value |
170
+ |:--------------------|:-----------|
171
+ | **cosine_accuracy** | **0.9692** |
172
+
173
+ <!--
174
+ ## Bias, Risks and Limitations
175
+
176
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
177
+ -->
178
+
179
+ <!--
180
+ ### Recommendations
181
+
182
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
183
+ -->
184
+
185
+ ## Training Details
186
+
187
+ ### Training Dataset
188
+
189
+ #### Unnamed Dataset
190
+
191
+ * Size: 761,633 training samples
192
+ * Columns: <code>anchor</code> and <code>positive</code>
193
+ * Approximate statistics based on the first 1000 samples:
194
+ | | anchor | positive |
195
+ |:--------|:----------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
196
+ | type | string | string |
197
+ | details | <ul><li>min: 3 tokens</li><li>mean: 7.59 tokens</li><li>max: 127 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 7.0 tokens</li><li>max: 46 tokens</li></ul> |
198
+ * Samples:
199
+ | anchor | positive |
200
+ |:---------------------------------------|:------------------------------------------------|
201
+ | <code>flyon big/xl back support</code> | <code>flyon elastic back supp./l/xl/f502</code> |
202
+ | <code>mixed berries doughnuts</code> | <code>restaurants</code> |
203
+ | <code>juicy flesh snake fruit</code> | <code>supermarkets</code> |
204
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
205
+ ```json
206
+ {
207
+ "scale": 20.0,
208
+ "similarity_fct": "cos_sim",
209
+ "gather_across_devices": false
210
+ }
211
+ ```
212
+
213
+ ### Evaluation Dataset
214
+
215
+ #### Unnamed Dataset
216
+
217
+ * Size: 9,509 evaluation samples
218
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
219
+ * Approximate statistics based on the first 1000 samples:
220
+ | | anchor | positive | negative |
221
+ |:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
222
+ | type | string | string | string |
223
+ | details | <ul><li>min: 3 tokens</li><li>mean: 9.63 tokens</li><li>max: 43 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 6.26 tokens</li><li>max: 150 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.36 tokens</li><li>max: 42 tokens</li></ul> |
224
+ * Samples:
225
+ | anchor | positive | negative |
226
+ |:---------------------------------------------------------------------|:-----------------------------|:----------------------------------------------------------------------------|
227
+ | <code>pilot mechanical pencil progrex h-127 - 0.7 mm</code> | <code> pencil </code> | <code>sistema bento lunch box blue</code> |
228
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code> nib marker pen</code> | <code>givrex frozen peas & carrots</code> |
229
+ | <code>first person singular author: haruki murakami</code> | <code>english book</code> | <code>thermos® funtainer® 470 ml stainless steel water bottle - gray</code> |
230
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
231
+ ```json
232
+ {
233
+ "scale": 20.0,
234
+ "similarity_fct": "cos_sim",
235
+ "gather_across_devices": false
236
+ }
237
+ ```
238
+
239
+ ### Training Hyperparameters
240
+ #### Non-Default Hyperparameters
241
+
242
+ - `eval_strategy`: steps
243
+ - `per_device_train_batch_size`: 128
244
+ - `per_device_eval_batch_size`: 128
245
+ - `learning_rate`: 2e-05
246
+ - `weight_decay`: 0.01
247
+ - `num_train_epochs`: 4
248
+ - `warmup_ratio`: 0.2
249
+ - `fp16`: True
250
+ - `dataloader_num_workers`: 1
251
+ - `dataloader_prefetch_factor`: 2
252
+ - `dataloader_persistent_workers`: True
253
+ - `push_to_hub`: True
254
+ - `hub_model_id`: LamaDiab/MiniLM-V12Data-128BATCH-SemanticEngine
255
+ - `hub_strategy`: all_checkpoints
256
+ - `batch_sampler`: no_duplicates
257
+
258
+ #### All Hyperparameters
259
+ <details><summary>Click to expand</summary>
260
+
261
+ - `overwrite_output_dir`: False
262
+ - `do_predict`: False
263
+ - `eval_strategy`: steps
264
+ - `prediction_loss_only`: True
265
+ - `per_device_train_batch_size`: 128
266
+ - `per_device_eval_batch_size`: 128
267
+ - `per_gpu_train_batch_size`: None
268
+ - `per_gpu_eval_batch_size`: None
269
+ - `gradient_accumulation_steps`: 1
270
+ - `eval_accumulation_steps`: None
271
+ - `torch_empty_cache_steps`: None
272
+ - `learning_rate`: 2e-05
273
+ - `weight_decay`: 0.01
274
+ - `adam_beta1`: 0.9
275
+ - `adam_beta2`: 0.999
276
+ - `adam_epsilon`: 1e-08
277
+ - `max_grad_norm`: 1.0
278
+ - `num_train_epochs`: 4
279
+ - `max_steps`: -1
280
+ - `lr_scheduler_type`: linear
281
+ - `lr_scheduler_kwargs`: {}
282
+ - `warmup_ratio`: 0.2
283
+ - `warmup_steps`: 0
284
+ - `log_level`: passive
285
+ - `log_level_replica`: warning
286
+ - `log_on_each_node`: True
287
+ - `logging_nan_inf_filter`: True
288
+ - `save_safetensors`: True
289
+ - `save_on_each_node`: False
290
+ - `save_only_model`: False
291
+ - `restore_callback_states_from_checkpoint`: False
292
+ - `no_cuda`: False
293
+ - `use_cpu`: False
294
+ - `use_mps_device`: False
295
+ - `seed`: 42
296
+ - `data_seed`: None
297
+ - `jit_mode_eval`: False
298
+ - `use_ipex`: False
299
+ - `bf16`: False
300
+ - `fp16`: True
301
+ - `fp16_opt_level`: O1
302
+ - `half_precision_backend`: auto
303
+ - `bf16_full_eval`: False
304
+ - `fp16_full_eval`: False
305
+ - `tf32`: None
306
+ - `local_rank`: 0
307
+ - `ddp_backend`: None
308
+ - `tpu_num_cores`: None
309
+ - `tpu_metrics_debug`: False
310
+ - `debug`: []
311
+ - `dataloader_drop_last`: False
312
+ - `dataloader_num_workers`: 1
313
+ - `dataloader_prefetch_factor`: 2
314
+ - `past_index`: -1
315
+ - `disable_tqdm`: False
316
+ - `remove_unused_columns`: True
317
+ - `label_names`: None
318
+ - `load_best_model_at_end`: False
319
+ - `ignore_data_skip`: False
320
+ - `fsdp`: []
321
+ - `fsdp_min_num_params`: 0
322
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
323
+ - `fsdp_transformer_layer_cls_to_wrap`: None
324
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
325
+ - `deepspeed`: None
326
+ - `label_smoothing_factor`: 0.0
327
+ - `optim`: adamw_torch
328
+ - `optim_args`: None
329
+ - `adafactor`: False
330
+ - `group_by_length`: False
331
+ - `length_column_name`: length
332
+ - `ddp_find_unused_parameters`: None
333
+ - `ddp_bucket_cap_mb`: None
334
+ - `ddp_broadcast_buffers`: False
335
+ - `dataloader_pin_memory`: True
336
+ - `dataloader_persistent_workers`: True
337
+ - `skip_memory_metrics`: True
338
+ - `use_legacy_prediction_loop`: False
339
+ - `push_to_hub`: True
340
+ - `resume_from_checkpoint`: None
341
+ - `hub_model_id`: LamaDiab/MiniLM-V12Data-128BATCH-SemanticEngine
342
+ - `hub_strategy`: all_checkpoints
343
+ - `hub_private_repo`: None
344
+ - `hub_always_push`: False
345
+ - `hub_revision`: None
346
+ - `gradient_checkpointing`: False
347
+ - `gradient_checkpointing_kwargs`: None
348
+ - `include_inputs_for_metrics`: False
349
+ - `include_for_metrics`: []
350
+ - `eval_do_concat_batches`: True
351
+ - `fp16_backend`: auto
352
+ - `push_to_hub_model_id`: None
353
+ - `push_to_hub_organization`: None
354
+ - `mp_parameters`:
355
+ - `auto_find_batch_size`: False
356
+ - `full_determinism`: False
357
+ - `torchdynamo`: None
358
+ - `ray_scope`: last
359
+ - `ddp_timeout`: 1800
360
+ - `torch_compile`: False
361
+ - `torch_compile_backend`: None
362
+ - `torch_compile_mode`: None
363
+ - `include_tokens_per_second`: False
364
+ - `include_num_input_tokens_seen`: False
365
+ - `neftune_noise_alpha`: None
366
+ - `optim_target_modules`: None
367
+ - `batch_eval_metrics`: False
368
+ - `eval_on_start`: False
369
+ - `use_liger_kernel`: False
370
+ - `liger_kernel_config`: None
371
+ - `eval_use_gather_object`: False
372
+ - `average_tokens_across_devices`: False
373
+ - `prompts`: None
374
+ - `batch_sampler`: no_duplicates
375
+ - `multi_dataset_batch_sampler`: proportional
376
+ - `router_mapping`: {}
377
+ - `learning_rate_mapping`: {}
378
+
379
+ </details>
380
+
381
+ ### Training Logs
382
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
383
+ |:------:|:-----:|:-------------:|:---------------:|:---------------:|
384
+ | 2.0165 | 12000 | 1.2517 | 1.0559 | 0.9669 |
385
+ | 2.1845 | 13000 | 1.267 | 1.0504 | 0.9659 |
386
+ | 2.3525 | 14000 | 1.2527 | 1.0555 | 0.9665 |
387
+ | 2.5206 | 15000 | 1.2288 | 1.0456 | 0.9669 |
388
+ | 2.6886 | 16000 | 1.2237 | 1.0360 | 0.9685 |
389
+ | 2.8567 | 17000 | 1.2137 | 1.0284 | 0.9692 |
390
+
391
+
392
+ ### Framework Versions
393
+ - Python: 3.11.13
394
+ - Sentence Transformers: 5.1.2
395
+ - Transformers: 4.53.3
396
+ - PyTorch: 2.6.0+cu124
397
+ - Accelerate: 1.9.0
398
+ - Datasets: 4.4.1
399
+ - Tokenizers: 0.21.2
400
+
401
+ ## Citation
402
+
403
+ ### BibTeX
404
+
405
+ #### Sentence Transformers
406
+ ```bibtex
407
+ @inproceedings{reimers-2019-sentence-bert,
408
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
409
+ author = "Reimers, Nils and Gurevych, Iryna",
410
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
411
+ month = "11",
412
+ year = "2019",
413
+ publisher = "Association for Computational Linguistics",
414
+ url = "https://arxiv.org/abs/1908.10084",
415
+ }
416
+ ```
417
+
418
+ <!--
419
+ ## Glossary
420
+
421
+ *Clearly define terms in order to be accessible across audiences.*
422
+ -->
423
+
424
+ <!--
425
+ ## Model Card Authors
426
+
427
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
428
+ -->
429
+
430
+ <!--
431
+ ## Model Card Contact
432
+
433
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
434
+ -->
checkpoint-17853/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "gradient_checkpointing": false,
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": 6,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.53.3",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 30522
25
+ }
checkpoint-17853/config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "5.1.2",
4
+ "transformers": "4.53.3",
5
+ "pytorch": "2.6.0+cu124"
6
+ },
7
+ "model_type": "SentenceTransformer",
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
checkpoint-17853/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29ac898bf5db6f85f8f696c81a36d16fcd0ddb8eedbdf965c49348937d0f127c
3
+ size 90864192
checkpoint-17853/modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ },
14
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
checkpoint-17853/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ffd1fd73d7a6b215a35ae3b6da1308b53c1cbd012e0a76debae29e448178613
3
+ size 180607738
checkpoint-17853/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24375fc219138b6f21150dd24b4f707230b104cb392b19e22dcfeebc694f1f22
3
+ size 14244
checkpoint-17853/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dd67417cb4296dc3f875daadfee81e61339c723041a2054f28dda372b4eee1f
3
+ size 988
checkpoint-17853/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df865c299a5e9fb3ef74a89a037fb47585b13ef61005667570a503aef3dbc194
3
+ size 1064
checkpoint-17853/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-17853/special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,
35
+ "single_word": false
36
+ }
37
+ }
checkpoint-17853/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-17853/tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 256,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "[UNK]"
65
+ }
checkpoint-17853/trainer_state.json ADDED
@@ -0,0 +1,313 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 1000,
7
+ "global_step": 17853,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.00016803898504453034,
14
+ "grad_norm": 6.990426540374756,
15
+ "learning_rate": 0.0,
16
+ "loss": 2.5326,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.16803898504453033,
21
+ "grad_norm": 4.953593730926514,
22
+ "learning_rate": 4.196597353497165e-06,
23
+ "loss": 2.6779,
24
+ "step": 1000
25
+ },
26
+ {
27
+ "epoch": 0.16803898504453033,
28
+ "eval_cosine_accuracy": 0.9457356333732605,
29
+ "eval_loss": 1.3122717142105103,
30
+ "eval_runtime": 21.2029,
31
+ "eval_samples_per_second": 448.476,
32
+ "eval_steps_per_second": 3.537,
33
+ "step": 1000
34
+ },
35
+ {
36
+ "epoch": 0.33607797008906065,
37
+ "grad_norm": 5.172318458557129,
38
+ "learning_rate": 8.397395505145979e-06,
39
+ "loss": 2.1925,
40
+ "step": 2000
41
+ },
42
+ {
43
+ "epoch": 0.33607797008906065,
44
+ "eval_cosine_accuracy": 0.951729953289032,
45
+ "eval_loss": 1.2547080516815186,
46
+ "eval_runtime": 21.0477,
47
+ "eval_samples_per_second": 451.783,
48
+ "eval_steps_per_second": 3.563,
49
+ "step": 2000
50
+ },
51
+ {
52
+ "epoch": 0.504116955133591,
53
+ "grad_norm": 5.013792514801025,
54
+ "learning_rate": 1.2598193656794792e-05,
55
+ "loss": 1.9607,
56
+ "step": 3000
57
+ },
58
+ {
59
+ "epoch": 0.504116955133591,
60
+ "eval_cosine_accuracy": 0.9543590545654297,
61
+ "eval_loss": 1.2117713689804077,
62
+ "eval_runtime": 21.1746,
63
+ "eval_samples_per_second": 449.076,
64
+ "eval_steps_per_second": 3.542,
65
+ "step": 3000
66
+ },
67
+ {
68
+ "epoch": 0.6721559401781213,
69
+ "grad_norm": 5.219577312469482,
70
+ "learning_rate": 1.6798991808443605e-05,
71
+ "loss": 1.7977,
72
+ "step": 4000
73
+ },
74
+ {
75
+ "epoch": 0.6721559401781213,
76
+ "eval_cosine_accuracy": 0.9588810801506042,
77
+ "eval_loss": 1.1573827266693115,
78
+ "eval_runtime": 20.9565,
79
+ "eval_samples_per_second": 453.749,
80
+ "eval_steps_per_second": 3.579,
81
+ "step": 4000
82
+ },
83
+ {
84
+ "epoch": 0.8401949252226516,
85
+ "grad_norm": 5.110533714294434,
86
+ "learning_rate": 1.9751089639237518e-05,
87
+ "loss": 1.6686,
88
+ "step": 5000
89
+ },
90
+ {
91
+ "epoch": 0.8401949252226516,
92
+ "eval_cosine_accuracy": 0.9588810801506042,
93
+ "eval_loss": 1.1438082456588745,
94
+ "eval_runtime": 20.8496,
95
+ "eval_samples_per_second": 456.075,
96
+ "eval_steps_per_second": 3.597,
97
+ "step": 5000
98
+ },
99
+ {
100
+ "epoch": 1.008233910267182,
101
+ "grad_norm": 4.6514716148376465,
102
+ "learning_rate": 1.870398571653626e-05,
103
+ "loss": 1.5091,
104
+ "step": 6000
105
+ },
106
+ {
107
+ "epoch": 1.008233910267182,
108
+ "eval_cosine_accuracy": 0.9621411561965942,
109
+ "eval_loss": 1.1130626201629639,
110
+ "eval_runtime": 22.292,
111
+ "eval_samples_per_second": 426.566,
112
+ "eval_steps_per_second": 3.364,
113
+ "step": 6000
114
+ },
115
+ {
116
+ "epoch": 1.1762728953117123,
117
+ "grad_norm": 5.095766544342041,
118
+ "learning_rate": 1.765373102977472e-05,
119
+ "loss": 1.5015,
120
+ "step": 7000
121
+ },
122
+ {
123
+ "epoch": 1.1762728953117123,
124
+ "eval_cosine_accuracy": 0.9629824161529541,
125
+ "eval_loss": 1.0990869998931885,
126
+ "eval_runtime": 20.8764,
127
+ "eval_samples_per_second": 455.49,
128
+ "eval_steps_per_second": 3.593,
129
+ "step": 7000
130
+ },
131
+ {
132
+ "epoch": 1.3443118803562426,
133
+ "grad_norm": 4.731724262237549,
134
+ "learning_rate": 1.6603476343013184e-05,
135
+ "loss": 1.4365,
136
+ "step": 8000
137
+ },
138
+ {
139
+ "epoch": 1.3443118803562426,
140
+ "eval_cosine_accuracy": 0.9641392230987549,
141
+ "eval_loss": 1.0847463607788086,
142
+ "eval_runtime": 20.8961,
143
+ "eval_samples_per_second": 455.06,
144
+ "eval_steps_per_second": 3.589,
145
+ "step": 8000
146
+ },
147
+ {
148
+ "epoch": 1.512350865400773,
149
+ "grad_norm": 4.810811519622803,
150
+ "learning_rate": 1.5553221656251644e-05,
151
+ "loss": 1.4074,
152
+ "step": 9000
153
+ },
154
+ {
155
+ "epoch": 1.512350865400773,
156
+ "eval_cosine_accuracy": 0.9646650552749634,
157
+ "eval_loss": 1.072762131690979,
158
+ "eval_runtime": 20.8161,
159
+ "eval_samples_per_second": 456.809,
160
+ "eval_steps_per_second": 3.603,
161
+ "step": 9000
162
+ },
163
+ {
164
+ "epoch": 1.6803898504453034,
165
+ "grad_norm": 4.884791374206543,
166
+ "learning_rate": 1.4502966969490102e-05,
167
+ "loss": 1.3672,
168
+ "step": 10000
169
+ },
170
+ {
171
+ "epoch": 1.6803898504453034,
172
+ "eval_cosine_accuracy": 0.9636133909225464,
173
+ "eval_loss": 1.0661137104034424,
174
+ "eval_runtime": 21.082,
175
+ "eval_samples_per_second": 451.049,
176
+ "eval_steps_per_second": 3.558,
177
+ "step": 10000
178
+ },
179
+ {
180
+ "epoch": 1.8484288354898335,
181
+ "grad_norm": 5.121285915374756,
182
+ "learning_rate": 1.3452712282728561e-05,
183
+ "loss": 1.3327,
184
+ "step": 11000
185
+ },
186
+ {
187
+ "epoch": 1.8484288354898335,
188
+ "eval_cosine_accuracy": 0.9652960300445557,
189
+ "eval_loss": 1.0594764947891235,
190
+ "eval_runtime": 21.5369,
191
+ "eval_samples_per_second": 441.522,
192
+ "eval_steps_per_second": 3.482,
193
+ "step": 11000
194
+ },
195
+ {
196
+ "epoch": 2.016467820534364,
197
+ "grad_norm": 5.241132736206055,
198
+ "learning_rate": 1.2403507850653784e-05,
199
+ "loss": 1.2517,
200
+ "step": 12000
201
+ },
202
+ {
203
+ "epoch": 2.016467820534364,
204
+ "eval_cosine_accuracy": 0.9668734669685364,
205
+ "eval_loss": 1.0559396743774414,
206
+ "eval_runtime": 21.0313,
207
+ "eval_samples_per_second": 452.135,
208
+ "eval_steps_per_second": 3.566,
209
+ "step": 12000
210
+ },
211
+ {
212
+ "epoch": 2.184506805578894,
213
+ "grad_norm": 4.983489513397217,
214
+ "learning_rate": 1.1353253163892244e-05,
215
+ "loss": 1.267,
216
+ "step": 13000
217
+ },
218
+ {
219
+ "epoch": 2.184506805578894,
220
+ "eval_cosine_accuracy": 0.965927004814148,
221
+ "eval_loss": 1.0504363775253296,
222
+ "eval_runtime": 21.0307,
223
+ "eval_samples_per_second": 452.149,
224
+ "eval_steps_per_second": 3.566,
225
+ "step": 13000
226
+ },
227
+ {
228
+ "epoch": 2.3525457906234246,
229
+ "grad_norm": 5.162084102630615,
230
+ "learning_rate": 1.0302998477130705e-05,
231
+ "loss": 1.2527,
232
+ "step": 14000
233
+ },
234
+ {
235
+ "epoch": 2.3525457906234246,
236
+ "eval_cosine_accuracy": 0.9664528369903564,
237
+ "eval_loss": 1.0555484294891357,
238
+ "eval_runtime": 21.0321,
239
+ "eval_samples_per_second": 452.118,
240
+ "eval_steps_per_second": 3.566,
241
+ "step": 14000
242
+ },
243
+ {
244
+ "epoch": 2.520584775667955,
245
+ "grad_norm": 5.536242485046387,
246
+ "learning_rate": 9.252743790369165e-06,
247
+ "loss": 1.2288,
248
+ "step": 15000
249
+ },
250
+ {
251
+ "epoch": 2.520584775667955,
252
+ "eval_cosine_accuracy": 0.9668734669685364,
253
+ "eval_loss": 1.0455682277679443,
254
+ "eval_runtime": 20.9211,
255
+ "eval_samples_per_second": 454.517,
256
+ "eval_steps_per_second": 3.585,
257
+ "step": 15000
258
+ },
259
+ {
260
+ "epoch": 2.688623760712485,
261
+ "grad_norm": 4.500242233276367,
262
+ "learning_rate": 8.202489103607626e-06,
263
+ "loss": 1.2237,
264
+ "step": 16000
265
+ },
266
+ {
267
+ "epoch": 2.688623760712485,
268
+ "eval_cosine_accuracy": 0.9684509634971619,
269
+ "eval_loss": 1.0359514951705933,
270
+ "eval_runtime": 21.2644,
271
+ "eval_samples_per_second": 447.18,
272
+ "eval_steps_per_second": 3.527,
273
+ "step": 16000
274
+ },
275
+ {
276
+ "epoch": 2.8566627457570157,
277
+ "grad_norm": 5.441108703613281,
278
+ "learning_rate": 7.153284671532848e-06,
279
+ "loss": 1.2137,
280
+ "step": 17000
281
+ },
282
+ {
283
+ "epoch": 2.8566627457570157,
284
+ "eval_cosine_accuracy": 0.9691870808601379,
285
+ "eval_loss": 1.0284314155578613,
286
+ "eval_runtime": 22.2121,
287
+ "eval_samples_per_second": 428.099,
288
+ "eval_steps_per_second": 3.377,
289
+ "step": 17000
290
+ }
291
+ ],
292
+ "logging_steps": 1000,
293
+ "max_steps": 23804,
294
+ "num_input_tokens_seen": 0,
295
+ "num_train_epochs": 4,
296
+ "save_steps": 500,
297
+ "stateful_callbacks": {
298
+ "TrainerControl": {
299
+ "args": {
300
+ "should_epoch_stop": false,
301
+ "should_evaluate": false,
302
+ "should_log": false,
303
+ "should_save": true,
304
+ "should_training_stop": false
305
+ },
306
+ "attributes": {}
307
+ }
308
+ },
309
+ "total_flos": 0.0,
310
+ "train_batch_size": 128,
311
+ "trial_name": null,
312
+ "trial_params": null
313
+ }
checkpoint-17853/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c48a6e3a54168e1b0687855eed56eb935c1faed22de09860d9634b0fbd45fc4
3
+ size 5752
checkpoint-17853/vocab.txt ADDED
The diff for this file is too large to render. See raw diff