LamaDiab commited on
Commit
a802718
·
verified ·
1 Parent(s): 55860a8

Training in progress, epoch 3, checkpoint

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