LamaDiab commited on
Commit
2b89263
·
verified ·
1 Parent(s): 88fef43

Training in progress, epoch 2, checkpoint

Browse files
checkpoint-6182/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-6182/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:790823
9
+ - loss:MultipleNegativesSymmetricRankingLoss
10
+ base_model: sentence-transformers/all-MiniLM-L6-v2
11
+ widget:
12
+ - source_sentence: essence multi task concealer 15 natural nude
13
+ sentences:
14
+ - adidas men shower gel 3 in 1
15
+ - ' essence multi task concealer'
16
+ - face make-up
17
+ - source_sentence: chillax fluffy beanbag
18
+ sentences:
19
+ - ' fluffy beanbag'
20
+ - living room furniture
21
+ - 60410 fire rescue motorcycle v
22
+ - source_sentence: must kindergarten backpack mermazing 2 cases
23
+ sentences:
24
+ - bag
25
+ - school supplies
26
+ - sage navy blue
27
+ - source_sentence: yplus colored pencils 18 colors with plastic sharpener rainbow
28
+ pc 110440 px 1208
29
+ sentences:
30
+ - pencil
31
+ - ' pencils '
32
+ - canvas frame 100% cotton 420 gsm 5070 cm m b5312
33
+ - source_sentence: y earrings
34
+ sentences:
35
+ - marbella
36
+ - gold earrings
37
+ - earring
38
+ pipeline_tag: sentence-similarity
39
+ library_name: sentence-transformers
40
+ metrics:
41
+ - cosine_accuracy
42
+ model-index:
43
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
44
+ results:
45
+ - task:
46
+ type: triplet
47
+ name: Triplet
48
+ dataset:
49
+ name: Unknown
50
+ type: unknown
51
+ metrics:
52
+ - type: cosine_accuracy
53
+ value: 0.9676096439361572
54
+ name: Cosine Accuracy
55
+ ---
56
+
57
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
58
+
59
+ 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.
60
+
61
+ ## Model Details
62
+
63
+ ### Model Description
64
+ - **Model Type:** Sentence Transformer
65
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
66
+ - **Maximum Sequence Length:** 256 tokens
67
+ - **Output Dimensionality:** 384 dimensions
68
+ - **Similarity Function:** Cosine Similarity
69
+ <!-- - **Training Dataset:** Unknown -->
70
+ <!-- - **Language:** Unknown -->
71
+ <!-- - **License:** Unknown -->
72
+
73
+ ### Model Sources
74
+
75
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
76
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
77
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
78
+
79
+ ### Full Model Architecture
80
+
81
+ ```
82
+ SentenceTransformer(
83
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
84
+ (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})
85
+ (2): Normalize()
86
+ )
87
+ ```
88
+
89
+ ## Usage
90
+
91
+ ### Direct Usage (Sentence Transformers)
92
+
93
+ First install the Sentence Transformers library:
94
+
95
+ ```bash
96
+ pip install -U sentence-transformers
97
+ ```
98
+
99
+ Then you can load this model and run inference.
100
+ ```python
101
+ from sentence_transformers import SentenceTransformer
102
+
103
+ # Download from the 🤗 Hub
104
+ model = SentenceTransformer("LamaDiab/NewMiniLM-V27Data-256BATCH-SemanticEngine")
105
+ # Run inference
106
+ sentences = [
107
+ 'y earrings',
108
+ 'gold earrings',
109
+ 'marbella',
110
+ ]
111
+ embeddings = model.encode(sentences)
112
+ print(embeddings.shape)
113
+ # [3, 384]
114
+
115
+ # Get the similarity scores for the embeddings
116
+ similarities = model.similarity(embeddings, embeddings)
117
+ print(similarities)
118
+ # tensor([[1.0000, 0.9335, 0.3055],
119
+ # [0.9335, 1.0000, 0.3327],
120
+ # [0.3055, 0.3327, 1.0000]])
121
+ ```
122
+
123
+ <!--
124
+ ### Direct Usage (Transformers)
125
+
126
+ <details><summary>Click to see the direct usage in Transformers</summary>
127
+
128
+ </details>
129
+ -->
130
+
131
+ <!--
132
+ ### Downstream Usage (Sentence Transformers)
133
+
134
+ You can finetune this model on your own dataset.
135
+
136
+ <details><summary>Click to expand</summary>
137
+
138
+ </details>
139
+ -->
140
+
141
+ <!--
142
+ ### Out-of-Scope Use
143
+
144
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
145
+ -->
146
+
147
+ ## Evaluation
148
+
149
+ ### Metrics
150
+
151
+ #### Triplet
152
+
153
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
154
+
155
+ | Metric | Value |
156
+ |:--------------------|:-----------|
157
+ | **cosine_accuracy** | **0.9676** |
158
+
159
+ <!--
160
+ ## Bias, Risks and Limitations
161
+
162
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
163
+ -->
164
+
165
+ <!--
166
+ ### Recommendations
167
+
168
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
169
+ -->
170
+
171
+ ## Training Details
172
+
173
+ ### Training Dataset
174
+
175
+ #### Unnamed Dataset
176
+
177
+ * Size: 790,823 training samples
178
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>itemCategory</code>
179
+ * Approximate statistics based on the first 1000 samples:
180
+ | | anchor | positive | itemCategory |
181
+ |:--------|:-----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
182
+ | type | string | string | string |
183
+ | details | <ul><li>min: 3 tokens</li><li>mean: 10.03 tokens</li><li>max: 105 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 4.65 tokens</li><li>max: 95 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.97 tokens</li><li>max: 11 tokens</li></ul> |
184
+ * Samples:
185
+ | anchor | positive | itemCategory |
186
+ |:-----------------------------------------------------------------------------|:-----------------------------|:-------------------------|
187
+ | <code>jake jelly mania ys max</code> | <code>jake candy</code> | <code>sweet</code> |
188
+ | <code>own crisp</code> | <code>sweet</code> | <code>sweet</code> |
189
+ | <code>pencil case zipper surf floral petrol denim polyester pm 19454</code> | <code>office supplies</code> | <code>pencil case</code> |
190
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
191
+ ```json
192
+ {
193
+ "scale": 20.0,
194
+ "similarity_fct": "cos_sim",
195
+ "gather_across_devices": false
196
+ }
197
+ ```
198
+
199
+ ### Evaluation Dataset
200
+
201
+ #### Unnamed Dataset
202
+
203
+ * Size: 9,509 evaluation samples
204
+ * Columns: <code>anchor</code>, <code>positive</code>, <code>negative</code>, and <code>itemCategory</code>
205
+ * Approximate statistics based on the first 1000 samples:
206
+ | | anchor | positive | negative | itemCategory |
207
+ |:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
208
+ | type | string | string | string | string |
209
+ | 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.43 tokens</li><li>max: 150 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.48 tokens</li><li>max: 42 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.86 tokens</li><li>max: 9 tokens</li></ul> |
210
+ * Samples:
211
+ | anchor | positive | negative | itemCategory |
212
+ |:---------------------------------------------------------------------|:-------------------------------------|:------------------------------------|:------------------------------------|
213
+ | <code>pilot mechanical pencil progrex h-127 - 0.7 mm</code> | <code> progrex pencil </code> | <code>jojo's journal</code> | <code>pencil</code> |
214
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code>superior drawing marker</code> | <code>timed feeding tray</code> | <code>marker</code> |
215
+ | <code>first person singular author: haruki murakami</code> | <code> book</code> | <code>sushi chicken shawerma</code> | <code>literature and fiction</code> |
216
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
217
+ ```json
218
+ {
219
+ "scale": 20.0,
220
+ "similarity_fct": "cos_sim",
221
+ "gather_across_devices": false
222
+ }
223
+ ```
224
+
225
+ ### Training Hyperparameters
226
+ #### Non-Default Hyperparameters
227
+
228
+ - `eval_strategy`: steps
229
+ - `per_device_train_batch_size`: 256
230
+ - `per_device_eval_batch_size`: 256
231
+ - `weight_decay`: 0.001
232
+ - `num_train_epochs`: 4
233
+ - `warmup_ratio`: 0.2
234
+ - `fp16`: True
235
+ - `dataloader_num_workers`: 1
236
+ - `dataloader_prefetch_factor`: 2
237
+ - `dataloader_persistent_workers`: True
238
+ - `push_to_hub`: True
239
+ - `hub_model_id`: LamaDiab/NewMiniLM-V27Data-256BATCH-SemanticEngine
240
+ - `hub_strategy`: all_checkpoints
241
+
242
+ #### All Hyperparameters
243
+ <details><summary>Click to expand</summary>
244
+
245
+ - `overwrite_output_dir`: False
246
+ - `do_predict`: False
247
+ - `eval_strategy`: steps
248
+ - `prediction_loss_only`: True
249
+ - `per_device_train_batch_size`: 256
250
+ - `per_device_eval_batch_size`: 256
251
+ - `per_gpu_train_batch_size`: None
252
+ - `per_gpu_eval_batch_size`: None
253
+ - `gradient_accumulation_steps`: 1
254
+ - `eval_accumulation_steps`: None
255
+ - `torch_empty_cache_steps`: None
256
+ - `learning_rate`: 5e-05
257
+ - `weight_decay`: 0.001
258
+ - `adam_beta1`: 0.9
259
+ - `adam_beta2`: 0.999
260
+ - `adam_epsilon`: 1e-08
261
+ - `max_grad_norm`: 1.0
262
+ - `num_train_epochs`: 4
263
+ - `max_steps`: -1
264
+ - `lr_scheduler_type`: linear
265
+ - `lr_scheduler_kwargs`: {}
266
+ - `warmup_ratio`: 0.2
267
+ - `warmup_steps`: 0
268
+ - `log_level`: passive
269
+ - `log_level_replica`: warning
270
+ - `log_on_each_node`: True
271
+ - `logging_nan_inf_filter`: True
272
+ - `save_safetensors`: True
273
+ - `save_on_each_node`: False
274
+ - `save_only_model`: False
275
+ - `restore_callback_states_from_checkpoint`: False
276
+ - `no_cuda`: False
277
+ - `use_cpu`: False
278
+ - `use_mps_device`: False
279
+ - `seed`: 42
280
+ - `data_seed`: None
281
+ - `jit_mode_eval`: False
282
+ - `use_ipex`: False
283
+ - `bf16`: False
284
+ - `fp16`: True
285
+ - `fp16_opt_level`: O1
286
+ - `half_precision_backend`: auto
287
+ - `bf16_full_eval`: False
288
+ - `fp16_full_eval`: False
289
+ - `tf32`: None
290
+ - `local_rank`: 0
291
+ - `ddp_backend`: None
292
+ - `tpu_num_cores`: None
293
+ - `tpu_metrics_debug`: False
294
+ - `debug`: []
295
+ - `dataloader_drop_last`: False
296
+ - `dataloader_num_workers`: 1
297
+ - `dataloader_prefetch_factor`: 2
298
+ - `past_index`: -1
299
+ - `disable_tqdm`: False
300
+ - `remove_unused_columns`: True
301
+ - `label_names`: None
302
+ - `load_best_model_at_end`: False
303
+ - `ignore_data_skip`: False
304
+ - `fsdp`: []
305
+ - `fsdp_min_num_params`: 0
306
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
307
+ - `fsdp_transformer_layer_cls_to_wrap`: None
308
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
309
+ - `deepspeed`: None
310
+ - `label_smoothing_factor`: 0.0
311
+ - `optim`: adamw_torch
312
+ - `optim_args`: None
313
+ - `adafactor`: False
314
+ - `group_by_length`: False
315
+ - `length_column_name`: length
316
+ - `ddp_find_unused_parameters`: None
317
+ - `ddp_bucket_cap_mb`: None
318
+ - `ddp_broadcast_buffers`: False
319
+ - `dataloader_pin_memory`: True
320
+ - `dataloader_persistent_workers`: True
321
+ - `skip_memory_metrics`: True
322
+ - `use_legacy_prediction_loop`: False
323
+ - `push_to_hub`: True
324
+ - `resume_from_checkpoint`: None
325
+ - `hub_model_id`: LamaDiab/NewMiniLM-V27Data-256BATCH-SemanticEngine
326
+ - `hub_strategy`: all_checkpoints
327
+ - `hub_private_repo`: None
328
+ - `hub_always_push`: False
329
+ - `hub_revision`: None
330
+ - `gradient_checkpointing`: False
331
+ - `gradient_checkpointing_kwargs`: None
332
+ - `include_inputs_for_metrics`: False
333
+ - `include_for_metrics`: []
334
+ - `eval_do_concat_batches`: True
335
+ - `fp16_backend`: auto
336
+ - `push_to_hub_model_id`: None
337
+ - `push_to_hub_organization`: None
338
+ - `mp_parameters`:
339
+ - `auto_find_batch_size`: False
340
+ - `full_determinism`: False
341
+ - `torchdynamo`: None
342
+ - `ray_scope`: last
343
+ - `ddp_timeout`: 1800
344
+ - `torch_compile`: False
345
+ - `torch_compile_backend`: None
346
+ - `torch_compile_mode`: None
347
+ - `include_tokens_per_second`: False
348
+ - `include_num_input_tokens_seen`: False
349
+ - `neftune_noise_alpha`: None
350
+ - `optim_target_modules`: None
351
+ - `batch_eval_metrics`: False
352
+ - `eval_on_start`: False
353
+ - `use_liger_kernel`: False
354
+ - `liger_kernel_config`: None
355
+ - `eval_use_gather_object`: False
356
+ - `average_tokens_across_devices`: False
357
+ - `prompts`: None
358
+ - `batch_sampler`: batch_sampler
359
+ - `multi_dataset_batch_sampler`: proportional
360
+ - `router_mapping`: {}
361
+ - `learning_rate_mapping`: {}
362
+
363
+ </details>
364
+
365
+ ### Training Logs
366
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
367
+ |:------:|:----:|:-------------:|:---------------:|:---------------:|
368
+ | 0.0003 | 1 | 3.5189 | - | - |
369
+ | 0.3236 | 1000 | 2.5841 | 0.5323 | 0.9526 |
370
+ | 0.6472 | 2000 | 1.5199 | 0.4736 | 0.9624 |
371
+ | 0.9709 | 3000 | 1.0615 | 0.4600 | 0.9608 |
372
+ | 1.2943 | 4000 | 1.1183 | 0.4375 | 0.9660 |
373
+ | 1.6177 | 5000 | 1.0372 | 0.4423 | 0.9657 |
374
+ | 1.9411 | 6000 | 0.9562 | 0.4302 | 0.9676 |
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-6182/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-6182/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-6182/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba60c5a95de6903b6dfc0054621c2f7e52f95f4f10fbb2580048040698a84776
3
+ size 90864192
checkpoint-6182/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-6182/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:738b9a0410106bb91372b6c7daf5e037c36d15ea7d5351049a11c622b25db76c
3
+ size 180607738
checkpoint-6182/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5c60adab7f518905e7735577fc9eb26c9a8622a999c8a524c28cbef9a288c96
3
+ size 14244
checkpoint-6182/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a1bfa568d3f5b85cd9d6044cd07242d2b14e170670bf0ba07ae604563b9b632
3
+ size 988
checkpoint-6182/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58c73e347d7b3655ccf387d4bcbd6d1ce3b3078507c8347d79d251d4ba5dc87b
3
+ size 1064
checkpoint-6182/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-6182/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-6182/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-6182/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-6182/trainer_state.json ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 6182,
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.00032362459546925567,
14
+ "grad_norm": 6.455742835998535,
15
+ "learning_rate": 0.0,
16
+ "loss": 3.5189,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.32362459546925565,
21
+ "grad_norm": 4.869843482971191,
22
+ "learning_rate": 2.020631067961165e-05,
23
+ "loss": 2.5841,
24
+ "step": 1000
25
+ },
26
+ {
27
+ "epoch": 0.32362459546925565,
28
+ "eval_cosine_accuracy": 0.9525712728500366,
29
+ "eval_loss": 0.5323272943496704,
30
+ "eval_runtime": 35.0009,
31
+ "eval_samples_per_second": 271.679,
32
+ "eval_steps_per_second": 1.086,
33
+ "step": 1000
34
+ },
35
+ {
36
+ "epoch": 0.6472491909385113,
37
+ "grad_norm": 6.113117694854736,
38
+ "learning_rate": 4.04126213592233e-05,
39
+ "loss": 1.5199,
40
+ "step": 2000
41
+ },
42
+ {
43
+ "epoch": 0.6472491909385113,
44
+ "eval_cosine_accuracy": 0.9623514413833618,
45
+ "eval_loss": 0.47361451387405396,
46
+ "eval_runtime": 34.0145,
47
+ "eval_samples_per_second": 279.557,
48
+ "eval_steps_per_second": 1.117,
49
+ "step": 2000
50
+ },
51
+ {
52
+ "epoch": 0.970873786407767,
53
+ "grad_norm": 6.593084812164307,
54
+ "learning_rate": 4.7340210355987055e-05,
55
+ "loss": 1.0615,
56
+ "step": 3000
57
+ },
58
+ {
59
+ "epoch": 0.970873786407767,
60
+ "eval_cosine_accuracy": 0.9607740044593811,
61
+ "eval_loss": 0.45996761322021484,
62
+ "eval_runtime": 33.7873,
63
+ "eval_samples_per_second": 281.437,
64
+ "eval_steps_per_second": 1.125,
65
+ "step": 3000
66
+ },
67
+ {
68
+ "epoch": 1.2943078913324708,
69
+ "grad_norm": 3.9310717582702637,
70
+ "learning_rate": 4.228357605177994e-05,
71
+ "loss": 1.1183,
72
+ "step": 4000
73
+ },
74
+ {
75
+ "epoch": 1.2943078913324708,
76
+ "eval_cosine_accuracy": 0.9660322070121765,
77
+ "eval_loss": 0.43745797872543335,
78
+ "eval_runtime": 33.8541,
79
+ "eval_samples_per_second": 280.882,
80
+ "eval_steps_per_second": 1.122,
81
+ "step": 4000
82
+ },
83
+ {
84
+ "epoch": 1.6177231565329884,
85
+ "grad_norm": 4.16636848449707,
86
+ "learning_rate": 3.722694174757282e-05,
87
+ "loss": 1.0372,
88
+ "step": 5000
89
+ },
90
+ {
91
+ "epoch": 1.6177231565329884,
92
+ "eval_cosine_accuracy": 0.9657166600227356,
93
+ "eval_loss": 0.4422674775123596,
94
+ "eval_runtime": 33.8581,
95
+ "eval_samples_per_second": 280.849,
96
+ "eval_steps_per_second": 1.122,
97
+ "step": 5000
98
+ },
99
+ {
100
+ "epoch": 1.941138421733506,
101
+ "grad_norm": 4.619586944580078,
102
+ "learning_rate": 3.21703074433657e-05,
103
+ "loss": 0.9562,
104
+ "step": 6000
105
+ },
106
+ {
107
+ "epoch": 1.941138421733506,
108
+ "eval_cosine_accuracy": 0.9676096439361572,
109
+ "eval_loss": 0.4301552176475525,
110
+ "eval_runtime": 35.1089,
111
+ "eval_samples_per_second": 270.843,
112
+ "eval_steps_per_second": 1.082,
113
+ "step": 6000
114
+ }
115
+ ],
116
+ "logging_steps": 1000,
117
+ "max_steps": 12360,
118
+ "num_input_tokens_seen": 0,
119
+ "num_train_epochs": 4,
120
+ "save_steps": 500,
121
+ "stateful_callbacks": {
122
+ "TrainerControl": {
123
+ "args": {
124
+ "should_epoch_stop": false,
125
+ "should_evaluate": false,
126
+ "should_log": false,
127
+ "should_save": true,
128
+ "should_training_stop": false
129
+ },
130
+ "attributes": {}
131
+ }
132
+ },
133
+ "total_flos": 0.0,
134
+ "train_batch_size": 256,
135
+ "trial_name": null,
136
+ "trial_params": null
137
+ }
checkpoint-6182/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a15e75ed0922ff58fad2c46bbcf5a939cfb95ace44971ac504ca3f60ca51004
3
+ size 5752
checkpoint-6182/vocab.txt ADDED
The diff for this file is too large to render. See raw diff