LamaDiab commited on
Commit
3c17968
·
verified ·
1 Parent(s): c70a42e

Training in progress, epoch 4, checkpoint

Browse files
checkpoint-16570/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-16570/README.md ADDED
@@ -0,0 +1,429 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:529974
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
+ - ahc vitamin c sheet mask
15
+ - ' concealer'
16
+ - face make-up
17
+ - source_sentence: casa chandelier
18
+ sentences:
19
+ - hand braided chandelier
20
+ - chandlier
21
+ - disney princess belle styling head playset, brown hair
22
+ - source_sentence: fender squier classic vibe '50s stratocaster, maple fingerboard
23
+ sentences:
24
+ - guitar
25
+ - right handed guitar
26
+ - endowments of the two holy sanctuaries
27
+ - source_sentence: faber castell jumbo colored pencil, metallic copper
28
+ sentences:
29
+ - pencil
30
+ - ' faber castell colored pencil'
31
+ - the essential notebook-green
32
+ - source_sentence: farm frites potato chips
33
+ sentences:
34
+ - juhayna - long life tangerine mandarin fruit drink - 1 l
35
+ - farm frites chips
36
+ - snacks
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.9661373496055603
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/NewMiniLM-V21Data-128ConstantBATCH-SemanticEngine")
104
+ # Run inference
105
+ sentences = [
106
+ 'farm frites potato chips',
107
+ 'farm frites chips',
108
+ 'juhayna - long life tangerine mandarin fruit drink - 1 l',
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.9630, 0.0905],
118
+ # [0.9630, 1.0000, 0.0524],
119
+ # [0.0905, 0.0524, 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.9661** |
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: 529,974 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.64 tokens</li><li>max: 44 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 4.83 tokens</li><li>max: 105 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.88 tokens</li><li>max: 9 tokens</li></ul> |
183
+ * Samples:
184
+ | anchor | positive | itemCategory |
185
+ |:----------------------------------------------------------|:---------------------------------------------|:----------------------|
186
+ | <code>girls’ ski base layer top bl 100 black</code> | <code>high neck top</code> | <code>top</code> |
187
+ | <code>lamar tom barista coffee milk no added sugar</code> | <code>naturally sweetened almond milk</code> | <code>dairy</code> |
188
+ | <code>powder drink</code> | <code>beverage</code> | <code>beverage</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,509 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.63 tokens</li><li>max: 43 tokens</li></ul> | <ul><li>min: 2 tokens</li><li>mean: 6.34 tokens</li><li>max: 150 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.35 tokens</li><li>max: 60 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.88 tokens</li><li>max: 10 tokens</li></ul> |
209
+ * Samples:
210
+ | anchor | positive | negative | itemCategory |
211
+ |:---------------------------------------------------------------------|:-----------------------------------|:-------------------------------------------------|:------------------------------------|
212
+ | <code>pilot mechanical pencil progrex h-127 - 0.7 mm</code> | <code> mechanical pencil </code> | <code>colorful sky bitch medal</code> | <code>pencil</code> |
213
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code> nib marker pen</code> | <code>plastic holder with capsule</code> | <code>marker</code> |
214
+ | <code>first person singular author: haruki murakami</code> | <code>first person singular</code> | <code>metal single rods - rustic cage rod</code> | <code>literature and fiction</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`: 128
229
+ - `per_device_eval_batch_size`: 128
230
+ - `learning_rate`: 2e-05
231
+ - `weight_decay`: 0.001
232
+ - `num_train_epochs`: 5
233
+ - `warmup_ratio`: 0.1
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-V21Data-128ConstantBATCH-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`: 128
250
+ - `per_device_eval_batch_size`: 128
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`: 2e-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`: 5
263
+ - `max_steps`: -1
264
+ - `lr_scheduler_type`: linear
265
+ - `lr_scheduler_kwargs`: {}
266
+ - `warmup_ratio`: 0.1
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-V21Data-128ConstantBATCH-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.0002 | 1 | 3.6713 | - | - |
369
+ | 0.2415 | 1000 | 2.8183 | 0.5858 | 0.9434 |
370
+ | 0.4830 | 2000 | 2.1179 | 0.5328 | 0.9497 |
371
+ | 0.7245 | 3000 | 1.4826 | 0.4932 | 0.9538 |
372
+ | 0.9660 | 4000 | 0.949 | 0.4724 | 0.9547 |
373
+ | 1.2073 | 5000 | 1.1823 | 0.4633 | 0.9600 |
374
+ | 1.4487 | 6000 | 1.1665 | 0.4432 | 0.9617 |
375
+ | 1.6901 | 7000 | 1.1042 | 0.4388 | 0.9626 |
376
+ | 1.9315 | 8000 | 1.0525 | 0.4345 | 0.9643 |
377
+ | 2.1728 | 9000 | 0.9752 | 0.4346 | 0.9641 |
378
+ | 2.4142 | 10000 | 0.9177 | 0.4276 | 0.9636 |
379
+ | 2.6556 | 11000 | 0.9044 | 0.4256 | 0.9653 |
380
+ | 2.8969 | 12000 | 0.8924 | 0.4223 | 0.9665 |
381
+ | 3.1383 | 13000 | 0.8378 | 0.4251 | 0.9656 |
382
+ | 3.3797 | 14000 | 0.831 | 0.4247 | 0.9662 |
383
+ | 3.6210 | 15000 | 0.8012 | 0.4249 | 0.9660 |
384
+ | 3.8624 | 16000 | 0.7952 | 0.4210 | 0.9661 |
385
+
386
+
387
+ ### Framework Versions
388
+ - Python: 3.11.13
389
+ - Sentence Transformers: 5.1.2
390
+ - Transformers: 4.53.3
391
+ - PyTorch: 2.6.0+cu124
392
+ - Accelerate: 1.9.0
393
+ - Datasets: 4.4.1
394
+ - Tokenizers: 0.21.2
395
+
396
+ ## Citation
397
+
398
+ ### BibTeX
399
+
400
+ #### Sentence Transformers
401
+ ```bibtex
402
+ @inproceedings{reimers-2019-sentence-bert,
403
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
404
+ author = "Reimers, Nils and Gurevych, Iryna",
405
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
406
+ month = "11",
407
+ year = "2019",
408
+ publisher = "Association for Computational Linguistics",
409
+ url = "https://arxiv.org/abs/1908.10084",
410
+ }
411
+ ```
412
+
413
+ <!--
414
+ ## Glossary
415
+
416
+ *Clearly define terms in order to be accessible across audiences.*
417
+ -->
418
+
419
+ <!--
420
+ ## Model Card Authors
421
+
422
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
423
+ -->
424
+
425
+ <!--
426
+ ## Model Card Contact
427
+
428
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
429
+ -->
checkpoint-16570/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-16570/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-16570/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce80af2f8a41b5485e70ce6ab95ddcd25f2db0eb4d4961b6b8371da7f6a29840
3
+ size 90864192
checkpoint-16570/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-16570/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdea1de0e4db50dd42374756bf05bf17b69efcff1c5d025473c557f23e6ac7b1
3
+ size 180607738
checkpoint-16570/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ac4921812b78773f21eabf2a97eb8c2ba1f0fe1723b675d23ae8e97dfd8bbbb
3
+ size 14244
checkpoint-16570/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34023aca8991cb0004a136786d6661699dd0f096da6e9a95e0e605445a9bad54
3
+ size 988
checkpoint-16570/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c790768526b79f0864d5eff652d3f04898c1d23e19f991e5c0bec3d6656218cb
3
+ size 1064
checkpoint-16570/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-16570/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-16570/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-16570/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-16570/trainer_state.json ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 4.0,
6
+ "eval_steps": 1000,
7
+ "global_step": 16570,
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.0002414875633904854,
14
+ "grad_norm": 7.886749267578125,
15
+ "learning_rate": 0.0,
16
+ "loss": 3.6713,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.24148756339048538,
21
+ "grad_norm": 6.218736171722412,
22
+ "learning_rate": 9.647513278609368e-06,
23
+ "loss": 2.8183,
24
+ "step": 1000
25
+ },
26
+ {
27
+ "epoch": 0.24148756339048538,
28
+ "eval_cosine_accuracy": 0.9434220194816589,
29
+ "eval_loss": 0.585781455039978,
30
+ "eval_runtime": 34.9645,
31
+ "eval_samples_per_second": 271.962,
32
+ "eval_steps_per_second": 2.145,
33
+ "step": 1000
34
+ },
35
+ {
36
+ "epoch": 0.48297512678097076,
37
+ "grad_norm": 6.299063682556152,
38
+ "learning_rate": 1.9304683727667796e-05,
39
+ "loss": 2.1179,
40
+ "step": 2000
41
+ },
42
+ {
43
+ "epoch": 0.48297512678097076,
44
+ "eval_cosine_accuracy": 0.9497318267822266,
45
+ "eval_loss": 0.5328050851821899,
46
+ "eval_runtime": 34.2691,
47
+ "eval_samples_per_second": 277.48,
48
+ "eval_steps_per_second": 2.189,
49
+ "step": 2000
50
+ },
51
+ {
52
+ "epoch": 0.7244626901714561,
53
+ "grad_norm": 9.58321475982666,
54
+ "learning_rate": 1.9003971235376196e-05,
55
+ "loss": 1.4826,
56
+ "step": 3000
57
+ },
58
+ {
59
+ "epoch": 0.7244626901714561,
60
+ "eval_cosine_accuracy": 0.9538332223892212,
61
+ "eval_loss": 0.49323785305023193,
62
+ "eval_runtime": 34.0684,
63
+ "eval_samples_per_second": 279.115,
64
+ "eval_steps_per_second": 2.201,
65
+ "step": 3000
66
+ },
67
+ {
68
+ "epoch": 0.9659502535619415,
69
+ "grad_norm": 15.6340970993042,
70
+ "learning_rate": 1.79317376838038e-05,
71
+ "loss": 0.949,
72
+ "step": 4000
73
+ },
74
+ {
75
+ "epoch": 0.9659502535619415,
76
+ "eval_cosine_accuracy": 0.9546745419502258,
77
+ "eval_loss": 0.4723624587059021,
78
+ "eval_runtime": 33.7991,
79
+ "eval_samples_per_second": 281.339,
80
+ "eval_steps_per_second": 2.219,
81
+ "step": 4000
82
+ },
83
+ {
84
+ "epoch": 1.2073376780111031,
85
+ "grad_norm": 6.6801862716674805,
86
+ "learning_rate": 1.6858430825372976e-05,
87
+ "loss": 1.1823,
88
+ "step": 5000
89
+ },
90
+ {
91
+ "epoch": 1.2073376780111031,
92
+ "eval_cosine_accuracy": 0.960037887096405,
93
+ "eval_loss": 0.4632853865623474,
94
+ "eval_runtime": 34.2938,
95
+ "eval_samples_per_second": 277.28,
96
+ "eval_steps_per_second": 2.187,
97
+ "step": 5000
98
+ },
99
+ {
100
+ "epoch": 1.4487086652184407,
101
+ "grad_norm": 6.39561653137207,
102
+ "learning_rate": 1.578619727380058e-05,
103
+ "loss": 1.1665,
104
+ "step": 6000
105
+ },
106
+ {
107
+ "epoch": 1.4487086652184407,
108
+ "eval_cosine_accuracy": 0.9617204666137695,
109
+ "eval_loss": 0.4432311952114105,
110
+ "eval_runtime": 35.5061,
111
+ "eval_samples_per_second": 267.813,
112
+ "eval_steps_per_second": 2.112,
113
+ "step": 6000
114
+ },
115
+ {
116
+ "epoch": 1.6900796524257784,
117
+ "grad_norm": 6.977872371673584,
118
+ "learning_rate": 1.4712890415369757e-05,
119
+ "loss": 1.1042,
120
+ "step": 7000
121
+ },
122
+ {
123
+ "epoch": 1.6900796524257784,
124
+ "eval_cosine_accuracy": 0.9625617861747742,
125
+ "eval_loss": 0.43880006670951843,
126
+ "eval_runtime": 34.1311,
127
+ "eval_samples_per_second": 278.603,
128
+ "eval_steps_per_second": 2.197,
129
+ "step": 7000
130
+ },
131
+ {
132
+ "epoch": 1.9314506396331161,
133
+ "grad_norm": 7.896651268005371,
134
+ "learning_rate": 1.3640656863797362e-05,
135
+ "loss": 1.0525,
136
+ "step": 8000
137
+ },
138
+ {
139
+ "epoch": 1.9314506396331161,
140
+ "eval_cosine_accuracy": 0.9643495678901672,
141
+ "eval_loss": 0.4344501495361328,
142
+ "eval_runtime": 34.0153,
143
+ "eval_samples_per_second": 279.55,
144
+ "eval_steps_per_second": 2.205,
145
+ "step": 8000
146
+ },
147
+ {
148
+ "epoch": 2.1728216268404537,
149
+ "grad_norm": 6.305137634277344,
150
+ "learning_rate": 1.2567350005366534e-05,
151
+ "loss": 0.9752,
152
+ "step": 9000
153
+ },
154
+ {
155
+ "epoch": 2.1728216268404537,
156
+ "eval_cosine_accuracy": 0.9641392230987549,
157
+ "eval_loss": 0.43460169434547424,
158
+ "eval_runtime": 33.9573,
159
+ "eval_samples_per_second": 280.028,
160
+ "eval_steps_per_second": 2.209,
161
+ "step": 9000
162
+ },
163
+ {
164
+ "epoch": 2.4141926140477916,
165
+ "grad_norm": 6.064307689666748,
166
+ "learning_rate": 1.1495116453794142e-05,
167
+ "loss": 0.9177,
168
+ "step": 10000
169
+ },
170
+ {
171
+ "epoch": 2.4141926140477916,
172
+ "eval_cosine_accuracy": 0.9636133909225464,
173
+ "eval_loss": 0.4276249408721924,
174
+ "eval_runtime": 34.07,
175
+ "eval_samples_per_second": 279.102,
176
+ "eval_steps_per_second": 2.201,
177
+ "step": 10000
178
+ },
179
+ {
180
+ "epoch": 2.655563601255129,
181
+ "grad_norm": 11.2512788772583,
182
+ "learning_rate": 1.0421809595363315e-05,
183
+ "loss": 0.9044,
184
+ "step": 11000
185
+ },
186
+ {
187
+ "epoch": 2.655563601255129,
188
+ "eval_cosine_accuracy": 0.9652960300445557,
189
+ "eval_loss": 0.42561274766921997,
190
+ "eval_runtime": 34.6345,
191
+ "eval_samples_per_second": 274.553,
192
+ "eval_steps_per_second": 2.165,
193
+ "step": 11000
194
+ },
195
+ {
196
+ "epoch": 2.8969345884624667,
197
+ "grad_norm": 5.970104694366455,
198
+ "learning_rate": 9.34850273693249e-06,
199
+ "loss": 0.8924,
200
+ "step": 12000
201
+ },
202
+ {
203
+ "epoch": 2.8969345884624667,
204
+ "eval_cosine_accuracy": 0.9664528369903564,
205
+ "eval_loss": 0.42230626940727234,
206
+ "eval_runtime": 33.7931,
207
+ "eval_samples_per_second": 281.389,
208
+ "eval_steps_per_second": 2.219,
209
+ "step": 12000
210
+ },
211
+ {
212
+ "epoch": 3.1383055756698046,
213
+ "grad_norm": 6.617201805114746,
214
+ "learning_rate": 8.275195878501664e-06,
215
+ "loss": 0.8378,
216
+ "step": 13000
217
+ },
218
+ {
219
+ "epoch": 3.1383055756698046,
220
+ "eval_cosine_accuracy": 0.9656115174293518,
221
+ "eval_loss": 0.42513710260391235,
222
+ "eval_runtime": 33.8615,
223
+ "eval_samples_per_second": 280.821,
224
+ "eval_steps_per_second": 2.215,
225
+ "step": 13000
226
+ },
227
+ {
228
+ "epoch": 3.379676562877142,
229
+ "grad_norm": 5.853105545043945,
230
+ "learning_rate": 7.201889020070839e-06,
231
+ "loss": 0.831,
232
+ "step": 14000
233
+ },
234
+ {
235
+ "epoch": 3.379676562877142,
236
+ "eval_cosine_accuracy": 0.9662424921989441,
237
+ "eval_loss": 0.42466071248054504,
238
+ "eval_runtime": 33.8525,
239
+ "eval_samples_per_second": 280.895,
240
+ "eval_steps_per_second": 2.215,
241
+ "step": 14000
242
+ },
243
+ {
244
+ "epoch": 3.62104755008448,
245
+ "grad_norm": 5.566030025482178,
246
+ "learning_rate": 6.128582161640013e-06,
247
+ "loss": 0.8012,
248
+ "step": 15000
249
+ },
250
+ {
251
+ "epoch": 3.62104755008448,
252
+ "eval_cosine_accuracy": 0.9660322070121765,
253
+ "eval_loss": 0.4249342978000641,
254
+ "eval_runtime": 34.3475,
255
+ "eval_samples_per_second": 276.847,
256
+ "eval_steps_per_second": 2.184,
257
+ "step": 15000
258
+ },
259
+ {
260
+ "epoch": 3.8624185372918176,
261
+ "grad_norm": 5.444942474365234,
262
+ "learning_rate": 5.056348610067619e-06,
263
+ "loss": 0.7952,
264
+ "step": 16000
265
+ },
266
+ {
267
+ "epoch": 3.8624185372918176,
268
+ "eval_cosine_accuracy": 0.9661373496055603,
269
+ "eval_loss": 0.42102375626564026,
270
+ "eval_runtime": 33.7901,
271
+ "eval_samples_per_second": 281.414,
272
+ "eval_steps_per_second": 2.22,
273
+ "step": 16000
274
+ }
275
+ ],
276
+ "logging_steps": 1000,
277
+ "max_steps": 20705,
278
+ "num_input_tokens_seen": 0,
279
+ "num_train_epochs": 5,
280
+ "save_steps": 500,
281
+ "stateful_callbacks": {
282
+ "TrainerControl": {
283
+ "args": {
284
+ "should_epoch_stop": false,
285
+ "should_evaluate": false,
286
+ "should_log": false,
287
+ "should_save": true,
288
+ "should_training_stop": false
289
+ },
290
+ "attributes": {}
291
+ }
292
+ },
293
+ "total_flos": 0.0,
294
+ "train_batch_size": 128,
295
+ "trial_name": null,
296
+ "trial_params": null
297
+ }
checkpoint-16570/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85ec9d74983e9f402ed9ac3c00e8e9b395e8223c0f37cb5ddd5428209c094c23
3
+ size 5752
checkpoint-16570/vocab.txt ADDED
The diff for this file is too large to render. See raw diff