LamaDiab commited on
Commit
4a3cc29
·
verified ·
1 Parent(s): c5d6ddb

Training in progress, epoch 2, checkpoint

Browse files
checkpoint-7056/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-7056/README.md ADDED
@@ -0,0 +1,419 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:902672
9
+ - loss:MultipleNegativesSymmetricRankingLoss
10
+ base_model: sentence-transformers/all-MiniLM-L6-v2
11
+ widget:
12
+ - source_sentence: dove - nourishing body care moisturizing beauty cream - 75 ml
13
+ sentences:
14
+ - body moisturizer
15
+ - ' moisturizing body cream'
16
+ - skincare set game
17
+ - source_sentence: brown smoked salmon wrap + small orange juice
18
+ sentences:
19
+ - deli
20
+ - ' brown salmon sandwich'
21
+ - roasted red pepper sauce
22
+ - source_sentence: snuggs monk wearable blanket polar bear black
23
+ sentences:
24
+ - elegant reversible beach bag
25
+ - ' monk blanket '
26
+ - pajamas
27
+ - source_sentence: male teacher figurine
28
+ sentences:
29
+ - home decor accessory
30
+ - ceramic statue
31
+ - apple 45 mm tornado / grey sport loop
32
+ - source_sentence: minions balloon collection
33
+ sentences:
34
+ - hugo boss notebook b5 essential storyline red lined
35
+ - party supply
36
+ - blue stars balloons
37
+ pipeline_tag: sentence-similarity
38
+ library_name: sentence-transformers
39
+ metrics:
40
+ - cosine_accuracy
41
+ model-index:
42
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
43
+ results:
44
+ - task:
45
+ type: triplet
46
+ name: Triplet
47
+ dataset:
48
+ name: Unknown
49
+ type: unknown
50
+ metrics:
51
+ - type: cosine_accuracy
52
+ value: 0.9742235541343689
53
+ name: Cosine Accuracy
54
+ ---
55
+
56
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
57
+
58
+ 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.
59
+
60
+ ## Model Details
61
+
62
+ ### Model Description
63
+ - **Model Type:** Sentence Transformer
64
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
65
+ - **Maximum Sequence Length:** 256 tokens
66
+ - **Output Dimensionality:** 384 dimensions
67
+ - **Similarity Function:** Cosine Similarity
68
+ <!-- - **Training Dataset:** Unknown -->
69
+ <!-- - **Language:** Unknown -->
70
+ <!-- - **License:** Unknown -->
71
+
72
+ ### Model Sources
73
+
74
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
75
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
76
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
77
+
78
+ ### Full Model Architecture
79
+
80
+ ```
81
+ SentenceTransformer(
82
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
83
+ (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})
84
+ (2): Normalize()
85
+ )
86
+ ```
87
+
88
+ ## Usage
89
+
90
+ ### Direct Usage (Sentence Transformers)
91
+
92
+ First install the Sentence Transformers library:
93
+
94
+ ```bash
95
+ pip install -U sentence-transformers
96
+ ```
97
+
98
+ Then you can load this model and run inference.
99
+ ```python
100
+ from sentence_transformers import SentenceTransformer
101
+
102
+ # Download from the 🤗 Hub
103
+ model = SentenceTransformer("LamaDiab/MiniLM-v33-SemanticEngine")
104
+ # Run inference
105
+ sentences = [
106
+ 'minions balloon collection',
107
+ 'blue stars balloons',
108
+ 'hugo boss notebook b5 essential storyline red lined',
109
+ ]
110
+ embeddings = model.encode(sentences)
111
+ print(embeddings.shape)
112
+ # [3, 384]
113
+
114
+ # Get the similarity scores for the embeddings
115
+ similarities = model.similarity(embeddings, embeddings)
116
+ print(similarities)
117
+ # tensor([[1.0000, 0.7455, 0.1063],
118
+ # [0.7455, 1.0000, 0.1057],
119
+ # [0.1063, 0.1057, 1.0000]])
120
+ ```
121
+
122
+ <!--
123
+ ### Direct Usage (Transformers)
124
+
125
+ <details><summary>Click to see the direct usage in Transformers</summary>
126
+
127
+ </details>
128
+ -->
129
+
130
+ <!--
131
+ ### Downstream Usage (Sentence Transformers)
132
+
133
+ You can finetune this model on your own dataset.
134
+
135
+ <details><summary>Click to expand</summary>
136
+
137
+ </details>
138
+ -->
139
+
140
+ <!--
141
+ ### Out-of-Scope Use
142
+
143
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
144
+ -->
145
+
146
+ ## Evaluation
147
+
148
+ ### Metrics
149
+
150
+ #### Triplet
151
+
152
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
153
+
154
+ | Metric | Value |
155
+ |:--------------------|:-----------|
156
+ | **cosine_accuracy** | **0.9742** |
157
+
158
+ <!--
159
+ ## Bias, Risks and Limitations
160
+
161
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
162
+ -->
163
+
164
+ <!--
165
+ ### Recommendations
166
+
167
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
168
+ -->
169
+
170
+ ## Training Details
171
+
172
+ ### Training Dataset
173
+
174
+ #### Unnamed Dataset
175
+
176
+ * Size: 902,672 training samples
177
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>itemCategory</code>
178
+ * Approximate statistics based on the first 1000 samples:
179
+ | | anchor | positive | itemCategory |
180
+ |:--------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
181
+ | type | string | string | string |
182
+ | details | <ul><li>min: 3 tokens</li><li>mean: 10.3 tokens</li><li>max: 91 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 5.38 tokens</li><li>max: 19 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 4.08 tokens</li><li>max: 9 tokens</li></ul> |
183
+ * Samples:
184
+ | anchor | positive | itemCategory |
185
+ |:-----------------------------------------------------------------------------------|:-----------------------------|:----------------------------------|
186
+ | <code>energizer max plus aaa batteries, 2 pieces</code> | <code>energizer</code> | <code>electronic accessory</code> |
187
+ | <code>tree leaf with side zircon stones arsenic bangle free size adjustable</code> | <code>bangle bracelet</code> | <code>bracelet</code> |
188
+ | <code>dinosaur world</code> | <code>dinosaur toys</code> | <code>toy figure</code> |
189
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
190
+ ```json
191
+ {
192
+ "scale": 20.0,
193
+ "similarity_fct": "cos_sim",
194
+ "gather_across_devices": false
195
+ }
196
+ ```
197
+
198
+ ### Evaluation Dataset
199
+
200
+ #### Unnamed Dataset
201
+
202
+ * Size: 9,466 evaluation samples
203
+ * Columns: <code>anchor</code>, <code>positive</code>, <code>negative</code>, and <code>itemCategory</code>
204
+ * Approximate statistics based on the first 1000 samples:
205
+ | | anchor | positive | negative | itemCategory |
206
+ |:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
207
+ | type | string | string | string | string |
208
+ | details | <ul><li>min: 3 tokens</li><li>mean: 9.65 tokens</li><li>max: 32 tokens</li></ul> | <ul><li>min: 2 tokens</li><li>mean: 6.11 tokens</li><li>max: 131 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.38 tokens</li><li>max: 36 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.82 tokens</li><li>max: 9 tokens</li></ul> |
209
+ * Samples:
210
+ | anchor | positive | negative | itemCategory |
211
+ |:-------------------------------------------------------|:------------------------------------|:-------------------------------------------|:----------------------|
212
+ | <code>extra bubblemint sugar free chewing gum</code> | <code>extra </code> | <code>jalapeno cheese sauce</code> | <code>sweet</code> |
213
+ | <code>golden pothos</code> | <code>vine plant</code> | <code>nubian fluted solid brass red</code> | <code>plant</code> |
214
+ | <code>effortless style slit linen pants - beige</code> | <code>effortless style pants</code> | <code>casual stitch jacket</code> | <code>trousers</code> |
215
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
216
+ ```json
217
+ {
218
+ "scale": 20.0,
219
+ "similarity_fct": "cos_sim",
220
+ "gather_across_devices": false
221
+ }
222
+ ```
223
+
224
+ ### Training Hyperparameters
225
+ #### Non-Default Hyperparameters
226
+
227
+ - `eval_strategy`: steps
228
+ - `per_device_train_batch_size`: 256
229
+ - `per_device_eval_batch_size`: 256
230
+ - `learning_rate`: 3e-05
231
+ - `weight_decay`: 0.01
232
+ - `warmup_ratio`: 0.1
233
+ - `fp16`: True
234
+ - `dataloader_num_workers`: 1
235
+ - `dataloader_prefetch_factor`: 2
236
+ - `dataloader_persistent_workers`: True
237
+ - `push_to_hub`: True
238
+ - `hub_model_id`: LamaDiab/MiniLM-v33-SemanticEngine
239
+ - `hub_strategy`: all_checkpoints
240
+
241
+ #### All Hyperparameters
242
+ <details><summary>Click to expand</summary>
243
+
244
+ - `overwrite_output_dir`: False
245
+ - `do_predict`: False
246
+ - `eval_strategy`: steps
247
+ - `prediction_loss_only`: True
248
+ - `per_device_train_batch_size`: 256
249
+ - `per_device_eval_batch_size`: 256
250
+ - `per_gpu_train_batch_size`: None
251
+ - `per_gpu_eval_batch_size`: None
252
+ - `gradient_accumulation_steps`: 1
253
+ - `eval_accumulation_steps`: None
254
+ - `torch_empty_cache_steps`: None
255
+ - `learning_rate`: 3e-05
256
+ - `weight_decay`: 0.01
257
+ - `adam_beta1`: 0.9
258
+ - `adam_beta2`: 0.999
259
+ - `adam_epsilon`: 1e-08
260
+ - `max_grad_norm`: 1.0
261
+ - `num_train_epochs`: 3
262
+ - `max_steps`: -1
263
+ - `lr_scheduler_type`: linear
264
+ - `lr_scheduler_kwargs`: {}
265
+ - `warmup_ratio`: 0.1
266
+ - `warmup_steps`: 0
267
+ - `log_level`: passive
268
+ - `log_level_replica`: warning
269
+ - `log_on_each_node`: True
270
+ - `logging_nan_inf_filter`: True
271
+ - `save_safetensors`: True
272
+ - `save_on_each_node`: False
273
+ - `save_only_model`: False
274
+ - `restore_callback_states_from_checkpoint`: False
275
+ - `no_cuda`: False
276
+ - `use_cpu`: False
277
+ - `use_mps_device`: False
278
+ - `seed`: 42
279
+ - `data_seed`: None
280
+ - `jit_mode_eval`: False
281
+ - `use_ipex`: False
282
+ - `bf16`: False
283
+ - `fp16`: True
284
+ - `fp16_opt_level`: O1
285
+ - `half_precision_backend`: auto
286
+ - `bf16_full_eval`: False
287
+ - `fp16_full_eval`: False
288
+ - `tf32`: None
289
+ - `local_rank`: 0
290
+ - `ddp_backend`: None
291
+ - `tpu_num_cores`: None
292
+ - `tpu_metrics_debug`: False
293
+ - `debug`: []
294
+ - `dataloader_drop_last`: False
295
+ - `dataloader_num_workers`: 1
296
+ - `dataloader_prefetch_factor`: 2
297
+ - `past_index`: -1
298
+ - `disable_tqdm`: False
299
+ - `remove_unused_columns`: True
300
+ - `label_names`: None
301
+ - `load_best_model_at_end`: False
302
+ - `ignore_data_skip`: False
303
+ - `fsdp`: []
304
+ - `fsdp_min_num_params`: 0
305
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
306
+ - `fsdp_transformer_layer_cls_to_wrap`: None
307
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
308
+ - `deepspeed`: None
309
+ - `label_smoothing_factor`: 0.0
310
+ - `optim`: adamw_torch
311
+ - `optim_args`: None
312
+ - `adafactor`: False
313
+ - `group_by_length`: False
314
+ - `length_column_name`: length
315
+ - `ddp_find_unused_parameters`: None
316
+ - `ddp_bucket_cap_mb`: None
317
+ - `ddp_broadcast_buffers`: False
318
+ - `dataloader_pin_memory`: True
319
+ - `dataloader_persistent_workers`: True
320
+ - `skip_memory_metrics`: True
321
+ - `use_legacy_prediction_loop`: False
322
+ - `push_to_hub`: True
323
+ - `resume_from_checkpoint`: None
324
+ - `hub_model_id`: LamaDiab/MiniLM-v33-SemanticEngine
325
+ - `hub_strategy`: all_checkpoints
326
+ - `hub_private_repo`: None
327
+ - `hub_always_push`: False
328
+ - `hub_revision`: None
329
+ - `gradient_checkpointing`: False
330
+ - `gradient_checkpointing_kwargs`: None
331
+ - `include_inputs_for_metrics`: False
332
+ - `include_for_metrics`: []
333
+ - `eval_do_concat_batches`: True
334
+ - `fp16_backend`: auto
335
+ - `push_to_hub_model_id`: None
336
+ - `push_to_hub_organization`: None
337
+ - `mp_parameters`:
338
+ - `auto_find_batch_size`: False
339
+ - `full_determinism`: False
340
+ - `torchdynamo`: None
341
+ - `ray_scope`: last
342
+ - `ddp_timeout`: 1800
343
+ - `torch_compile`: False
344
+ - `torch_compile_backend`: None
345
+ - `torch_compile_mode`: None
346
+ - `include_tokens_per_second`: False
347
+ - `include_num_input_tokens_seen`: False
348
+ - `neftune_noise_alpha`: None
349
+ - `optim_target_modules`: None
350
+ - `batch_eval_metrics`: False
351
+ - `eval_on_start`: False
352
+ - `use_liger_kernel`: False
353
+ - `liger_kernel_config`: None
354
+ - `eval_use_gather_object`: False
355
+ - `average_tokens_across_devices`: False
356
+ - `prompts`: None
357
+ - `batch_sampler`: batch_sampler
358
+ - `multi_dataset_batch_sampler`: proportional
359
+ - `router_mapping`: {}
360
+ - `learning_rate_mapping`: {}
361
+
362
+ </details>
363
+
364
+ ### Training Logs
365
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
366
+ |:------:|:----:|:-------------:|:---------------:|:---------------:|
367
+ | 0.0003 | 1 | 2.7767 | - | - |
368
+ | 0.2835 | 1000 | 2.1777 | 1.0198 | 0.9603 |
369
+ | 0.5671 | 2000 | 1.5725 | 0.9301 | 0.9671 |
370
+ | 0.8506 | 3000 | 1.472 | 0.8477 | 0.9721 |
371
+ | 1.1340 | 4000 | 1.8782 | 0.8507 | 0.9715 |
372
+ | 1.4174 | 5000 | 1.394 | 0.8181 | 0.9743 |
373
+ | 1.7008 | 6000 | 1.3521 | 0.8180 | 0.9738 |
374
+ | 1.9841 | 7000 | 1.3137 | 0.8138 | 0.9742 |
375
+
376
+
377
+ ### Framework Versions
378
+ - Python: 3.11.13
379
+ - Sentence Transformers: 5.1.2
380
+ - Transformers: 4.53.3
381
+ - PyTorch: 2.6.0+cu124
382
+ - Accelerate: 1.9.0
383
+ - Datasets: 4.4.1
384
+ - Tokenizers: 0.21.2
385
+
386
+ ## Citation
387
+
388
+ ### BibTeX
389
+
390
+ #### Sentence Transformers
391
+ ```bibtex
392
+ @inproceedings{reimers-2019-sentence-bert,
393
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
394
+ author = "Reimers, Nils and Gurevych, Iryna",
395
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
396
+ month = "11",
397
+ year = "2019",
398
+ publisher = "Association for Computational Linguistics",
399
+ url = "https://arxiv.org/abs/1908.10084",
400
+ }
401
+ ```
402
+
403
+ <!--
404
+ ## Glossary
405
+
406
+ *Clearly define terms in order to be accessible across audiences.*
407
+ -->
408
+
409
+ <!--
410
+ ## Model Card Authors
411
+
412
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
413
+ -->
414
+
415
+ <!--
416
+ ## Model Card Contact
417
+
418
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
419
+ -->
checkpoint-7056/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-7056/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-7056/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3396557da72d43b1037b601cc8260616cf7404ee99ee314df596bab324e13886
3
+ size 90864192
checkpoint-7056/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-7056/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce99f6c460063aec705a97c07e008a8b4c681d1832386e0fd95f1bb06ca332a1
3
+ size 180607738
checkpoint-7056/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9c144bdc3b19a89a818f17f13e83607b3047f6a37951d493813042d848317c5
3
+ size 14244
checkpoint-7056/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6e0ad9b17f48b6366017ba60a32ed4cd73b4df64c33dc448e3447c02350591e
3
+ size 988
checkpoint-7056/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87c5001e5f4528303f64dfdcb41fbd854b0c58e6e7fa2b1767ea448d4af9056d
3
+ size 1064
checkpoint-7056/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-7056/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-7056/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-7056/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-7056/trainer_state.json ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.0,
6
+ "eval_steps": 1000,
7
+ "global_step": 7056,
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.0002835270768358378,
14
+ "grad_norm": 5.961081027984619,
15
+ "learning_rate": 0.0,
16
+ "loss": 2.7767,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.28352707683583783,
21
+ "grad_norm": 3.903580665588379,
22
+ "learning_rate": 2.8300283286118982e-05,
23
+ "loss": 2.1777,
24
+ "step": 1000
25
+ },
26
+ {
27
+ "epoch": 0.28352707683583783,
28
+ "eval_cosine_accuracy": 0.9602788686752319,
29
+ "eval_loss": 1.0198065042495728,
30
+ "eval_runtime": 28.5803,
31
+ "eval_samples_per_second": 331.207,
32
+ "eval_steps_per_second": 1.295,
33
+ "step": 1000
34
+ },
35
+ {
36
+ "epoch": 0.5670541536716757,
37
+ "grad_norm": 3.8064451217651367,
38
+ "learning_rate": 2.7041587901701324e-05,
39
+ "loss": 1.5725,
40
+ "step": 2000
41
+ },
42
+ {
43
+ "epoch": 0.5670541536716757,
44
+ "eval_cosine_accuracy": 0.967145562171936,
45
+ "eval_loss": 0.9300715327262878,
46
+ "eval_runtime": 27.2211,
47
+ "eval_samples_per_second": 347.745,
48
+ "eval_steps_per_second": 1.359,
49
+ "step": 2000
50
+ },
51
+ {
52
+ "epoch": 0.8505812305075134,
53
+ "grad_norm": 3.4235427379608154,
54
+ "learning_rate": 2.3890989287964716e-05,
55
+ "loss": 1.472,
56
+ "step": 3000
57
+ },
58
+ {
59
+ "epoch": 0.8505812305075134,
60
+ "eval_cosine_accuracy": 0.9721106886863708,
61
+ "eval_loss": 0.847688615322113,
62
+ "eval_runtime": 33.136,
63
+ "eval_samples_per_second": 285.671,
64
+ "eval_steps_per_second": 1.117,
65
+ "step": 3000
66
+ },
67
+ {
68
+ "epoch": 1.134032303768773,
69
+ "grad_norm": 3.523313283920288,
70
+ "learning_rate": 2.0740390674228104e-05,
71
+ "loss": 1.8782,
72
+ "step": 4000
73
+ },
74
+ {
75
+ "epoch": 1.134032303768773,
76
+ "eval_cosine_accuracy": 0.9714768528938293,
77
+ "eval_loss": 0.8507260084152222,
78
+ "eval_runtime": 27.9345,
79
+ "eval_samples_per_second": 338.864,
80
+ "eval_steps_per_second": 1.325,
81
+ "step": 4000
82
+ },
83
+ {
84
+ "epoch": 1.4173986965145935,
85
+ "grad_norm": 4.125911712646484,
86
+ "learning_rate": 1.7589792060491492e-05,
87
+ "loss": 1.394,
88
+ "step": 5000
89
+ },
90
+ {
91
+ "epoch": 1.4173986965145935,
92
+ "eval_cosine_accuracy": 0.9743291735649109,
93
+ "eval_loss": 0.8180537223815918,
94
+ "eval_runtime": 27.4596,
95
+ "eval_samples_per_second": 344.725,
96
+ "eval_steps_per_second": 1.347,
97
+ "step": 5000
98
+ },
99
+ {
100
+ "epoch": 1.7007650892604138,
101
+ "grad_norm": 3.567063093185425,
102
+ "learning_rate": 1.4439193446754883e-05,
103
+ "loss": 1.3521,
104
+ "step": 6000
105
+ },
106
+ {
107
+ "epoch": 1.7007650892604138,
108
+ "eval_cosine_accuracy": 0.9738009572029114,
109
+ "eval_loss": 0.8179722428321838,
110
+ "eval_runtime": 27.6707,
111
+ "eval_samples_per_second": 342.095,
112
+ "eval_steps_per_second": 1.337,
113
+ "step": 6000
114
+ },
115
+ {
116
+ "epoch": 1.9841314820062341,
117
+ "grad_norm": 3.4355316162109375,
118
+ "learning_rate": 1.1288594833018275e-05,
119
+ "loss": 1.3137,
120
+ "step": 7000
121
+ },
122
+ {
123
+ "epoch": 1.9841314820062341,
124
+ "eval_cosine_accuracy": 0.9742235541343689,
125
+ "eval_loss": 0.8137649297714233,
126
+ "eval_runtime": 27.3447,
127
+ "eval_samples_per_second": 346.173,
128
+ "eval_steps_per_second": 1.353,
129
+ "step": 7000
130
+ }
131
+ ],
132
+ "logging_steps": 1000,
133
+ "max_steps": 10581,
134
+ "num_input_tokens_seen": 0,
135
+ "num_train_epochs": 3,
136
+ "save_steps": 500,
137
+ "stateful_callbacks": {
138
+ "TrainerControl": {
139
+ "args": {
140
+ "should_epoch_stop": false,
141
+ "should_evaluate": false,
142
+ "should_log": false,
143
+ "should_save": true,
144
+ "should_training_stop": false
145
+ },
146
+ "attributes": {}
147
+ }
148
+ },
149
+ "total_flos": 0.0,
150
+ "train_batch_size": 256,
151
+ "trial_name": null,
152
+ "trial_params": null
153
+ }
checkpoint-7056/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b229c76a6df5e2fa2b43ab68c91904e4d3b37542368938027eb64d434ee0d189
3
+ size 5752
checkpoint-7056/vocab.txt ADDED
The diff for this file is too large to render. See raw diff