LamaDiab commited on
Commit
ca4f740
·
verified ·
1 Parent(s): 207ade2

Training in progress, epoch 4, checkpoint

Browse files
checkpoint-11038/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-11038/README.md ADDED
@@ -0,0 +1,426 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:705905
9
+ - loss:MultipleNegativesSymmetricRankingLoss
10
+ base_model: sentence-transformers/all-MiniLM-L6-v2
11
+ widget:
12
+ - source_sentence: gerber baby food fruits apples bananas & cereal
13
+ sentences:
14
+ - world of sweets puzzle
15
+ - baby food
16
+ - baby food
17
+ - source_sentence: granville original one bite original rice crispy squares
18
+ sentences:
19
+ - ' one bite rice crispy '
20
+ - sweet
21
+ - bounty wafer rolls
22
+ - source_sentence: rosa / porcelain us andalusia mug
23
+ sentences:
24
+ - mug
25
+ - ' rosa mug'
26
+ - melamine small plate - teal
27
+ - source_sentence: cetaphil sunscreen spf 50+ cream 89 ml
28
+ sentences:
29
+ - sunscreen
30
+ - ' cetaphil sunscreen cream'
31
+ - garnier intensity (6.60) intense ruby
32
+ - source_sentence: italian dolce provolone
33
+ sentences:
34
+ - trident - gum strawberry flavor - 5 per pack
35
+ - experience the authentic taste of italy with our italian dolce provolone. indulge
36
+ in its creamy texture, delicate flavors, and versatility in both simple and sophisticated
37
+ culinary creations.
38
+ - dairy
39
+ pipeline_tag: sentence-similarity
40
+ library_name: sentence-transformers
41
+ metrics:
42
+ - cosine_accuracy
43
+ model-index:
44
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
45
+ results:
46
+ - task:
47
+ type: triplet
48
+ name: Triplet
49
+ dataset:
50
+ name: Unknown
51
+ type: unknown
52
+ metrics:
53
+ - type: cosine_accuracy
54
+ value: 0.9683457612991333
55
+ name: Cosine Accuracy
56
+ ---
57
+
58
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
59
+
60
+ 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.
61
+
62
+ ## Model Details
63
+
64
+ ### Model Description
65
+ - **Model Type:** Sentence Transformer
66
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
67
+ - **Maximum Sequence Length:** 256 tokens
68
+ - **Output Dimensionality:** 384 dimensions
69
+ - **Similarity Function:** Cosine Similarity
70
+ <!-- - **Training Dataset:** Unknown -->
71
+ <!-- - **Language:** Unknown -->
72
+ <!-- - **License:** Unknown -->
73
+
74
+ ### Model Sources
75
+
76
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
77
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
78
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
79
+
80
+ ### Full Model Architecture
81
+
82
+ ```
83
+ SentenceTransformer(
84
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
85
+ (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})
86
+ (2): Normalize()
87
+ )
88
+ ```
89
+
90
+ ## Usage
91
+
92
+ ### Direct Usage (Sentence Transformers)
93
+
94
+ First install the Sentence Transformers library:
95
+
96
+ ```bash
97
+ pip install -U sentence-transformers
98
+ ```
99
+
100
+ Then you can load this model and run inference.
101
+ ```python
102
+ from sentence_transformers import SentenceTransformer
103
+
104
+ # Download from the 🤗 Hub
105
+ model = SentenceTransformer("LamaDiab/v3MiniLM-V18Data-256ConstantBATCH-SemanticEngine")
106
+ # Run inference
107
+ sentences = [
108
+ 'italian dolce provolone',
109
+ 'experience the authentic taste of italy with our italian dolce provolone. indulge in its creamy texture, delicate flavors, and versatility in both simple and sophisticated culinary creations.',
110
+ 'trident - gum strawberry flavor - 5 per pack',
111
+ ]
112
+ embeddings = model.encode(sentences)
113
+ print(embeddings.shape)
114
+ # [3, 384]
115
+
116
+ # Get the similarity scores for the embeddings
117
+ similarities = model.similarity(embeddings, embeddings)
118
+ print(similarities)
119
+ # tensor([[1.0000, 0.8433, 0.2086],
120
+ # [0.8433, 1.0000, 0.2397],
121
+ # [0.2086, 0.2397, 1.0000]])
122
+ ```
123
+
124
+ <!--
125
+ ### Direct Usage (Transformers)
126
+
127
+ <details><summary>Click to see the direct usage in Transformers</summary>
128
+
129
+ </details>
130
+ -->
131
+
132
+ <!--
133
+ ### Downstream Usage (Sentence Transformers)
134
+
135
+ You can finetune this model on your own dataset.
136
+
137
+ <details><summary>Click to expand</summary>
138
+
139
+ </details>
140
+ -->
141
+
142
+ <!--
143
+ ### Out-of-Scope Use
144
+
145
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
146
+ -->
147
+
148
+ ## Evaluation
149
+
150
+ ### Metrics
151
+
152
+ #### Triplet
153
+
154
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
155
+
156
+ | Metric | Value |
157
+ |:--------------------|:-----------|
158
+ | **cosine_accuracy** | **0.9683** |
159
+
160
+ <!--
161
+ ## Bias, Risks and Limitations
162
+
163
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
164
+ -->
165
+
166
+ <!--
167
+ ### Recommendations
168
+
169
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
170
+ -->
171
+
172
+ ## Training Details
173
+
174
+ ### Training Dataset
175
+
176
+ #### Unnamed Dataset
177
+
178
+ * Size: 705,905 training samples
179
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>itemCategory</code>
180
+ * Approximate statistics based on the first 1000 samples:
181
+ | | anchor | positive | itemCategory |
182
+ |:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
183
+ | type | string | string | string |
184
+ | details | <ul><li>min: 3 tokens</li><li>mean: 13.19 tokens</li><li>max: 51 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 4.46 tokens</li><li>max: 93 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.91 tokens</li><li>max: 11 tokens</li></ul> |
185
+ * Samples:
186
+ | anchor | positive | itemCategory |
187
+ |:-----------------------------------------------|:-----------------------------------------|:-------------------------------|
188
+ | <code>mango nos nos small</code> | <code>milk chocolate ganache cake</code> | <code>sweet</code> |
189
+ | <code>lux soap creamy perfection 165 gm</code> | <code>soap</code> | <code>hand soap</code> |
190
+ | <code>grey deo original</code> | <code>classic deodrant</code> | <code>women's deodorant</code> |
191
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
192
+ ```json
193
+ {
194
+ "scale": 20.0,
195
+ "similarity_fct": "cos_sim",
196
+ "gather_across_devices": false
197
+ }
198
+ ```
199
+
200
+ ### Evaluation Dataset
201
+
202
+ #### Unnamed Dataset
203
+
204
+ * Size: 9,509 evaluation samples
205
+ * Columns: <code>anchor</code>, <code>positive</code>, <code>negative</code>, and <code>itemCategory</code>
206
+ * Approximate statistics based on the first 1000 samples:
207
+ | | anchor | positive | negative | itemCategory |
208
+ |:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
209
+ | type | string | string | string | string |
210
+ | 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.53 tokens</li><li>max: 150 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.52 tokens</li><li>max: 50 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.88 tokens</li><li>max: 10 tokens</li></ul> |
211
+ * Samples:
212
+ | anchor | positive | negative | itemCategory |
213
+ |:---------------------------------------------------------------------|:----------------------------------|:-----------------------------------------------------------------------------------------------|:------------------------------------|
214
+ | <code>pilot mechanical pencil progrex h-127 - 0.7 mm</code> | <code>office supplies</code> | <code>scary halloween skull mask</code> | <code>pencil</code> |
215
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code>superior </code> | <code>coloring and writing book 21 x 29.7 cm 100 gsm 18 pages number subtraction ma4014</code> | <code>marker</code> |
216
+ | <code>first person singular author: haruki murakami</code> | <code>haruki murakami book</code> | <code>buried secrets</code> | <code>literature and fiction</code> |
217
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
218
+ ```json
219
+ {
220
+ "scale": 20.0,
221
+ "similarity_fct": "cos_sim",
222
+ "gather_across_devices": false
223
+ }
224
+ ```
225
+
226
+ ### Training Hyperparameters
227
+ #### Non-Default Hyperparameters
228
+
229
+ - `eval_strategy`: steps
230
+ - `per_device_train_batch_size`: 256
231
+ - `per_device_eval_batch_size`: 256
232
+ - `learning_rate`: 2e-05
233
+ - `weight_decay`: 0.01
234
+ - `num_train_epochs`: 6
235
+ - `warmup_ratio`: 0.2
236
+ - `fp16`: True
237
+ - `dataloader_num_workers`: 1
238
+ - `dataloader_prefetch_factor`: 2
239
+ - `dataloader_persistent_workers`: True
240
+ - `push_to_hub`: True
241
+ - `hub_model_id`: LamaDiab/v3MiniLM-V18Data-256ConstantBATCH-SemanticEngine
242
+ - `hub_strategy`: all_checkpoints
243
+
244
+ #### All Hyperparameters
245
+ <details><summary>Click to expand</summary>
246
+
247
+ - `overwrite_output_dir`: False
248
+ - `do_predict`: False
249
+ - `eval_strategy`: steps
250
+ - `prediction_loss_only`: True
251
+ - `per_device_train_batch_size`: 256
252
+ - `per_device_eval_batch_size`: 256
253
+ - `per_gpu_train_batch_size`: None
254
+ - `per_gpu_eval_batch_size`: None
255
+ - `gradient_accumulation_steps`: 1
256
+ - `eval_accumulation_steps`: None
257
+ - `torch_empty_cache_steps`: None
258
+ - `learning_rate`: 2e-05
259
+ - `weight_decay`: 0.01
260
+ - `adam_beta1`: 0.9
261
+ - `adam_beta2`: 0.999
262
+ - `adam_epsilon`: 1e-08
263
+ - `max_grad_norm`: 1.0
264
+ - `num_train_epochs`: 6
265
+ - `max_steps`: -1
266
+ - `lr_scheduler_type`: linear
267
+ - `lr_scheduler_kwargs`: {}
268
+ - `warmup_ratio`: 0.2
269
+ - `warmup_steps`: 0
270
+ - `log_level`: passive
271
+ - `log_level_replica`: warning
272
+ - `log_on_each_node`: True
273
+ - `logging_nan_inf_filter`: True
274
+ - `save_safetensors`: True
275
+ - `save_on_each_node`: False
276
+ - `save_only_model`: False
277
+ - `restore_callback_states_from_checkpoint`: False
278
+ - `no_cuda`: False
279
+ - `use_cpu`: False
280
+ - `use_mps_device`: False
281
+ - `seed`: 42
282
+ - `data_seed`: None
283
+ - `jit_mode_eval`: False
284
+ - `use_ipex`: False
285
+ - `bf16`: False
286
+ - `fp16`: True
287
+ - `fp16_opt_level`: O1
288
+ - `half_precision_backend`: auto
289
+ - `bf16_full_eval`: False
290
+ - `fp16_full_eval`: False
291
+ - `tf32`: None
292
+ - `local_rank`: 0
293
+ - `ddp_backend`: None
294
+ - `tpu_num_cores`: None
295
+ - `tpu_metrics_debug`: False
296
+ - `debug`: []
297
+ - `dataloader_drop_last`: False
298
+ - `dataloader_num_workers`: 1
299
+ - `dataloader_prefetch_factor`: 2
300
+ - `past_index`: -1
301
+ - `disable_tqdm`: False
302
+ - `remove_unused_columns`: True
303
+ - `label_names`: None
304
+ - `load_best_model_at_end`: False
305
+ - `ignore_data_skip`: False
306
+ - `fsdp`: []
307
+ - `fsdp_min_num_params`: 0
308
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
309
+ - `fsdp_transformer_layer_cls_to_wrap`: None
310
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
311
+ - `deepspeed`: None
312
+ - `label_smoothing_factor`: 0.0
313
+ - `optim`: adamw_torch
314
+ - `optim_args`: None
315
+ - `adafactor`: False
316
+ - `group_by_length`: False
317
+ - `length_column_name`: length
318
+ - `ddp_find_unused_parameters`: None
319
+ - `ddp_bucket_cap_mb`: None
320
+ - `ddp_broadcast_buffers`: False
321
+ - `dataloader_pin_memory`: True
322
+ - `dataloader_persistent_workers`: True
323
+ - `skip_memory_metrics`: True
324
+ - `use_legacy_prediction_loop`: False
325
+ - `push_to_hub`: True
326
+ - `resume_from_checkpoint`: None
327
+ - `hub_model_id`: LamaDiab/v3MiniLM-V18Data-256ConstantBATCH-SemanticEngine
328
+ - `hub_strategy`: all_checkpoints
329
+ - `hub_private_repo`: None
330
+ - `hub_always_push`: False
331
+ - `hub_revision`: None
332
+ - `gradient_checkpointing`: False
333
+ - `gradient_checkpointing_kwargs`: None
334
+ - `include_inputs_for_metrics`: False
335
+ - `include_for_metrics`: []
336
+ - `eval_do_concat_batches`: True
337
+ - `fp16_backend`: auto
338
+ - `push_to_hub_model_id`: None
339
+ - `push_to_hub_organization`: None
340
+ - `mp_parameters`:
341
+ - `auto_find_batch_size`: False
342
+ - `full_determinism`: False
343
+ - `torchdynamo`: None
344
+ - `ray_scope`: last
345
+ - `ddp_timeout`: 1800
346
+ - `torch_compile`: False
347
+ - `torch_compile_backend`: None
348
+ - `torch_compile_mode`: None
349
+ - `include_tokens_per_second`: False
350
+ - `include_num_input_tokens_seen`: False
351
+ - `neftune_noise_alpha`: None
352
+ - `optim_target_modules`: None
353
+ - `batch_eval_metrics`: False
354
+ - `eval_on_start`: False
355
+ - `use_liger_kernel`: False
356
+ - `liger_kernel_config`: None
357
+ - `eval_use_gather_object`: False
358
+ - `average_tokens_across_devices`: False
359
+ - `prompts`: None
360
+ - `batch_sampler`: batch_sampler
361
+ - `multi_dataset_batch_sampler`: proportional
362
+ - `router_mapping`: {}
363
+ - `learning_rate_mapping`: {}
364
+
365
+ </details>
366
+
367
+ ### Training Logs
368
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
369
+ |:------:|:-----:|:-------------:|:---------------:|:---------------:|
370
+ | 0.0004 | 1 | 4.1707 | - | - |
371
+ | 0.3626 | 1000 | 3.5534 | 0.5626 | 0.9461 |
372
+ | 0.7252 | 2000 | 2.3098 | 0.4896 | 0.9515 |
373
+ | 1.0877 | 3000 | 1.7306 | 0.4473 | 0.9593 |
374
+ | 1.45 | 4000 | 1.8694 | 0.4308 | 0.9606 |
375
+ | 1.8123 | 5000 | 1.6628 | 0.4218 | 0.9643 |
376
+ | 2.1746 | 6000 | 1.5159 | 0.4153 | 0.9648 |
377
+ | 2.5370 | 7000 | 1.435 | 0.4096 | 0.9669 |
378
+ | 2.8993 | 8000 | 1.3973 | 0.3964 | 0.9683 |
379
+ | 3.2616 | 9000 | 1.3101 | 0.3983 | 0.9674 |
380
+ | 3.6239 | 10000 | 1.3044 | 0.3955 | 0.9680 |
381
+ | 3.9862 | 11000 | 1.2367 | 0.3905 | 0.9683 |
382
+
383
+
384
+ ### Framework Versions
385
+ - Python: 3.11.13
386
+ - Sentence Transformers: 5.1.2
387
+ - Transformers: 4.53.3
388
+ - PyTorch: 2.6.0+cu124
389
+ - Accelerate: 1.9.0
390
+ - Datasets: 4.4.1
391
+ - Tokenizers: 0.21.2
392
+
393
+ ## Citation
394
+
395
+ ### BibTeX
396
+
397
+ #### Sentence Transformers
398
+ ```bibtex
399
+ @inproceedings{reimers-2019-sentence-bert,
400
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
401
+ author = "Reimers, Nils and Gurevych, Iryna",
402
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
403
+ month = "11",
404
+ year = "2019",
405
+ publisher = "Association for Computational Linguistics",
406
+ url = "https://arxiv.org/abs/1908.10084",
407
+ }
408
+ ```
409
+
410
+ <!--
411
+ ## Glossary
412
+
413
+ *Clearly define terms in order to be accessible across audiences.*
414
+ -->
415
+
416
+ <!--
417
+ ## Model Card Authors
418
+
419
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
420
+ -->
421
+
422
+ <!--
423
+ ## Model Card Contact
424
+
425
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
426
+ -->
checkpoint-11038/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-11038/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-11038/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0193875ab6923a1c7996b650d335306aa397d545c5cd72e6bed1237414e5afd
3
+ size 90864192
checkpoint-11038/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-11038/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e68d8bf2baa0c8771305633a89d463de8c9e6faf9832e261cd6b430593f358e
3
+ size 180607738
checkpoint-11038/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea8a901030bcf392d3335cbdc4e11b646241dd3f78834865ae783baf86be915b
3
+ size 14244
checkpoint-11038/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6024d721e62e8990ebe0b1c3504c56f6eb6824a55278955665e76e49893ff687
3
+ size 988
checkpoint-11038/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90d475f0e557f43d7c8c950d00e0084ff6123e859d6c2af3e4b1240292e463fd
3
+ size 1064
checkpoint-11038/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-11038/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-11038/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-11038/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-11038/trainer_state.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 11038,
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.00036258158085569254,
14
+ "grad_norm": 7.228061676025391,
15
+ "learning_rate": 0.0,
16
+ "loss": 4.1707,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.36258158085569253,
21
+ "grad_norm": 5.671091556549072,
22
+ "learning_rate": 6.036253776435046e-06,
23
+ "loss": 3.5534,
24
+ "step": 1000
25
+ },
26
+ {
27
+ "epoch": 0.36258158085569253,
28
+ "eval_cosine_accuracy": 0.9460511207580566,
29
+ "eval_loss": 0.562572181224823,
30
+ "eval_runtime": 36.4701,
31
+ "eval_samples_per_second": 260.734,
32
+ "eval_steps_per_second": 1.042,
33
+ "step": 1000
34
+ },
35
+ {
36
+ "epoch": 0.7251631617113851,
37
+ "grad_norm": 7.58541202545166,
38
+ "learning_rate": 1.20785498489426e-05,
39
+ "loss": 2.3098,
40
+ "step": 2000
41
+ },
42
+ {
43
+ "epoch": 0.7251631617113851,
44
+ "eval_cosine_accuracy": 0.9515196084976196,
45
+ "eval_loss": 0.48958125710487366,
46
+ "eval_runtime": 34.58,
47
+ "eval_samples_per_second": 274.986,
48
+ "eval_steps_per_second": 1.099,
49
+ "step": 2000
50
+ },
51
+ {
52
+ "epoch": 1.0876811594202898,
53
+ "grad_norm": 7.139122486114502,
54
+ "learning_rate": 1.8120845921450153e-05,
55
+ "loss": 1.7306,
56
+ "step": 3000
57
+ },
58
+ {
59
+ "epoch": 1.0876811594202898,
60
+ "eval_cosine_accuracy": 0.9593017101287842,
61
+ "eval_loss": 0.4472808539867401,
62
+ "eval_runtime": 34.9782,
63
+ "eval_samples_per_second": 271.855,
64
+ "eval_steps_per_second": 1.086,
65
+ "step": 3000
66
+ },
67
+ {
68
+ "epoch": 1.45,
69
+ "grad_norm": 6.1509857177734375,
70
+ "learning_rate": 1.8959057259404747e-05,
71
+ "loss": 1.8694,
72
+ "step": 4000
73
+ },
74
+ {
75
+ "epoch": 1.45,
76
+ "eval_cosine_accuracy": 0.9605636596679688,
77
+ "eval_loss": 0.4307531416416168,
78
+ "eval_runtime": 34.7892,
79
+ "eval_samples_per_second": 273.332,
80
+ "eval_steps_per_second": 1.092,
81
+ "step": 4000
82
+ },
83
+ {
84
+ "epoch": 1.8123188405797102,
85
+ "grad_norm": 5.870842933654785,
86
+ "learning_rate": 1.7449765825653423e-05,
87
+ "loss": 1.6628,
88
+ "step": 5000
89
+ },
90
+ {
91
+ "epoch": 1.8123188405797102,
92
+ "eval_cosine_accuracy": 0.9643495678901672,
93
+ "eval_loss": 0.4217974841594696,
94
+ "eval_runtime": 34.6903,
95
+ "eval_samples_per_second": 274.111,
96
+ "eval_steps_per_second": 1.095,
97
+ "step": 5000
98
+ },
99
+ {
100
+ "epoch": 2.17463768115942,
101
+ "grad_norm": 5.058931827545166,
102
+ "learning_rate": 1.5938963589666113e-05,
103
+ "loss": 1.5159,
104
+ "step": 6000
105
+ },
106
+ {
107
+ "epoch": 2.17463768115942,
108
+ "eval_cosine_accuracy": 0.9647701978683472,
109
+ "eval_loss": 0.4152602255344391,
110
+ "eval_runtime": 36.1266,
111
+ "eval_samples_per_second": 263.213,
112
+ "eval_steps_per_second": 1.052,
113
+ "step": 6000
114
+ },
115
+ {
116
+ "epoch": 2.5369565217391306,
117
+ "grad_norm": 4.676874160766602,
118
+ "learning_rate": 1.4429672155914791e-05,
119
+ "loss": 1.435,
120
+ "step": 7000
121
+ },
122
+ {
123
+ "epoch": 2.5369565217391306,
124
+ "eval_cosine_accuracy": 0.9668734669685364,
125
+ "eval_loss": 0.4095751941204071,
126
+ "eval_runtime": 34.6705,
127
+ "eval_samples_per_second": 274.268,
128
+ "eval_steps_per_second": 1.096,
129
+ "step": 7000
130
+ },
131
+ {
132
+ "epoch": 2.8992753623188405,
133
+ "grad_norm": 4.9811553955078125,
134
+ "learning_rate": 1.2918869919927484e-05,
135
+ "loss": 1.3973,
136
+ "step": 8000
137
+ },
138
+ {
139
+ "epoch": 2.8992753623188405,
140
+ "eval_cosine_accuracy": 0.9683457612991333,
141
+ "eval_loss": 0.3964327871799469,
142
+ "eval_runtime": 35.1522,
143
+ "eval_samples_per_second": 270.509,
144
+ "eval_steps_per_second": 1.081,
145
+ "step": 8000
146
+ },
147
+ {
148
+ "epoch": 3.261594202898551,
149
+ "grad_norm": 6.33431339263916,
150
+ "learning_rate": 1.1409578486176161e-05,
151
+ "loss": 1.3101,
152
+ "step": 9000
153
+ },
154
+ {
155
+ "epoch": 3.261594202898551,
156
+ "eval_cosine_accuracy": 0.9673992991447449,
157
+ "eval_loss": 0.39831292629241943,
158
+ "eval_runtime": 35.4714,
159
+ "eval_samples_per_second": 268.075,
160
+ "eval_steps_per_second": 1.071,
161
+ "step": 9000
162
+ },
163
+ {
164
+ "epoch": 3.623913043478261,
165
+ "grad_norm": 7.3262763023376465,
166
+ "learning_rate": 9.89877625018885e-06,
167
+ "loss": 1.3044,
168
+ "step": 10000
169
+ },
170
+ {
171
+ "epoch": 3.623913043478261,
172
+ "eval_cosine_accuracy": 0.9680302739143372,
173
+ "eval_loss": 0.3955402970314026,
174
+ "eval_runtime": 35.2264,
175
+ "eval_samples_per_second": 269.94,
176
+ "eval_steps_per_second": 1.079,
177
+ "step": 10000
178
+ },
179
+ {
180
+ "epoch": 3.986231884057971,
181
+ "grad_norm": 5.835394382476807,
182
+ "learning_rate": 8.390995618673516e-06,
183
+ "loss": 1.2367,
184
+ "step": 11000
185
+ },
186
+ {
187
+ "epoch": 3.986231884057971,
188
+ "eval_cosine_accuracy": 0.9683457612991333,
189
+ "eval_loss": 0.3905192017555237,
190
+ "eval_runtime": 35.7011,
191
+ "eval_samples_per_second": 266.351,
192
+ "eval_steps_per_second": 1.064,
193
+ "step": 11000
194
+ }
195
+ ],
196
+ "logging_steps": 1000,
197
+ "max_steps": 16548,
198
+ "num_input_tokens_seen": 0,
199
+ "num_train_epochs": 6,
200
+ "save_steps": 500,
201
+ "stateful_callbacks": {
202
+ "TrainerControl": {
203
+ "args": {
204
+ "should_epoch_stop": false,
205
+ "should_evaluate": false,
206
+ "should_log": false,
207
+ "should_save": true,
208
+ "should_training_stop": false
209
+ },
210
+ "attributes": {}
211
+ }
212
+ },
213
+ "total_flos": 0.0,
214
+ "train_batch_size": 256,
215
+ "trial_name": null,
216
+ "trial_params": null
217
+ }
checkpoint-11038/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b35c34ed649a8418b615ff1660402e4e4803bdecd02cad49b1ed62a5d928024e
3
+ size 5752
checkpoint-11038/vocab.txt ADDED
The diff for this file is too large to render. See raw diff