LamaDiab commited on
Commit
15daeb9
·
verified ·
1 Parent(s): e6f2940

Training in progress, epoch 2, checkpoint

Browse files
checkpoint-4330/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-4330/README.md ADDED
@@ -0,0 +1,424 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: sentence-transformers/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 sentence-transformers/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.9597054123878479
57
+ name: Cosine Accuracy
58
+ ---
59
+
60
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
61
+
62
+ 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.
63
+
64
+ ## Model Details
65
+
66
+ ### Model Description
67
+ - **Model Type:** Sentence Transformer
68
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
69
+ - **Maximum Sequence Length:** 256 tokens
70
+ - **Output Dimensionality:** 384 dimensions
71
+ - **Similarity Function:** Cosine Similarity
72
+ <!-- - **Training Dataset:** Unknown -->
73
+ <!-- - **Language:** Unknown -->
74
+ <!-- - **License:** Unknown -->
75
+
76
+ ### Model Sources
77
+
78
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
79
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
80
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
81
+
82
+ ### Full Model Architecture
83
+
84
+ ```
85
+ SentenceTransformer(
86
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
87
+ (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})
88
+ (2): Normalize()
89
+ )
90
+ ```
91
+
92
+ ## Usage
93
+
94
+ ### Direct Usage (Sentence Transformers)
95
+
96
+ First install the Sentence Transformers library:
97
+
98
+ ```bash
99
+ pip install -U sentence-transformers
100
+ ```
101
+
102
+ Then you can load this model and run inference.
103
+ ```python
104
+ from sentence_transformers import SentenceTransformer
105
+
106
+ # Download from the 🤗 Hub
107
+ model = SentenceTransformer("LamaDiab/MiniLM-V9Data-256BATCH-SemanticEngine")
108
+ # Run inference
109
+ sentences = [
110
+ 'to - do - dahab',
111
+ ' notebook',
112
+ 'notebook ruled glue binding soft cover 14.2 x 20.8 cm 160 sheets 80 gsm leather cover heeton no a25-835',
113
+ ]
114
+ embeddings = model.encode(sentences)
115
+ print(embeddings.shape)
116
+ # [3, 384]
117
+
118
+ # Get the similarity scores for the embeddings
119
+ similarities = model.similarity(embeddings, embeddings)
120
+ print(similarities)
121
+ # tensor([[1.0000, 0.3143, 0.2632],
122
+ # [0.3143, 1.0000, 0.7027],
123
+ # [0.2632, 0.7027, 1.0000]])
124
+ ```
125
+
126
+ <!--
127
+ ### Direct Usage (Transformers)
128
+
129
+ <details><summary>Click to see the direct usage in Transformers</summary>
130
+
131
+ </details>
132
+ -->
133
+
134
+ <!--
135
+ ### Downstream Usage (Sentence Transformers)
136
+
137
+ You can finetune this model on your own dataset.
138
+
139
+ <details><summary>Click to expand</summary>
140
+
141
+ </details>
142
+ -->
143
+
144
+ <!--
145
+ ### Out-of-Scope Use
146
+
147
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
148
+ -->
149
+
150
+ ## Evaluation
151
+
152
+ ### Metrics
153
+
154
+ #### Triplet
155
+
156
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
157
+
158
+ | Metric | Value |
159
+ |:--------------------|:-----------|
160
+ | **cosine_accuracy** | **0.9597** |
161
+
162
+ <!--
163
+ ## Bias, Risks and Limitations
164
+
165
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
166
+ -->
167
+
168
+ <!--
169
+ ### Recommendations
170
+
171
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
172
+ -->
173
+
174
+ ## Training Details
175
+
176
+ ### Training Dataset
177
+
178
+ #### Unnamed Dataset
179
+
180
+ * Size: 554,030 training samples
181
+ * Columns: <code>anchor</code> and <code>positive</code>
182
+ * Approximate statistics based on the first 1000 samples:
183
+ | | anchor | positive |
184
+ |:--------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
185
+ | type | string | string |
186
+ | 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> |
187
+ * Samples:
188
+ | anchor | positive |
189
+ |:---------------------------------------|:------------------------------------|
190
+ | <code>grass fed butter basbousa</code> | <code>coconut flour basbousa</code> |
191
+ | <code>silver printer tape</code> | <code>printer labels</code> |
192
+ | <code>top</code> | <code>charcoal tee</code> |
193
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
194
+ ```json
195
+ {
196
+ "scale": 20.0,
197
+ "similarity_fct": "cos_sim",
198
+ "gather_across_devices": false
199
+ }
200
+ ```
201
+
202
+ ### Evaluation Dataset
203
+
204
+ #### Unnamed Dataset
205
+
206
+ * Size: 9,505 evaluation samples
207
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
208
+ * Approximate statistics based on the first 1000 samples:
209
+ | | anchor | positive | negative |
210
+ |:--------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
211
+ | type | string | string | string |
212
+ | 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> |
213
+ * Samples:
214
+ | anchor | positive | negative |
215
+ |:---------------------------------------------------------------------|:-----------------------------------------|:--------------------------------------------------------------------------|
216
+ | <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> |
217
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code> marker pen </code> | <code>blue to-do list</code> |
218
+ | <code>first person singular author: haruki murakami</code> | <code> first person singular book</code> | <code>sesame street 5-minute stories</code> |
219
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
220
+ ```json
221
+ {
222
+ "scale": 20.0,
223
+ "similarity_fct": "cos_sim",
224
+ "gather_across_devices": false
225
+ }
226
+ ```
227
+
228
+ ### Training Hyperparameters
229
+ #### Non-Default Hyperparameters
230
+
231
+ - `eval_strategy`: steps
232
+ - `per_device_train_batch_size`: 256
233
+ - `per_device_eval_batch_size`: 256
234
+ - `learning_rate`: 2e-05
235
+ - `weight_decay`: 0.001
236
+ - `num_train_epochs`: 5
237
+ - `warmup_steps`: 1082
238
+ - `fp16`: True
239
+ - `dataloader_num_workers`: 1
240
+ - `dataloader_prefetch_factor`: 2
241
+ - `dataloader_persistent_workers`: True
242
+ - `push_to_hub`: True
243
+ - `hub_model_id`: LamaDiab/MiniLM-V9Data-256BATCH-SemanticEngine
244
+ - `hub_strategy`: all_checkpoints
245
+ - `batch_sampler`: no_duplicates
246
+
247
+ #### All Hyperparameters
248
+ <details><summary>Click to expand</summary>
249
+
250
+ - `overwrite_output_dir`: False
251
+ - `do_predict`: False
252
+ - `eval_strategy`: steps
253
+ - `prediction_loss_only`: True
254
+ - `per_device_train_batch_size`: 256
255
+ - `per_device_eval_batch_size`: 256
256
+ - `per_gpu_train_batch_size`: None
257
+ - `per_gpu_eval_batch_size`: None
258
+ - `gradient_accumulation_steps`: 1
259
+ - `eval_accumulation_steps`: None
260
+ - `torch_empty_cache_steps`: None
261
+ - `learning_rate`: 2e-05
262
+ - `weight_decay`: 0.001
263
+ - `adam_beta1`: 0.9
264
+ - `adam_beta2`: 0.999
265
+ - `adam_epsilon`: 1e-08
266
+ - `max_grad_norm`: 1.0
267
+ - `num_train_epochs`: 5
268
+ - `max_steps`: -1
269
+ - `lr_scheduler_type`: linear
270
+ - `lr_scheduler_kwargs`: {}
271
+ - `warmup_ratio`: 0
272
+ - `warmup_steps`: 1082
273
+ - `log_level`: passive
274
+ - `log_level_replica`: warning
275
+ - `log_on_each_node`: True
276
+ - `logging_nan_inf_filter`: True
277
+ - `save_safetensors`: True
278
+ - `save_on_each_node`: False
279
+ - `save_only_model`: False
280
+ - `restore_callback_states_from_checkpoint`: False
281
+ - `no_cuda`: False
282
+ - `use_cpu`: False
283
+ - `use_mps_device`: False
284
+ - `seed`: 42
285
+ - `data_seed`: None
286
+ - `jit_mode_eval`: False
287
+ - `use_ipex`: False
288
+ - `bf16`: False
289
+ - `fp16`: True
290
+ - `fp16_opt_level`: O1
291
+ - `half_precision_backend`: auto
292
+ - `bf16_full_eval`: False
293
+ - `fp16_full_eval`: False
294
+ - `tf32`: None
295
+ - `local_rank`: 0
296
+ - `ddp_backend`: None
297
+ - `tpu_num_cores`: None
298
+ - `tpu_metrics_debug`: False
299
+ - `debug`: []
300
+ - `dataloader_drop_last`: False
301
+ - `dataloader_num_workers`: 1
302
+ - `dataloader_prefetch_factor`: 2
303
+ - `past_index`: -1
304
+ - `disable_tqdm`: False
305
+ - `remove_unused_columns`: True
306
+ - `label_names`: None
307
+ - `load_best_model_at_end`: False
308
+ - `ignore_data_skip`: False
309
+ - `fsdp`: []
310
+ - `fsdp_min_num_params`: 0
311
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
312
+ - `fsdp_transformer_layer_cls_to_wrap`: None
313
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
314
+ - `deepspeed`: None
315
+ - `label_smoothing_factor`: 0.0
316
+ - `optim`: adamw_torch
317
+ - `optim_args`: None
318
+ - `adafactor`: False
319
+ - `group_by_length`: False
320
+ - `length_column_name`: length
321
+ - `ddp_find_unused_parameters`: None
322
+ - `ddp_bucket_cap_mb`: None
323
+ - `ddp_broadcast_buffers`: False
324
+ - `dataloader_pin_memory`: True
325
+ - `dataloader_persistent_workers`: True
326
+ - `skip_memory_metrics`: True
327
+ - `use_legacy_prediction_loop`: False
328
+ - `push_to_hub`: True
329
+ - `resume_from_checkpoint`: None
330
+ - `hub_model_id`: LamaDiab/MiniLM-V9Data-256BATCH-SemanticEngine
331
+ - `hub_strategy`: all_checkpoints
332
+ - `hub_private_repo`: None
333
+ - `hub_always_push`: False
334
+ - `hub_revision`: None
335
+ - `gradient_checkpointing`: False
336
+ - `gradient_checkpointing_kwargs`: None
337
+ - `include_inputs_for_metrics`: False
338
+ - `include_for_metrics`: []
339
+ - `eval_do_concat_batches`: True
340
+ - `fp16_backend`: auto
341
+ - `push_to_hub_model_id`: None
342
+ - `push_to_hub_organization`: None
343
+ - `mp_parameters`:
344
+ - `auto_find_batch_size`: False
345
+ - `full_determinism`: False
346
+ - `torchdynamo`: None
347
+ - `ray_scope`: last
348
+ - `ddp_timeout`: 1800
349
+ - `torch_compile`: False
350
+ - `torch_compile_backend`: None
351
+ - `torch_compile_mode`: None
352
+ - `include_tokens_per_second`: False
353
+ - `include_num_input_tokens_seen`: False
354
+ - `neftune_noise_alpha`: None
355
+ - `optim_target_modules`: None
356
+ - `batch_eval_metrics`: False
357
+ - `eval_on_start`: False
358
+ - `use_liger_kernel`: False
359
+ - `liger_kernel_config`: None
360
+ - `eval_use_gather_object`: False
361
+ - `average_tokens_across_devices`: False
362
+ - `prompts`: None
363
+ - `batch_sampler`: no_duplicates
364
+ - `multi_dataset_batch_sampler`: proportional
365
+ - `router_mapping`: {}
366
+ - `learning_rate_mapping`: {}
367
+
368
+ </details>
369
+
370
+ ### Training Logs
371
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
372
+ |:------:|:----:|:-------------:|:---------------:|:---------------:|
373
+ | 0.0005 | 1 | 3.6183 | - | - |
374
+ | 0.4619 | 1000 | - | 1.2476 | 0.9518 |
375
+ | 0.9238 | 2000 | - | 1.1979 | 0.9533 |
376
+ | 1.0 | 2165 | 2.4107 | - | - |
377
+ | 1.3857 | 3000 | - | 1.1493 | 0.9572 |
378
+ | 1.8476 | 4000 | - | 1.1210 | 0.9597 |
379
+ | 2.0 | 4330 | 1.8868 | - | - |
380
+
381
+
382
+ ### Framework Versions
383
+ - Python: 3.11.13
384
+ - Sentence Transformers: 5.1.2
385
+ - Transformers: 4.53.3
386
+ - PyTorch: 2.6.0+cu124
387
+ - Accelerate: 1.9.0
388
+ - Datasets: 4.4.1
389
+ - Tokenizers: 0.21.2
390
+
391
+ ## Citation
392
+
393
+ ### BibTeX
394
+
395
+ #### Sentence Transformers
396
+ ```bibtex
397
+ @inproceedings{reimers-2019-sentence-bert,
398
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
399
+ author = "Reimers, Nils and Gurevych, Iryna",
400
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
401
+ month = "11",
402
+ year = "2019",
403
+ publisher = "Association for Computational Linguistics",
404
+ url = "https://arxiv.org/abs/1908.10084",
405
+ }
406
+ ```
407
+
408
+ <!--
409
+ ## Glossary
410
+
411
+ *Clearly define terms in order to be accessible across audiences.*
412
+ -->
413
+
414
+ <!--
415
+ ## Model Card Authors
416
+
417
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
418
+ -->
419
+
420
+ <!--
421
+ ## Model Card Contact
422
+
423
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
424
+ -->
checkpoint-4330/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-4330/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-4330/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:966eb48e63e518713eeab81477f99c48c7527351f7c8c6e9590798a5ed1dc603
3
+ size 90864192
checkpoint-4330/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-4330/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfbd11a4931e0606411cc9c71c6925397f89d5bc7d2cb10778a0980f37070bee
3
+ size 180607738
checkpoint-4330/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dccde9635d866873e1d55ee190e66fa6f933a71a3ea2bfdf84c6ce723b17086e
3
+ size 14244
checkpoint-4330/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecaad1182069ed34912677ab2fa40aa79dcf2e97697c0ab001ddeb8b1787b26c
3
+ size 988
checkpoint-4330/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94c66f2efb29a6a090def727ddf1f6a743f00dfbf442775664e4a2da612173a9
3
+ size 1064
checkpoint-4330/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-4330/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-4330/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-4330/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-4330/trainer_state.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.0,
6
+ "eval_steps": 1000,
7
+ "global_step": 4330,
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": 7.368561744689941,
15
+ "learning_rate": 0.0,
16
+ "loss": 3.6183,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.4618937644341801,
21
+ "eval_cosine_accuracy": 0.9518148303031921,
22
+ "eval_loss": 1.2476075887680054,
23
+ "eval_runtime": 21.6936,
24
+ "eval_samples_per_second": 438.147,
25
+ "eval_steps_per_second": 1.752,
26
+ "step": 1000
27
+ },
28
+ {
29
+ "epoch": 0.9237875288683602,
30
+ "eval_cosine_accuracy": 0.9532877206802368,
31
+ "eval_loss": 1.1978851556777954,
32
+ "eval_runtime": 21.447,
33
+ "eval_samples_per_second": 443.185,
34
+ "eval_steps_per_second": 1.772,
35
+ "step": 2000
36
+ },
37
+ {
38
+ "epoch": 1.0,
39
+ "grad_norm": 18.16141128540039,
40
+ "learning_rate": 1.7780970953505083e-05,
41
+ "loss": 2.4107,
42
+ "step": 2165
43
+ },
44
+ {
45
+ "epoch": 1.3856812933025404,
46
+ "eval_cosine_accuracy": 0.9571804404258728,
47
+ "eval_loss": 1.1492724418640137,
48
+ "eval_runtime": 21.5248,
49
+ "eval_samples_per_second": 441.583,
50
+ "eval_steps_per_second": 1.765,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 1.8475750577367207,
55
+ "eval_cosine_accuracy": 0.9597054123878479,
56
+ "eval_loss": 1.1209757328033447,
57
+ "eval_runtime": 21.5534,
58
+ "eval_samples_per_second": 440.998,
59
+ "eval_steps_per_second": 1.763,
60
+ "step": 4000
61
+ },
62
+ {
63
+ "epoch": 2.0,
64
+ "grad_norm": 17.87831687927246,
65
+ "learning_rate": 1.3338807348865855e-05,
66
+ "loss": 1.8868,
67
+ "step": 4330
68
+ }
69
+ ],
70
+ "logging_steps": 500,
71
+ "max_steps": 10825,
72
+ "num_input_tokens_seen": 0,
73
+ "num_train_epochs": 5,
74
+ "save_steps": 500,
75
+ "stateful_callbacks": {
76
+ "TrainerControl": {
77
+ "args": {
78
+ "should_epoch_stop": false,
79
+ "should_evaluate": false,
80
+ "should_log": false,
81
+ "should_save": true,
82
+ "should_training_stop": false
83
+ },
84
+ "attributes": {}
85
+ }
86
+ },
87
+ "total_flos": 0.0,
88
+ "train_batch_size": 256,
89
+ "trial_name": null,
90
+ "trial_params": null
91
+ }
checkpoint-4330/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f73de0dc95104045409d1385887a397ac0b054ebdd15db57ee4ccf763d6733b
3
+ size 5752
checkpoint-4330/vocab.txt ADDED
The diff for this file is too large to render. See raw diff