LamaDiab commited on
Commit
b2325fc
·
verified ·
1 Parent(s): 3bd8638

Training in progress, epoch 4, checkpoint

Browse files
checkpoint-8660/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-8660/README.md ADDED
@@ -0,0 +1,421 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:554030
9
+ - loss:MultipleNegativesSymmetricRankingLoss
10
+ widget:
11
+ - source_sentence: pacman smoked turkey
12
+ sentences:
13
+ - omelette with fresh basil & cherry tomatoes
14
+ - mozzarella pacman
15
+ - ' tote '
16
+ - source_sentence: mfk 140 static kite - pulpy
17
+ sentences:
18
+ - kite for young children
19
+ - 'leather wrap skirt available in two colors white and black. outside materials:
20
+ leather.'
21
+ - adult long-sleeved thermal football base layer top keepcomfort 100 - black
22
+ - source_sentence: large zk diffuser - pack 7
23
+ sentences:
24
+ - ' wrap'
25
+ - zk diffuser
26
+ - leo
27
+ - source_sentence: emerald green double-face drape pajama (short pants)
28
+ sentences:
29
+ - fiber cushion
30
+ - 'the double-faced design pajama of the fabric ensures that both sides have a glossy
31
+ finish, providing a stunning look and feel. inside and outside material: double
32
+ face satin'
33
+ - sky blue seashell set
34
+ - source_sentence: to - do - dahab
35
+ sentences:
36
+ - notebook ruled glue binding soft cover 14.2 x 20.8 cm 160 sheets 80 gsm leather
37
+ cover heeton no a25-835
38
+ - ' notebook'
39
+ - ' advance repair lotion'
40
+ pipeline_tag: sentence-similarity
41
+ library_name: sentence-transformers
42
+ metrics:
43
+ - cosine_accuracy
44
+ model-index:
45
+ - name: SentenceTransformer
46
+ results:
47
+ - task:
48
+ type: triplet
49
+ name: Triplet
50
+ dataset:
51
+ name: Unknown
52
+ type: unknown
53
+ metrics:
54
+ - type: cosine_accuracy
55
+ value: 0.9602314829826355
56
+ name: Cosine Accuracy
57
+ ---
58
+
59
+ # SentenceTransformer
60
+
61
+ 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.
62
+
63
+ ## Model Details
64
+
65
+ ### Model Description
66
+ - **Model Type:** Sentence Transformer
67
+ <!-- - **Base model:** [Unknown](https://huggingface.co/unknown) -->
68
+ - **Maximum Sequence Length:** 512 tokens
69
+ - **Output Dimensionality:** 384 dimensions
70
+ - **Similarity Function:** Cosine Similarity
71
+ <!-- - **Training Dataset:** Unknown -->
72
+ <!-- - **Language:** Unknown -->
73
+ <!-- - **License:** Unknown -->
74
+
75
+ ### Model Sources
76
+
77
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
78
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
79
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
80
+
81
+ ### Full Model Architecture
82
+
83
+ ```
84
+ SentenceTransformer(
85
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False, 'architecture': 'BertModel'})
86
+ (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})
87
+ )
88
+ ```
89
+
90
+ ## Usage
91
+
92
+ ### Direct Usage (Sentence Transformers)
93
+
94
+ First install the Sentence Transformers library:
95
+
96
+ ```bash
97
+ pip install -U sentence-transformers
98
+ ```
99
+
100
+ Then you can load this model and run inference.
101
+ ```python
102
+ from sentence_transformers import SentenceTransformer
103
+
104
+ # Download from the 🤗 Hub
105
+ model = SentenceTransformer("LamaDiab/STSBMiniLM-V9Data-256BATCH-SemanticEngine")
106
+ # Run inference
107
+ sentences = [
108
+ 'to - do - dahab',
109
+ ' notebook',
110
+ 'notebook ruled glue binding soft cover 14.2 x 20.8 cm 160 sheets 80 gsm leather cover heeton no a25-835',
111
+ ]
112
+ embeddings = model.encode(sentences)
113
+ print(embeddings.shape)
114
+ # [3, 384]
115
+
116
+ # Get the similarity scores for the embeddings
117
+ similarities = model.similarity(embeddings, embeddings)
118
+ print(similarities)
119
+ # tensor([[1.0000, 0.3155, 0.2813],
120
+ # [0.3155, 1.0000, 0.7344],
121
+ # [0.2813, 0.7344, 1.0000]])
122
+ ```
123
+
124
+ <!--
125
+ ### Direct Usage (Transformers)
126
+
127
+ <details><summary>Click to see the direct usage in Transformers</summary>
128
+
129
+ </details>
130
+ -->
131
+
132
+ <!--
133
+ ### Downstream Usage (Sentence Transformers)
134
+
135
+ You can finetune this model on your own dataset.
136
+
137
+ <details><summary>Click to expand</summary>
138
+
139
+ </details>
140
+ -->
141
+
142
+ <!--
143
+ ### Out-of-Scope Use
144
+
145
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
146
+ -->
147
+
148
+ ## Evaluation
149
+
150
+ ### Metrics
151
+
152
+ #### Triplet
153
+
154
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
155
+
156
+ | Metric | Value |
157
+ |:--------------------|:-----------|
158
+ | **cosine_accuracy** | **0.9602** |
159
+
160
+ <!--
161
+ ## Bias, Risks and Limitations
162
+
163
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
164
+ -->
165
+
166
+ <!--
167
+ ### Recommendations
168
+
169
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
170
+ -->
171
+
172
+ ## Training Details
173
+
174
+ ### Training Dataset
175
+
176
+ #### Unnamed Dataset
177
+
178
+ * Size: 554,030 training samples
179
+ * Columns: <code>anchor</code> and <code>positive</code>
180
+ * Approximate statistics based on the first 1000 samples:
181
+ | | anchor | positive |
182
+ |:--------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
183
+ | type | string | string |
184
+ | details | <ul><li>min: 3 tokens</li><li>mean: 7.19 tokens</li><li>max: 44 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 8.03 tokens</li><li>max: 58 tokens</li></ul> |
185
+ * Samples:
186
+ | anchor | positive |
187
+ |:---------------------------------------|:------------------------------------|
188
+ | <code>grass fed butter basbousa</code> | <code>coconut flour basbousa</code> |
189
+ | <code>silver printer tape</code> | <code>printer labels</code> |
190
+ | <code>top</code> | <code>charcoal tee</code> |
191
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
192
+ ```json
193
+ {
194
+ "scale": 20.0,
195
+ "similarity_fct": "cos_sim",
196
+ "gather_across_devices": false
197
+ }
198
+ ```
199
+
200
+ ### Evaluation Dataset
201
+
202
+ #### Unnamed Dataset
203
+
204
+ * Size: 9,505 evaluation samples
205
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
206
+ * Approximate statistics based on the first 1000 samples:
207
+ | | anchor | positive | negative |
208
+ |:--------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
209
+ | type | string | string | string |
210
+ | 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.2 tokens</li><li>max: 150 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.58 tokens</li><li>max: 34 tokens</li></ul> |
211
+ * Samples:
212
+ | anchor | positive | negative |
213
+ |:---------------------------------------------------------------------|:-----------------------------------------|:--------------------------------------------------------------------------|
214
+ | <code>pilot mechanical pencil progrex h-127 - 0.7 mm</code> | <code> progrex pencil </code> | <code>canvas frame 100% cotton 380 gsm 2040 cm rectangular m e5305</code> |
215
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code> marker pen </code> | <code>blue to-do list</code> |
216
+ | <code>first person singular author: haruki murakami</code> | <code> first person singular book</code> | <code>sesame street 5-minute stories</code> |
217
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
218
+ ```json
219
+ {
220
+ "scale": 20.0,
221
+ "similarity_fct": "cos_sim",
222
+ "gather_across_devices": false
223
+ }
224
+ ```
225
+
226
+ ### Training Hyperparameters
227
+ #### Non-Default Hyperparameters
228
+
229
+ - `eval_strategy`: steps
230
+ - `per_device_train_batch_size`: 256
231
+ - `per_device_eval_batch_size`: 256
232
+ - `learning_rate`: 2e-05
233
+ - `weight_decay`: 0.001
234
+ - `num_train_epochs`: 6
235
+ - `warmup_steps`: 2596
236
+ - `fp16`: True
237
+ - `dataloader_num_workers`: 1
238
+ - `dataloader_prefetch_factor`: 2
239
+ - `dataloader_persistent_workers`: True
240
+ - `push_to_hub`: True
241
+ - `hub_model_id`: LamaDiab/STSBMiniLM-V9Data-256BATCH-SemanticEngine
242
+ - `hub_strategy`: all_checkpoints
243
+ - `batch_sampler`: no_duplicates
244
+
245
+ #### All Hyperparameters
246
+ <details><summary>Click to expand</summary>
247
+
248
+ - `overwrite_output_dir`: False
249
+ - `do_predict`: False
250
+ - `eval_strategy`: steps
251
+ - `prediction_loss_only`: True
252
+ - `per_device_train_batch_size`: 256
253
+ - `per_device_eval_batch_size`: 256
254
+ - `per_gpu_train_batch_size`: None
255
+ - `per_gpu_eval_batch_size`: None
256
+ - `gradient_accumulation_steps`: 1
257
+ - `eval_accumulation_steps`: None
258
+ - `torch_empty_cache_steps`: None
259
+ - `learning_rate`: 2e-05
260
+ - `weight_decay`: 0.001
261
+ - `adam_beta1`: 0.9
262
+ - `adam_beta2`: 0.999
263
+ - `adam_epsilon`: 1e-08
264
+ - `max_grad_norm`: 1.0
265
+ - `num_train_epochs`: 6
266
+ - `max_steps`: -1
267
+ - `lr_scheduler_type`: linear
268
+ - `lr_scheduler_kwargs`: {}
269
+ - `warmup_ratio`: 0
270
+ - `warmup_steps`: 2596
271
+ - `log_level`: passive
272
+ - `log_level_replica`: warning
273
+ - `log_on_each_node`: True
274
+ - `logging_nan_inf_filter`: True
275
+ - `save_safetensors`: True
276
+ - `save_on_each_node`: False
277
+ - `save_only_model`: False
278
+ - `restore_callback_states_from_checkpoint`: False
279
+ - `no_cuda`: False
280
+ - `use_cpu`: False
281
+ - `use_mps_device`: False
282
+ - `seed`: 42
283
+ - `data_seed`: None
284
+ - `jit_mode_eval`: False
285
+ - `use_ipex`: False
286
+ - `bf16`: False
287
+ - `fp16`: True
288
+ - `fp16_opt_level`: O1
289
+ - `half_precision_backend`: auto
290
+ - `bf16_full_eval`: False
291
+ - `fp16_full_eval`: False
292
+ - `tf32`: None
293
+ - `local_rank`: 0
294
+ - `ddp_backend`: None
295
+ - `tpu_num_cores`: None
296
+ - `tpu_metrics_debug`: False
297
+ - `debug`: []
298
+ - `dataloader_drop_last`: False
299
+ - `dataloader_num_workers`: 1
300
+ - `dataloader_prefetch_factor`: 2
301
+ - `past_index`: -1
302
+ - `disable_tqdm`: False
303
+ - `remove_unused_columns`: True
304
+ - `label_names`: None
305
+ - `load_best_model_at_end`: False
306
+ - `ignore_data_skip`: False
307
+ - `fsdp`: []
308
+ - `fsdp_min_num_params`: 0
309
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
310
+ - `fsdp_transformer_layer_cls_to_wrap`: None
311
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
312
+ - `deepspeed`: None
313
+ - `label_smoothing_factor`: 0.0
314
+ - `optim`: adamw_torch
315
+ - `optim_args`: None
316
+ - `adafactor`: False
317
+ - `group_by_length`: False
318
+ - `length_column_name`: length
319
+ - `ddp_find_unused_parameters`: None
320
+ - `ddp_bucket_cap_mb`: None
321
+ - `ddp_broadcast_buffers`: False
322
+ - `dataloader_pin_memory`: True
323
+ - `dataloader_persistent_workers`: True
324
+ - `skip_memory_metrics`: True
325
+ - `use_legacy_prediction_loop`: False
326
+ - `push_to_hub`: True
327
+ - `resume_from_checkpoint`: None
328
+ - `hub_model_id`: LamaDiab/STSBMiniLM-V9Data-256BATCH-SemanticEngine
329
+ - `hub_strategy`: all_checkpoints
330
+ - `hub_private_repo`: None
331
+ - `hub_always_push`: False
332
+ - `hub_revision`: None
333
+ - `gradient_checkpointing`: False
334
+ - `gradient_checkpointing_kwargs`: None
335
+ - `include_inputs_for_metrics`: False
336
+ - `include_for_metrics`: []
337
+ - `eval_do_concat_batches`: True
338
+ - `fp16_backend`: auto
339
+ - `push_to_hub_model_id`: None
340
+ - `push_to_hub_organization`: None
341
+ - `mp_parameters`:
342
+ - `auto_find_batch_size`: False
343
+ - `full_determinism`: False
344
+ - `torchdynamo`: None
345
+ - `ray_scope`: last
346
+ - `ddp_timeout`: 1800
347
+ - `torch_compile`: False
348
+ - `torch_compile_backend`: None
349
+ - `torch_compile_mode`: None
350
+ - `include_tokens_per_second`: False
351
+ - `include_num_input_tokens_seen`: False
352
+ - `neftune_noise_alpha`: None
353
+ - `optim_target_modules`: None
354
+ - `batch_eval_metrics`: False
355
+ - `eval_on_start`: False
356
+ - `use_liger_kernel`: False
357
+ - `liger_kernel_config`: None
358
+ - `eval_use_gather_object`: False
359
+ - `average_tokens_across_devices`: False
360
+ - `prompts`: None
361
+ - `batch_sampler`: no_duplicates
362
+ - `multi_dataset_batch_sampler`: proportional
363
+ - `router_mapping`: {}
364
+ - `learning_rate_mapping`: {}
365
+
366
+ </details>
367
+
368
+ ### Training Logs
369
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
370
+ |:------:|:----:|:-------------:|:---------------:|:---------------:|
371
+ | 3.0023 | 6500 | - | 1.1430 | 0.9588 |
372
+ | 3.2333 | 7000 | - | 1.1254 | 0.9590 |
373
+ | 3.4642 | 7500 | - | 1.1334 | 0.9603 |
374
+ | 3.6952 | 8000 | - | 1.1090 | 0.9599 |
375
+ | 3.9261 | 8500 | - | 1.1000 | 0.9602 |
376
+ | 4.0 | 8660 | 1.7181 | - | - |
377
+
378
+
379
+ ### Framework Versions
380
+ - Python: 3.11.13
381
+ - Sentence Transformers: 5.1.2
382
+ - Transformers: 4.53.3
383
+ - PyTorch: 2.6.0+cu124
384
+ - Accelerate: 1.9.0
385
+ - Datasets: 4.4.1
386
+ - Tokenizers: 0.21.2
387
+
388
+ ## Citation
389
+
390
+ ### BibTeX
391
+
392
+ #### Sentence Transformers
393
+ ```bibtex
394
+ @inproceedings{reimers-2019-sentence-bert,
395
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
396
+ author = "Reimers, Nils and Gurevych, Iryna",
397
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
398
+ month = "11",
399
+ year = "2019",
400
+ publisher = "Association for Computational Linguistics",
401
+ url = "https://arxiv.org/abs/1908.10084",
402
+ }
403
+ ```
404
+
405
+ <!--
406
+ ## Glossary
407
+
408
+ *Clearly define terms in order to be accessible across audiences.*
409
+ -->
410
+
411
+ <!--
412
+ ## Model Card Authors
413
+
414
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
415
+ -->
416
+
417
+ <!--
418
+ ## Model Card Contact
419
+
420
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
421
+ -->
checkpoint-8660/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "id2label": {
12
+ "0": "LABEL_0"
13
+ },
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 1536,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_eps": 1e-12,
20
+ "max_position_embeddings": 512,
21
+ "model_type": "bert",
22
+ "num_attention_heads": 12,
23
+ "num_hidden_layers": 6,
24
+ "pad_token_id": 0,
25
+ "position_embedding_type": "absolute",
26
+ "problem_type": "regression",
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.53.3",
29
+ "type_vocab_size": 2,
30
+ "use_cache": true,
31
+ "vocab_size": 30522
32
+ }
checkpoint-8660/config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "SentenceTransformer",
3
+ "__version__": {
4
+ "sentence_transformers": "5.1.2",
5
+ "transformers": "4.53.3",
6
+ "pytorch": "2.6.0+cu124"
7
+ },
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
checkpoint-8660/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:093386d99653077178a2e9d2bd02c64c3248d7a071428ab929e2f096363e5287
3
+ size 90864192
checkpoint-8660/modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ]
checkpoint-8660/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df87e6732431579b4ab2ff9bf9f019fc3b0ada57a936e874b73190bd7bd7738b
3
+ size 180607738
checkpoint-8660/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0f733dddf57a363b32e569dbfa3311380a1ad0476fa6595bc3ece4f76d37e48
3
+ size 14244
checkpoint-8660/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5ba0ab1145e636ccf50c803768bff219ca1c9fcf4a80f770bcaf501a0c0954e
3
+ size 988
checkpoint-8660/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c78305bc6bb27035eaa46abeae01e45bb751e239fbb45f62250036d25fae02f
3
+ size 1064
checkpoint-8660/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 512,
3
+ "do_lower_case": false
4
+ }
checkpoint-8660/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-8660/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-8660/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": 512,
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-8660/trainer_state.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 4.0,
6
+ "eval_steps": 500,
7
+ "global_step": 8660,
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.00046189376443418013,
14
+ "grad_norm": 12.800962448120117,
15
+ "learning_rate": 0.0,
16
+ "loss": 4.0583,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.23094688221709006,
21
+ "eval_cosine_accuracy": 0.9421356916427612,
22
+ "eval_loss": 1.4610942602157593,
23
+ "eval_runtime": 21.999,
24
+ "eval_samples_per_second": 432.064,
25
+ "eval_steps_per_second": 1.727,
26
+ "step": 500
27
+ },
28
+ {
29
+ "epoch": 0.4618937644341801,
30
+ "eval_cosine_accuracy": 0.9457128047943115,
31
+ "eval_loss": 1.3612146377563477,
32
+ "eval_runtime": 21.8898,
33
+ "eval_samples_per_second": 434.22,
34
+ "eval_steps_per_second": 1.736,
35
+ "step": 1000
36
+ },
37
+ {
38
+ "epoch": 0.6928406466512702,
39
+ "eval_cosine_accuracy": 0.9528669118881226,
40
+ "eval_loss": 1.288307547569275,
41
+ "eval_runtime": 21.8186,
42
+ "eval_samples_per_second": 435.638,
43
+ "eval_steps_per_second": 1.742,
44
+ "step": 1500
45
+ },
46
+ {
47
+ "epoch": 0.9237875288683602,
48
+ "eval_cosine_accuracy": 0.9522356390953064,
49
+ "eval_loss": 1.2684112787246704,
50
+ "eval_runtime": 21.8066,
51
+ "eval_samples_per_second": 435.877,
52
+ "eval_steps_per_second": 1.743,
53
+ "step": 2000
54
+ },
55
+ {
56
+ "epoch": 1.0,
57
+ "grad_norm": 18.849971771240234,
58
+ "learning_rate": 1.6664098613251156e-05,
59
+ "loss": 2.6124,
60
+ "step": 2165
61
+ },
62
+ {
63
+ "epoch": 1.1547344110854503,
64
+ "eval_cosine_accuracy": 0.9541293978691101,
65
+ "eval_loss": 1.2559542655944824,
66
+ "eval_runtime": 21.9828,
67
+ "eval_samples_per_second": 432.383,
68
+ "eval_steps_per_second": 1.729,
69
+ "step": 2500
70
+ },
71
+ {
72
+ "epoch": 1.3856812933025404,
73
+ "eval_cosine_accuracy": 0.956233561038971,
74
+ "eval_loss": 1.1885266304016113,
75
+ "eval_runtime": 23.3704,
76
+ "eval_samples_per_second": 406.71,
77
+ "eval_steps_per_second": 1.626,
78
+ "step": 3000
79
+ },
80
+ {
81
+ "epoch": 1.6166281755196303,
82
+ "eval_cosine_accuracy": 0.9557075500488281,
83
+ "eval_loss": 1.187910556793213,
84
+ "eval_runtime": 21.9291,
85
+ "eval_samples_per_second": 433.442,
86
+ "eval_steps_per_second": 1.733,
87
+ "step": 3500
88
+ },
89
+ {
90
+ "epoch": 1.8475750577367207,
91
+ "eval_cosine_accuracy": 0.9580221176147461,
92
+ "eval_loss": 1.1555284261703491,
93
+ "eval_runtime": 21.9378,
94
+ "eval_samples_per_second": 433.27,
95
+ "eval_steps_per_second": 1.732,
96
+ "step": 4000
97
+ },
98
+ {
99
+ "epoch": 2.0,
100
+ "grad_norm": 17.494279861450195,
101
+ "learning_rate": 1.1120800205180818e-05,
102
+ "loss": 1.986,
103
+ "step": 4330
104
+ },
105
+ {
106
+ "epoch": 2.0785219399538106,
107
+ "eval_cosine_accuracy": 0.9582325220108032,
108
+ "eval_loss": 1.154712438583374,
109
+ "eval_runtime": 22.0846,
110
+ "eval_samples_per_second": 430.391,
111
+ "eval_steps_per_second": 1.721,
112
+ "step": 4500
113
+ },
114
+ {
115
+ "epoch": 2.3094688221709005,
116
+ "eval_cosine_accuracy": 0.9584429264068604,
117
+ "eval_loss": 1.145609974861145,
118
+ "eval_runtime": 22.0404,
119
+ "eval_samples_per_second": 431.254,
120
+ "eval_steps_per_second": 1.724,
121
+ "step": 5000
122
+ },
123
+ {
124
+ "epoch": 2.540415704387991,
125
+ "eval_cosine_accuracy": 0.9585481286048889,
126
+ "eval_loss": 1.135787844657898,
127
+ "eval_runtime": 23.3896,
128
+ "eval_samples_per_second": 406.377,
129
+ "eval_steps_per_second": 1.625,
130
+ "step": 5500
131
+ },
132
+ {
133
+ "epoch": 2.771362586605081,
134
+ "eval_cosine_accuracy": 0.9596002101898193,
135
+ "eval_loss": 1.1278640031814575,
136
+ "eval_runtime": 21.8218,
137
+ "eval_samples_per_second": 435.573,
138
+ "eval_steps_per_second": 1.741,
139
+ "step": 6000
140
+ },
141
+ {
142
+ "epoch": 3.0,
143
+ "grad_norm": 19.504749298095703,
144
+ "learning_rate": 2.0518081559374197e-08,
145
+ "loss": 1.8005,
146
+ "step": 6495
147
+ },
148
+ {
149
+ "epoch": 3.0023094688221708,
150
+ "eval_cosine_accuracy": 0.958758533000946,
151
+ "eval_loss": 1.1430408954620361,
152
+ "eval_runtime": 21.8232,
153
+ "eval_samples_per_second": 435.545,
154
+ "eval_steps_per_second": 1.741,
155
+ "step": 6500
156
+ },
157
+ {
158
+ "epoch": 3.233256351039261,
159
+ "eval_cosine_accuracy": 0.9589689373970032,
160
+ "eval_loss": 1.1253587007522583,
161
+ "eval_runtime": 21.5629,
162
+ "eval_samples_per_second": 440.804,
163
+ "eval_steps_per_second": 1.762,
164
+ "step": 7000
165
+ },
166
+ {
167
+ "epoch": 3.464203233256351,
168
+ "eval_cosine_accuracy": 0.9603366851806641,
169
+ "eval_loss": 1.1333616971969604,
170
+ "eval_runtime": 21.5578,
171
+ "eval_samples_per_second": 440.907,
172
+ "eval_steps_per_second": 1.763,
173
+ "step": 7500
174
+ },
175
+ {
176
+ "epoch": 3.695150115473441,
177
+ "eval_cosine_accuracy": 0.959915816783905,
178
+ "eval_loss": 1.1089916229248047,
179
+ "eval_runtime": 21.4736,
180
+ "eval_samples_per_second": 442.637,
181
+ "eval_steps_per_second": 1.77,
182
+ "step": 8000
183
+ },
184
+ {
185
+ "epoch": 3.9260969976905313,
186
+ "eval_cosine_accuracy": 0.9602314829826355,
187
+ "eval_loss": 1.1000142097473145,
188
+ "eval_runtime": 21.6139,
189
+ "eval_samples_per_second": 439.764,
190
+ "eval_steps_per_second": 1.758,
191
+ "step": 8500
192
+ },
193
+ {
194
+ "epoch": 4.0,
195
+ "grad_norm": 19.312646865844727,
196
+ "learning_rate": 8.341350779295749e-06,
197
+ "loss": 1.7181,
198
+ "step": 8660
199
+ }
200
+ ],
201
+ "logging_steps": 500,
202
+ "max_steps": 12990,
203
+ "num_input_tokens_seen": 0,
204
+ "num_train_epochs": 6,
205
+ "save_steps": 500,
206
+ "stateful_callbacks": {
207
+ "TrainerControl": {
208
+ "args": {
209
+ "should_epoch_stop": false,
210
+ "should_evaluate": false,
211
+ "should_log": false,
212
+ "should_save": true,
213
+ "should_training_stop": false
214
+ },
215
+ "attributes": {}
216
+ }
217
+ },
218
+ "total_flos": 0.0,
219
+ "train_batch_size": 256,
220
+ "trial_name": null,
221
+ "trial_params": null
222
+ }
checkpoint-8660/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25085993bbb4e0fc0ff3e5952149fde01bd6284733d9d74eb12df889f6548c9d
3
+ size 5752
checkpoint-8660/vocab.txt ADDED
The diff for this file is too large to render. See raw diff