LamaDiab commited on
Commit
38e7084
·
verified ·
1 Parent(s): c3eb090

Training in progress, epoch 6, checkpoint

Browse files
checkpoint-26094/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-26094/README.md ADDED
@@ -0,0 +1,414 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:556626
9
+ - loss:MultipleNegativesSymmetricRankingLoss
10
+ widget:
11
+ - source_sentence: dimlaj orchid printed finest durable glass terkish tea set
12
+ sentences:
13
+ - v3 pro purple
14
+ - glass tea set
15
+ - easy cleaning beanbag
16
+ - source_sentence: potato salad
17
+ sentences:
18
+ - olive oil salad
19
+ - dry hair hair mist
20
+ - quarter bird
21
+ - source_sentence: red, white & royal blue
22
+ sentences:
23
+ - inam chocolate bar
24
+ - ' casey mcquiston book'
25
+ - 'hitman: the complete first season (ps4)'
26
+ - source_sentence: white ramekins 12 pcs
27
+ sentences:
28
+ - ' mug'
29
+ - ' ramekins'
30
+ - seba linen
31
+ - source_sentence: dive in finger delights
32
+ sentences:
33
+ - egyptian style chicken shawerma
34
+ - ramadan desserts
35
+ - ' fresh and go food container '
36
+ pipeline_tag: sentence-similarity
37
+ library_name: sentence-transformers
38
+ metrics:
39
+ - cosine_accuracy
40
+ model-index:
41
+ - name: SentenceTransformer
42
+ results:
43
+ - task:
44
+ type: triplet
45
+ name: Triplet
46
+ dataset:
47
+ name: Unknown
48
+ type: unknown
49
+ metrics:
50
+ - type: cosine_accuracy
51
+ value: 0.9618095755577087
52
+ name: Cosine Accuracy
53
+ ---
54
+
55
+ # SentenceTransformer
56
+
57
+ This is a [sentence-transformers](https://www.SBERT.net) model trained. 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.
58
+
59
+ ## Model Details
60
+
61
+ ### Model Description
62
+ - **Model Type:** Sentence Transformer
63
+ <!-- - **Base model:** [Unknown](https://huggingface.co/unknown) -->
64
+ - **Maximum Sequence Length:** 256 tokens
65
+ - **Output Dimensionality:** 384 dimensions
66
+ - **Similarity Function:** Cosine Similarity
67
+ <!-- - **Training Dataset:** Unknown -->
68
+ <!-- - **Language:** Unknown -->
69
+ <!-- - **License:** Unknown -->
70
+
71
+ ### Model Sources
72
+
73
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
74
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
75
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
76
+
77
+ ### Full Model Architecture
78
+
79
+ ```
80
+ SentenceTransformer(
81
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
82
+ (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})
83
+ (2): Normalize()
84
+ )
85
+ ```
86
+
87
+ ## Usage
88
+
89
+ ### Direct Usage (Sentence Transformers)
90
+
91
+ First install the Sentence Transformers library:
92
+
93
+ ```bash
94
+ pip install -U sentence-transformers
95
+ ```
96
+
97
+ Then you can load this model and run inference.
98
+ ```python
99
+ from sentence_transformers import SentenceTransformer
100
+
101
+ # Download from the 🤗 Hub
102
+ model = SentenceTransformer("LamaDiab/MiniLM-V7-128BATCH-V6Data-SemanticEngine")
103
+ # Run inference
104
+ sentences = [
105
+ 'dive in finger delights',
106
+ 'ramadan desserts',
107
+ 'egyptian style chicken shawerma',
108
+ ]
109
+ embeddings = model.encode(sentences)
110
+ print(embeddings.shape)
111
+ # [3, 384]
112
+
113
+ # Get the similarity scores for the embeddings
114
+ similarities = model.similarity(embeddings, embeddings)
115
+ print(similarities)
116
+ # tensor([[1.0000, 0.4517, 0.3474],
117
+ # [0.4517, 1.0000, 0.3222],
118
+ # [0.3474, 0.3222, 1.0000]])
119
+ ```
120
+
121
+ <!--
122
+ ### Direct Usage (Transformers)
123
+
124
+ <details><summary>Click to see the direct usage in Transformers</summary>
125
+
126
+ </details>
127
+ -->
128
+
129
+ <!--
130
+ ### Downstream Usage (Sentence Transformers)
131
+
132
+ You can finetune this model on your own dataset.
133
+
134
+ <details><summary>Click to expand</summary>
135
+
136
+ </details>
137
+ -->
138
+
139
+ <!--
140
+ ### Out-of-Scope Use
141
+
142
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
143
+ -->
144
+
145
+ ## Evaluation
146
+
147
+ ### Metrics
148
+
149
+ #### Triplet
150
+
151
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
152
+
153
+ | Metric | Value |
154
+ |:--------------------|:-----------|
155
+ | **cosine_accuracy** | **0.9618** |
156
+
157
+ <!--
158
+ ## Bias, Risks and Limitations
159
+
160
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
161
+ -->
162
+
163
+ <!--
164
+ ### Recommendations
165
+
166
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
167
+ -->
168
+
169
+ ## Training Details
170
+
171
+ ### Training Dataset
172
+
173
+ #### Unnamed Dataset
174
+
175
+ * Size: 556,626 training samples
176
+ * Columns: <code>anchor</code> and <code>positive</code>
177
+ * Approximate statistics based on the first 1000 samples:
178
+ | | anchor | positive |
179
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
180
+ | type | string | string |
181
+ | details | <ul><li>min: 3 tokens</li><li>mean: 8.79 tokens</li><li>max: 256 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 6.88 tokens</li><li>max: 214 tokens</li></ul> |
182
+ * Samples:
183
+ | anchor | positive |
184
+ |:--------------------------------|:---------------------------|
185
+ | <code>seafood</code> | <code>sunshine tuna</code> |
186
+ | <code>sunshine tuna</code> | <code>supermarkets</code> |
187
+ | <code>vegetable oil tuna</code> | <code>seafood</code> |
188
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
189
+ ```json
190
+ {
191
+ "scale": 20.0,
192
+ "similarity_fct": "cos_sim",
193
+ "gather_across_devices": false
194
+ }
195
+ ```
196
+
197
+ ### Evaluation Dataset
198
+
199
+ #### Unnamed Dataset
200
+
201
+ * Size: 9,505 evaluation samples
202
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
203
+ * Approximate statistics based on the first 1000 samples:
204
+ | | anchor | positive | negative |
205
+ |:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
206
+ | type | string | string | string |
207
+ | 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.45 tokens</li><li>max: 206 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.71 tokens</li><li>max: 42 tokens</li></ul> |
208
+ * Samples:
209
+ | anchor | positive | negative |
210
+ |:---------------------------------------------------------------------|:-----------------------------------------|:--------------------------------------------------------------------------------|
211
+ | <code>pilot mechanical pencil progrex h-127 - 0.7 mm</code> | <code> progrex pencil </code> | <code>approach with caution</code> |
212
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code> nib marker pen</code> | <code>thermal food bag coral high green pink 5 l 1 zipper 11804 flamingo</code> |
213
+ | <code>first person singular author: haruki murakami</code> | <code> first person singular book</code> | <code>case-book of sherlock holmes</code> |
214
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
215
+ ```json
216
+ {
217
+ "scale": 20.0,
218
+ "similarity_fct": "cos_sim",
219
+ "gather_across_devices": false
220
+ }
221
+ ```
222
+
223
+ ### Training Hyperparameters
224
+ #### Non-Default Hyperparameters
225
+
226
+ - `eval_strategy`: epoch
227
+ - `per_device_train_batch_size`: 128
228
+ - `per_device_eval_batch_size`: 128
229
+ - `weight_decay`: 0.001
230
+ - `num_train_epochs`: 6
231
+ - `warmup_steps`: 6956
232
+ - `fp16`: True
233
+ - `dataloader_num_workers`: 2
234
+ - `dataloader_prefetch_factor`: 2
235
+ - `dataloader_persistent_workers`: True
236
+ - `push_to_hub`: True
237
+ - `hub_model_id`: LamaDiab/MiniLM-V7-128BATCH-V6Data-SemanticEngine
238
+ - `hub_strategy`: all_checkpoints
239
+ - `batch_sampler`: no_duplicates
240
+
241
+ #### All Hyperparameters
242
+ <details><summary>Click to expand</summary>
243
+
244
+ - `overwrite_output_dir`: False
245
+ - `do_predict`: False
246
+ - `eval_strategy`: epoch
247
+ - `prediction_loss_only`: True
248
+ - `per_device_train_batch_size`: 128
249
+ - `per_device_eval_batch_size`: 128
250
+ - `per_gpu_train_batch_size`: None
251
+ - `per_gpu_eval_batch_size`: None
252
+ - `gradient_accumulation_steps`: 1
253
+ - `eval_accumulation_steps`: None
254
+ - `torch_empty_cache_steps`: None
255
+ - `learning_rate`: 5e-05
256
+ - `weight_decay`: 0.001
257
+ - `adam_beta1`: 0.9
258
+ - `adam_beta2`: 0.999
259
+ - `adam_epsilon`: 1e-08
260
+ - `max_grad_norm`: 1.0
261
+ - `num_train_epochs`: 6
262
+ - `max_steps`: -1
263
+ - `lr_scheduler_type`: linear
264
+ - `lr_scheduler_kwargs`: {}
265
+ - `warmup_ratio`: 0
266
+ - `warmup_steps`: 6956
267
+ - `log_level`: passive
268
+ - `log_level_replica`: warning
269
+ - `log_on_each_node`: True
270
+ - `logging_nan_inf_filter`: True
271
+ - `save_safetensors`: True
272
+ - `save_on_each_node`: False
273
+ - `save_only_model`: False
274
+ - `restore_callback_states_from_checkpoint`: False
275
+ - `no_cuda`: False
276
+ - `use_cpu`: False
277
+ - `use_mps_device`: False
278
+ - `seed`: 42
279
+ - `data_seed`: None
280
+ - `jit_mode_eval`: False
281
+ - `use_ipex`: False
282
+ - `bf16`: False
283
+ - `fp16`: True
284
+ - `fp16_opt_level`: O1
285
+ - `half_precision_backend`: auto
286
+ - `bf16_full_eval`: False
287
+ - `fp16_full_eval`: False
288
+ - `tf32`: None
289
+ - `local_rank`: 0
290
+ - `ddp_backend`: None
291
+ - `tpu_num_cores`: None
292
+ - `tpu_metrics_debug`: False
293
+ - `debug`: []
294
+ - `dataloader_drop_last`: False
295
+ - `dataloader_num_workers`: 2
296
+ - `dataloader_prefetch_factor`: 2
297
+ - `past_index`: -1
298
+ - `disable_tqdm`: False
299
+ - `remove_unused_columns`: True
300
+ - `label_names`: None
301
+ - `load_best_model_at_end`: False
302
+ - `ignore_data_skip`: False
303
+ - `fsdp`: []
304
+ - `fsdp_min_num_params`: 0
305
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
306
+ - `fsdp_transformer_layer_cls_to_wrap`: None
307
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
308
+ - `deepspeed`: None
309
+ - `label_smoothing_factor`: 0.0
310
+ - `optim`: adamw_torch
311
+ - `optim_args`: None
312
+ - `adafactor`: False
313
+ - `group_by_length`: False
314
+ - `length_column_name`: length
315
+ - `ddp_find_unused_parameters`: None
316
+ - `ddp_bucket_cap_mb`: None
317
+ - `ddp_broadcast_buffers`: False
318
+ - `dataloader_pin_memory`: True
319
+ - `dataloader_persistent_workers`: True
320
+ - `skip_memory_metrics`: True
321
+ - `use_legacy_prediction_loop`: False
322
+ - `push_to_hub`: True
323
+ - `resume_from_checkpoint`: None
324
+ - `hub_model_id`: LamaDiab/MiniLM-V7-128BATCH-V6Data-SemanticEngine
325
+ - `hub_strategy`: all_checkpoints
326
+ - `hub_private_repo`: None
327
+ - `hub_always_push`: False
328
+ - `hub_revision`: None
329
+ - `gradient_checkpointing`: False
330
+ - `gradient_checkpointing_kwargs`: None
331
+ - `include_inputs_for_metrics`: False
332
+ - `include_for_metrics`: []
333
+ - `eval_do_concat_batches`: True
334
+ - `fp16_backend`: auto
335
+ - `push_to_hub_model_id`: None
336
+ - `push_to_hub_organization`: None
337
+ - `mp_parameters`:
338
+ - `auto_find_batch_size`: False
339
+ - `full_determinism`: False
340
+ - `torchdynamo`: None
341
+ - `ray_scope`: last
342
+ - `ddp_timeout`: 1800
343
+ - `torch_compile`: False
344
+ - `torch_compile_backend`: None
345
+ - `torch_compile_mode`: None
346
+ - `include_tokens_per_second`: False
347
+ - `include_num_input_tokens_seen`: False
348
+ - `neftune_noise_alpha`: None
349
+ - `optim_target_modules`: None
350
+ - `batch_eval_metrics`: False
351
+ - `eval_on_start`: False
352
+ - `use_liger_kernel`: False
353
+ - `liger_kernel_config`: None
354
+ - `eval_use_gather_object`: False
355
+ - `average_tokens_across_devices`: False
356
+ - `prompts`: None
357
+ - `batch_sampler`: no_duplicates
358
+ - `multi_dataset_batch_sampler`: proportional
359
+ - `router_mapping`: {}
360
+ - `learning_rate_mapping`: {}
361
+
362
+ </details>
363
+
364
+ ### Training Logs
365
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
366
+ |:-----:|:-----:|:-------------:|:---------------:|:---------------:|
367
+ | 4.0 | 17396 | 1.3564 | 1.3029 | 0.9600 |
368
+ | 5.0 | 21745 | 1.2501 | 1.3017 | 0.9622 |
369
+ | 6.0 | 26094 | 1.1858 | 1.2925 | 0.9618 |
370
+
371
+
372
+ ### Framework Versions
373
+ - Python: 3.11.13
374
+ - Sentence Transformers: 5.1.2
375
+ - Transformers: 4.53.3
376
+ - PyTorch: 2.6.0+cu124
377
+ - Accelerate: 1.9.0
378
+ - Datasets: 4.4.1
379
+ - Tokenizers: 0.21.2
380
+
381
+ ## Citation
382
+
383
+ ### BibTeX
384
+
385
+ #### Sentence Transformers
386
+ ```bibtex
387
+ @inproceedings{reimers-2019-sentence-bert,
388
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
389
+ author = "Reimers, Nils and Gurevych, Iryna",
390
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
391
+ month = "11",
392
+ year = "2019",
393
+ publisher = "Association for Computational Linguistics",
394
+ url = "https://arxiv.org/abs/1908.10084",
395
+ }
396
+ ```
397
+
398
+ <!--
399
+ ## Glossary
400
+
401
+ *Clearly define terms in order to be accessible across audiences.*
402
+ -->
403
+
404
+ <!--
405
+ ## Model Card Authors
406
+
407
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
408
+ -->
409
+
410
+ <!--
411
+ ## Model Card Contact
412
+
413
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
414
+ -->
checkpoint-26094/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-26094/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-26094/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43bfed6e34fdbfe0aa87a3ad5e3611c448b1aebd182fef94b6217f08f339a3c9
3
+ size 90864192
checkpoint-26094/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-26094/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69a2eadd402959836d0df7ce8cacde31c1f412d892d13ed6d37d8f15ed0f4571
3
+ size 180607738
checkpoint-26094/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6b8823abab70263e1b00ed6cc40ff54b256c74ec0857614174527087a5707da
3
+ size 14244
checkpoint-26094/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6e9cdf1f2b9cb0c84cbd8a30dcba4e55fdbadb6b9fea070e25daea25105c6af
3
+ size 988
checkpoint-26094/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ed53f5e628d0bac0d27a7784eea6a0fa5c2ce9fdeda6ede53c4ed5b7a3cb7a4
3
+ size 1064
checkpoint-26094/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-26094/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-26094/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-26094/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-26094/trainer_state.json ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 6.0,
6
+ "eval_steps": 500,
7
+ "global_step": 26094,
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.00022993791676247414,
14
+ "grad_norm": 11.149688720703125,
15
+ "learning_rate": 0.0,
16
+ "loss": 5.3185,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "grad_norm": 13.886802673339844,
22
+ "learning_rate": 3.124640598044854e-05,
23
+ "loss": 2.6529,
24
+ "step": 4349
25
+ },
26
+ {
27
+ "epoch": 1.0,
28
+ "eval_cosine_accuracy": 0.9491846561431885,
29
+ "eval_loss": 1.4502098560333252,
30
+ "eval_runtime": 24.744,
31
+ "eval_samples_per_second": 384.133,
32
+ "eval_steps_per_second": 3.031,
33
+ "step": 4349
34
+ },
35
+ {
36
+ "epoch": 2.0,
37
+ "grad_norm": 6.237020015716553,
38
+ "learning_rate": 3.574125759317025e-05,
39
+ "loss": 1.8024,
40
+ "step": 8698
41
+ },
42
+ {
43
+ "epoch": 2.0,
44
+ "eval_cosine_accuracy": 0.9600210189819336,
45
+ "eval_loss": 1.399303674697876,
46
+ "eval_runtime": 26.5029,
47
+ "eval_samples_per_second": 358.64,
48
+ "eval_steps_per_second": 2.83,
49
+ "step": 8698
50
+ },
51
+ {
52
+ "epoch": 3.0,
53
+ "grad_norm": 8.765737533569336,
54
+ "learning_rate": 5.7461828927926447e-08,
55
+ "loss": 1.4655,
56
+ "step": 13047
57
+ },
58
+ {
59
+ "epoch": 3.0,
60
+ "eval_cosine_accuracy": 0.9607574939727783,
61
+ "eval_loss": 1.3219194412231445,
62
+ "eval_runtime": 24.731,
63
+ "eval_samples_per_second": 384.335,
64
+ "eval_steps_per_second": 3.033,
65
+ "step": 13047
66
+ },
67
+ {
68
+ "epoch": 4.0,
69
+ "grad_norm": 17.971332550048828,
70
+ "learning_rate": 2.274532344027589e-05,
71
+ "loss": 1.3564,
72
+ "step": 17396
73
+ },
74
+ {
75
+ "epoch": 4.0,
76
+ "eval_cosine_accuracy": 0.9600210189819336,
77
+ "eval_loss": 1.3028672933578491,
78
+ "eval_runtime": 26.3111,
79
+ "eval_samples_per_second": 361.254,
80
+ "eval_steps_per_second": 2.851,
81
+ "step": 17396
82
+ },
83
+ {
84
+ "epoch": 5.0,
85
+ "grad_norm": 11.638869285583496,
86
+ "learning_rate": 1.1390949942522731e-05,
87
+ "loss": 1.2501,
88
+ "step": 21745
89
+ },
90
+ {
91
+ "epoch": 5.0,
92
+ "eval_cosine_accuracy": 0.962230384349823,
93
+ "eval_loss": 1.3016538619995117,
94
+ "eval_runtime": 25.4105,
95
+ "eval_samples_per_second": 374.058,
96
+ "eval_steps_per_second": 2.952,
97
+ "step": 21745
98
+ },
99
+ {
100
+ "epoch": 6.0,
101
+ "grad_norm": 12.184847831726074,
102
+ "learning_rate": 3.396384157174209e-08,
103
+ "loss": 1.1858,
104
+ "step": 26094
105
+ },
106
+ {
107
+ "epoch": 6.0,
108
+ "eval_cosine_accuracy": 0.9618095755577087,
109
+ "eval_loss": 1.292510747909546,
110
+ "eval_runtime": 25.2243,
111
+ "eval_samples_per_second": 376.819,
112
+ "eval_steps_per_second": 2.973,
113
+ "step": 26094
114
+ }
115
+ ],
116
+ "logging_steps": 500,
117
+ "max_steps": 26094,
118
+ "num_input_tokens_seen": 0,
119
+ "num_train_epochs": 6,
120
+ "save_steps": 500,
121
+ "stateful_callbacks": {
122
+ "TrainerControl": {
123
+ "args": {
124
+ "should_epoch_stop": false,
125
+ "should_evaluate": false,
126
+ "should_log": false,
127
+ "should_save": true,
128
+ "should_training_stop": true
129
+ },
130
+ "attributes": {}
131
+ }
132
+ },
133
+ "total_flos": 0.0,
134
+ "train_batch_size": 128,
135
+ "trial_name": null,
136
+ "trial_params": null
137
+ }
checkpoint-26094/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02c4b913126947d8de2521621f2561f475c38800db0b3446400f290995ae306c
3
+ size 5752
checkpoint-26094/vocab.txt ADDED
The diff for this file is too large to render. See raw diff