LamaDiab commited on
Commit
3162345
·
verified ·
1 Parent(s): 78e932b

Training in progress, epoch 1, checkpoint

Browse files
checkpoint-5951/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-5951/README.md ADDED
@@ -0,0 +1,435 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ base_model: sentence-transformers/all-MiniLM-L6-v2
11
+ widget:
12
+ - source_sentence: derby cap toe shoes - brown
13
+ sentences:
14
+ - blue stripped poncho
15
+ - men shoes
16
+ - ' soup'
17
+ - source_sentence: disney lion king chess
18
+ sentences:
19
+ - ' chess game'
20
+ - victoria aveyard book
21
+ - oula
22
+ - source_sentence: set of 3 consecutive sizes clutches
23
+ sentences:
24
+ - kids backpack
25
+ - '100% pu material
26
+
27
+ 100% polyester inner material.
28
+
29
+ one compartment.
30
+
31
+ zipper closure.
32
+
33
+ comes with satin strap.
34
+
35
+ dimensions.
36
+
37
+ length 23 cm.
38
+
39
+ height 17 cm.
40
+
41
+ width 2 cm.'
42
+ - must kindergarten trolley bag sweety 2 cases
43
+ - source_sentence: xbase 100 kids swimming goggles - clear lenses - blue / yellow
44
+ sentences:
45
+ - ' salami'
46
+ - xbase goggles
47
+ - big boss pearls
48
+ - source_sentence: fun hair color machine game
49
+ sentences:
50
+ - lazoomi premium foll scent diffuser
51
+ - girls game
52
+ - pet toy
53
+ pipeline_tag: sentence-similarity
54
+ library_name: sentence-transformers
55
+ metrics:
56
+ - cosine_accuracy
57
+ model-index:
58
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
59
+ results:
60
+ - task:
61
+ type: triplet
62
+ name: Triplet
63
+ dataset:
64
+ name: Unknown
65
+ type: unknown
66
+ metrics:
67
+ - type: cosine_accuracy
68
+ value: 0.9588810801506042
69
+ name: Cosine Accuracy
70
+ ---
71
+
72
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
73
+
74
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2). 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.
75
+
76
+ ## Model Details
77
+
78
+ ### Model Description
79
+ - **Model Type:** Sentence Transformer
80
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
81
+ - **Maximum Sequence Length:** 256 tokens
82
+ - **Output Dimensionality:** 384 dimensions
83
+ - **Similarity Function:** Cosine Similarity
84
+ <!-- - **Training Dataset:** Unknown -->
85
+ <!-- - **Language:** Unknown -->
86
+ <!-- - **License:** Unknown -->
87
+
88
+ ### Model Sources
89
+
90
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
91
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
92
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
93
+
94
+ ### Full Model Architecture
95
+
96
+ ```
97
+ SentenceTransformer(
98
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
99
+ (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})
100
+ (2): Normalize()
101
+ )
102
+ ```
103
+
104
+ ## Usage
105
+
106
+ ### Direct Usage (Sentence Transformers)
107
+
108
+ First install the Sentence Transformers library:
109
+
110
+ ```bash
111
+ pip install -U sentence-transformers
112
+ ```
113
+
114
+ Then you can load this model and run inference.
115
+ ```python
116
+ from sentence_transformers import SentenceTransformer
117
+
118
+ # Download from the 🤗 Hub
119
+ model = SentenceTransformer("LamaDiab/MiniLM-V12Data-128BATCH-SemanticEngine")
120
+ # Run inference
121
+ sentences = [
122
+ 'fun hair color machine game',
123
+ 'girls game',
124
+ 'lazoomi premium foll scent diffuser',
125
+ ]
126
+ embeddings = model.encode(sentences)
127
+ print(embeddings.shape)
128
+ # [3, 384]
129
+
130
+ # Get the similarity scores for the embeddings
131
+ similarities = model.similarity(embeddings, embeddings)
132
+ print(similarities)
133
+ # tensor([[1.0000, 0.7566, 0.2125],
134
+ # [0.7566, 1.0000, 0.1513],
135
+ # [0.2125, 0.1513, 1.0000]])
136
+ ```
137
+
138
+ <!--
139
+ ### Direct Usage (Transformers)
140
+
141
+ <details><summary>Click to see the direct usage in Transformers</summary>
142
+
143
+ </details>
144
+ -->
145
+
146
+ <!--
147
+ ### Downstream Usage (Sentence Transformers)
148
+
149
+ You can finetune this model on your own dataset.
150
+
151
+ <details><summary>Click to expand</summary>
152
+
153
+ </details>
154
+ -->
155
+
156
+ <!--
157
+ ### Out-of-Scope Use
158
+
159
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
160
+ -->
161
+
162
+ ## Evaluation
163
+
164
+ ### Metrics
165
+
166
+ #### Triplet
167
+
168
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
169
+
170
+ | Metric | Value |
171
+ |:--------------------|:-----------|
172
+ | **cosine_accuracy** | **0.9589** |
173
+
174
+ <!--
175
+ ## Bias, Risks and Limitations
176
+
177
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
178
+ -->
179
+
180
+ <!--
181
+ ### Recommendations
182
+
183
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
184
+ -->
185
+
186
+ ## Training Details
187
+
188
+ ### Training Dataset
189
+
190
+ #### Unnamed Dataset
191
+
192
+ * Size: 761,633 training samples
193
+ * Columns: <code>anchor</code> and <code>positive</code>
194
+ * Approximate statistics based on the first 1000 samples:
195
+ | | anchor | positive |
196
+ |:--------|:----------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
197
+ | type | string | string |
198
+ | 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> |
199
+ * Samples:
200
+ | anchor | positive |
201
+ |:---------------------------------------|:------------------------------------------------|
202
+ | <code>flyon big/xl back support</code> | <code>flyon elastic back supp./l/xl/f502</code> |
203
+ | <code>mixed berries doughnuts</code> | <code>restaurants</code> |
204
+ | <code>juicy flesh snake fruit</code> | <code>supermarkets</code> |
205
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
206
+ ```json
207
+ {
208
+ "scale": 20.0,
209
+ "similarity_fct": "cos_sim",
210
+ "gather_across_devices": false
211
+ }
212
+ ```
213
+
214
+ ### Evaluation Dataset
215
+
216
+ #### Unnamed Dataset
217
+
218
+ * Size: 9,509 evaluation samples
219
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
220
+ * Approximate statistics based on the first 1000 samples:
221
+ | | anchor | positive | negative |
222
+ |:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
223
+ | type | string | string | string |
224
+ | 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> |
225
+ * Samples:
226
+ | anchor | positive | negative |
227
+ |:---------------------------------------------------------------------|:-----------------------------|:----------------------------------------------------------------------------|
228
+ | <code>pilot mechanical pencil progrex h-127 - 0.7 mm</code> | <code> pencil </code> | <code>sistema bento lunch box blue</code> |
229
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code> nib marker pen</code> | <code>givrex frozen peas & carrots</code> |
230
+ | <code>first person singular author: haruki murakami</code> | <code>english book</code> | <code>thermos® funtainer® 470 ml stainless steel water bottle - gray</code> |
231
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
232
+ ```json
233
+ {
234
+ "scale": 20.0,
235
+ "similarity_fct": "cos_sim",
236
+ "gather_across_devices": false
237
+ }
238
+ ```
239
+
240
+ ### Training Hyperparameters
241
+ #### Non-Default Hyperparameters
242
+
243
+ - `eval_strategy`: steps
244
+ - `per_device_train_batch_size`: 128
245
+ - `per_device_eval_batch_size`: 128
246
+ - `learning_rate`: 2e-05
247
+ - `weight_decay`: 0.01
248
+ - `num_train_epochs`: 4
249
+ - `warmup_ratio`: 0.2
250
+ - `fp16`: True
251
+ - `dataloader_num_workers`: 1
252
+ - `dataloader_prefetch_factor`: 2
253
+ - `dataloader_persistent_workers`: True
254
+ - `push_to_hub`: True
255
+ - `hub_model_id`: LamaDiab/MiniLM-V12Data-128BATCH-SemanticEngine
256
+ - `hub_strategy`: all_checkpoints
257
+ - `batch_sampler`: no_duplicates
258
+
259
+ #### All Hyperparameters
260
+ <details><summary>Click to expand</summary>
261
+
262
+ - `overwrite_output_dir`: False
263
+ - `do_predict`: False
264
+ - `eval_strategy`: steps
265
+ - `prediction_loss_only`: True
266
+ - `per_device_train_batch_size`: 128
267
+ - `per_device_eval_batch_size`: 128
268
+ - `per_gpu_train_batch_size`: None
269
+ - `per_gpu_eval_batch_size`: None
270
+ - `gradient_accumulation_steps`: 1
271
+ - `eval_accumulation_steps`: None
272
+ - `torch_empty_cache_steps`: None
273
+ - `learning_rate`: 2e-05
274
+ - `weight_decay`: 0.01
275
+ - `adam_beta1`: 0.9
276
+ - `adam_beta2`: 0.999
277
+ - `adam_epsilon`: 1e-08
278
+ - `max_grad_norm`: 1.0
279
+ - `num_train_epochs`: 4
280
+ - `max_steps`: -1
281
+ - `lr_scheduler_type`: linear
282
+ - `lr_scheduler_kwargs`: {}
283
+ - `warmup_ratio`: 0.2
284
+ - `warmup_steps`: 0
285
+ - `log_level`: passive
286
+ - `log_level_replica`: warning
287
+ - `log_on_each_node`: True
288
+ - `logging_nan_inf_filter`: True
289
+ - `save_safetensors`: True
290
+ - `save_on_each_node`: False
291
+ - `save_only_model`: False
292
+ - `restore_callback_states_from_checkpoint`: False
293
+ - `no_cuda`: False
294
+ - `use_cpu`: False
295
+ - `use_mps_device`: False
296
+ - `seed`: 42
297
+ - `data_seed`: None
298
+ - `jit_mode_eval`: False
299
+ - `use_ipex`: False
300
+ - `bf16`: False
301
+ - `fp16`: True
302
+ - `fp16_opt_level`: O1
303
+ - `half_precision_backend`: auto
304
+ - `bf16_full_eval`: False
305
+ - `fp16_full_eval`: False
306
+ - `tf32`: None
307
+ - `local_rank`: 0
308
+ - `ddp_backend`: None
309
+ - `tpu_num_cores`: None
310
+ - `tpu_metrics_debug`: False
311
+ - `debug`: []
312
+ - `dataloader_drop_last`: False
313
+ - `dataloader_num_workers`: 1
314
+ - `dataloader_prefetch_factor`: 2
315
+ - `past_index`: -1
316
+ - `disable_tqdm`: False
317
+ - `remove_unused_columns`: True
318
+ - `label_names`: None
319
+ - `load_best_model_at_end`: False
320
+ - `ignore_data_skip`: False
321
+ - `fsdp`: []
322
+ - `fsdp_min_num_params`: 0
323
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
324
+ - `fsdp_transformer_layer_cls_to_wrap`: None
325
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
326
+ - `deepspeed`: None
327
+ - `label_smoothing_factor`: 0.0
328
+ - `optim`: adamw_torch
329
+ - `optim_args`: None
330
+ - `adafactor`: False
331
+ - `group_by_length`: False
332
+ - `length_column_name`: length
333
+ - `ddp_find_unused_parameters`: None
334
+ - `ddp_bucket_cap_mb`: None
335
+ - `ddp_broadcast_buffers`: False
336
+ - `dataloader_pin_memory`: True
337
+ - `dataloader_persistent_workers`: True
338
+ - `skip_memory_metrics`: True
339
+ - `use_legacy_prediction_loop`: False
340
+ - `push_to_hub`: True
341
+ - `resume_from_checkpoint`: None
342
+ - `hub_model_id`: LamaDiab/MiniLM-V12Data-128BATCH-SemanticEngine
343
+ - `hub_strategy`: all_checkpoints
344
+ - `hub_private_repo`: None
345
+ - `hub_always_push`: False
346
+ - `hub_revision`: None
347
+ - `gradient_checkpointing`: False
348
+ - `gradient_checkpointing_kwargs`: None
349
+ - `include_inputs_for_metrics`: False
350
+ - `include_for_metrics`: []
351
+ - `eval_do_concat_batches`: True
352
+ - `fp16_backend`: auto
353
+ - `push_to_hub_model_id`: None
354
+ - `push_to_hub_organization`: None
355
+ - `mp_parameters`:
356
+ - `auto_find_batch_size`: False
357
+ - `full_determinism`: False
358
+ - `torchdynamo`: None
359
+ - `ray_scope`: last
360
+ - `ddp_timeout`: 1800
361
+ - `torch_compile`: False
362
+ - `torch_compile_backend`: None
363
+ - `torch_compile_mode`: None
364
+ - `include_tokens_per_second`: False
365
+ - `include_num_input_tokens_seen`: False
366
+ - `neftune_noise_alpha`: None
367
+ - `optim_target_modules`: None
368
+ - `batch_eval_metrics`: False
369
+ - `eval_on_start`: False
370
+ - `use_liger_kernel`: False
371
+ - `liger_kernel_config`: None
372
+ - `eval_use_gather_object`: False
373
+ - `average_tokens_across_devices`: False
374
+ - `prompts`: None
375
+ - `batch_sampler`: no_duplicates
376
+ - `multi_dataset_batch_sampler`: proportional
377
+ - `router_mapping`: {}
378
+ - `learning_rate_mapping`: {}
379
+
380
+ </details>
381
+
382
+ ### Training Logs
383
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
384
+ |:------:|:----:|:-------------:|:---------------:|:---------------:|
385
+ | 0.0002 | 1 | 2.5326 | - | - |
386
+ | 0.1680 | 1000 | 2.6779 | 1.3123 | 0.9457 |
387
+ | 0.3361 | 2000 | 2.1925 | 1.2547 | 0.9517 |
388
+ | 0.5041 | 3000 | 1.9607 | 1.2118 | 0.9544 |
389
+ | 0.6722 | 4000 | 1.7977 | 1.1574 | 0.9589 |
390
+ | 0.8402 | 5000 | 1.6686 | 1.1438 | 0.9589 |
391
+
392
+
393
+ ### Framework Versions
394
+ - Python: 3.11.13
395
+ - Sentence Transformers: 5.1.2
396
+ - Transformers: 4.53.3
397
+ - PyTorch: 2.6.0+cu124
398
+ - Accelerate: 1.9.0
399
+ - Datasets: 4.4.1
400
+ - Tokenizers: 0.21.2
401
+
402
+ ## Citation
403
+
404
+ ### BibTeX
405
+
406
+ #### Sentence Transformers
407
+ ```bibtex
408
+ @inproceedings{reimers-2019-sentence-bert,
409
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
410
+ author = "Reimers, Nils and Gurevych, Iryna",
411
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
412
+ month = "11",
413
+ year = "2019",
414
+ publisher = "Association for Computational Linguistics",
415
+ url = "https://arxiv.org/abs/1908.10084",
416
+ }
417
+ ```
418
+
419
+ <!--
420
+ ## Glossary
421
+
422
+ *Clearly define terms in order to be accessible across audiences.*
423
+ -->
424
+
425
+ <!--
426
+ ## Model Card Authors
427
+
428
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
429
+ -->
430
+
431
+ <!--
432
+ ## Model Card Contact
433
+
434
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
435
+ -->
checkpoint-5951/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-5951/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-5951/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:411cd7aa0a378bd25b722368b60ff3418562600f1ddc7527eed359c4b70ecdd0
3
+ size 90864192
checkpoint-5951/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-5951/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:900cd277be234b4a2441f8919ff29294d9990797e227301790d4866ed7082348
3
+ size 180607738
checkpoint-5951/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:becaa076b29a67e5afc5ca7763f8c312a02db3a4a70281c2f85787651e2cffb6
3
+ size 14244
checkpoint-5951/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c609a59a8e72de65c8634099a97af004e6779216a61ba808856dc9b4146fb3ec
3
+ size 988
checkpoint-5951/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a2844f787ed46f88c31c02eb92a09733793c4fa0a0acc0d86d55b069e35ece3
3
+ size 1064
checkpoint-5951/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-5951/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-5951/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-5951/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-5951/trainer_state.json ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 1000,
7
+ "global_step": 5951,
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
+ "logging_steps": 1000,
101
+ "max_steps": 23804,
102
+ "num_input_tokens_seen": 0,
103
+ "num_train_epochs": 4,
104
+ "save_steps": 500,
105
+ "stateful_callbacks": {
106
+ "TrainerControl": {
107
+ "args": {
108
+ "should_epoch_stop": false,
109
+ "should_evaluate": false,
110
+ "should_log": false,
111
+ "should_save": true,
112
+ "should_training_stop": false
113
+ },
114
+ "attributes": {}
115
+ }
116
+ },
117
+ "total_flos": 0.0,
118
+ "train_batch_size": 128,
119
+ "trial_name": null,
120
+ "trial_params": null
121
+ }
checkpoint-5951/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:506b393d5d41d0ebbee6f7c30f24fc74ed9e78fb992a1b5395670233352655a2
3
+ size 5752
checkpoint-5951/vocab.txt ADDED
The diff for this file is too large to render. See raw diff