LamaDiab commited on
Commit
9a86505
·
verified ·
1 Parent(s): 7000385

Training in progress, epoch 1, checkpoint

Browse files
checkpoint-22/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-22/README.md ADDED
@@ -0,0 +1,360 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:683
9
+ - loss:MultipleNegativesSymmetricRankingLoss
10
+ widget:
11
+ - source_sentence: ys
12
+ sentences:
13
+ - sage
14
+ - chinese chard
15
+ - tiny
16
+ - source_sentence: azure blue
17
+ sentences:
18
+ - sapphire
19
+ - phone case
20
+ - dusk blue
21
+ - source_sentence: meat
22
+ sentences:
23
+ - torshy
24
+ - la7ma
25
+ - mobile phone
26
+ - source_sentence: air conditioner
27
+ sentences:
28
+ - ac
29
+ - siamy
30
+ - hibiscus
31
+ - source_sentence: flavour
32
+ sentences:
33
+ - flavor
34
+ - white
35
+ - knicers
36
+ pipeline_tag: sentence-similarity
37
+ library_name: sentence-transformers
38
+ ---
39
+
40
+ # SentenceTransformer
41
+
42
+ 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.
43
+
44
+ ## Model Details
45
+
46
+ ### Model Description
47
+ - **Model Type:** Sentence Transformer
48
+ <!-- - **Base model:** [Unknown](https://huggingface.co/unknown) -->
49
+ - **Maximum Sequence Length:** 256 tokens
50
+ - **Output Dimensionality:** 384 dimensions
51
+ - **Similarity Function:** Cosine Similarity
52
+ <!-- - **Training Dataset:** Unknown -->
53
+ <!-- - **Language:** Unknown -->
54
+ <!-- - **License:** Unknown -->
55
+
56
+ ### Model Sources
57
+
58
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
59
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
60
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
61
+
62
+ ### Full Model Architecture
63
+
64
+ ```
65
+ SentenceTransformer(
66
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
67
+ (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})
68
+ (2): Normalize()
69
+ )
70
+ ```
71
+
72
+ ## Usage
73
+
74
+ ### Direct Usage (Sentence Transformers)
75
+
76
+ First install the Sentence Transformers library:
77
+
78
+ ```bash
79
+ pip install -U sentence-transformers
80
+ ```
81
+
82
+ Then you can load this model and run inference.
83
+ ```python
84
+ from sentence_transformers import SentenceTransformer
85
+
86
+ # Download from the 🤗 Hub
87
+ model = SentenceTransformer("LamaDiab/V7MiniLM-Synonyms-SemanticEngine")
88
+ # Run inference
89
+ sentences = [
90
+ 'flavour',
91
+ 'flavor',
92
+ 'knicers',
93
+ ]
94
+ embeddings = model.encode(sentences)
95
+ print(embeddings.shape)
96
+ # [3, 384]
97
+
98
+ # Get the similarity scores for the embeddings
99
+ similarities = model.similarity(embeddings, embeddings)
100
+ print(similarities)
101
+ # tensor([[1.0000, 0.9016, 0.4249],
102
+ # [0.9016, 1.0000, 0.4270],
103
+ # [0.4249, 0.4270, 1.0000]])
104
+ ```
105
+
106
+ <!--
107
+ ### Direct Usage (Transformers)
108
+
109
+ <details><summary>Click to see the direct usage in Transformers</summary>
110
+
111
+ </details>
112
+ -->
113
+
114
+ <!--
115
+ ### Downstream Usage (Sentence Transformers)
116
+
117
+ You can finetune this model on your own dataset.
118
+
119
+ <details><summary>Click to expand</summary>
120
+
121
+ </details>
122
+ -->
123
+
124
+ <!--
125
+ ### Out-of-Scope Use
126
+
127
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
128
+ -->
129
+
130
+ <!--
131
+ ## Bias, Risks and Limitations
132
+
133
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
134
+ -->
135
+
136
+ <!--
137
+ ### Recommendations
138
+
139
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
140
+ -->
141
+
142
+ ## Training Details
143
+
144
+ ### Training Dataset
145
+
146
+ #### Unnamed Dataset
147
+
148
+ * Size: 683 training samples
149
+ * Columns: <code>anchor</code> and <code>positive</code>
150
+ * Approximate statistics based on the first 683 samples:
151
+ | | anchor | positive |
152
+ |:--------|:--------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
153
+ | type | string | string |
154
+ | details | <ul><li>min: 3 tokens</li><li>mean: 3.95 tokens</li><li>max: 8 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.92 tokens</li><li>max: 8 tokens</li></ul> |
155
+ * Samples:
156
+ | anchor | positive |
157
+ |:-------------------------|:----------------------|
158
+ | <code>papmers</code> | <code>diaper</code> |
159
+ | <code>light green</code> | <code>mint</code> |
160
+ | <code>hiking</code> | <code>trekking</code> |
161
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
162
+ ```json
163
+ {
164
+ "scale": 20.0,
165
+ "similarity_fct": "cos_sim",
166
+ "gather_across_devices": false
167
+ }
168
+ ```
169
+
170
+ ### Training Hyperparameters
171
+ #### Non-Default Hyperparameters
172
+
173
+ - `per_device_train_batch_size`: 32
174
+ - `per_device_eval_batch_size`: 16
175
+ - `learning_rate`: 1e-05
176
+ - `weight_decay`: 0.001
177
+ - `num_train_epochs`: 4
178
+ - `warmup_ratio`: 0.2
179
+ - `fp16`: True
180
+ - `dataloader_num_workers`: 2
181
+ - `dataloader_prefetch_factor`: 2
182
+ - `dataloader_persistent_workers`: True
183
+ - `push_to_hub`: True
184
+ - `hub_model_id`: LamaDiab/V7MiniLM-Synonyms-SemanticEngine
185
+ - `hub_strategy`: all_checkpoints
186
+ - `batch_sampler`: no_duplicates
187
+
188
+ #### All Hyperparameters
189
+ <details><summary>Click to expand</summary>
190
+
191
+ - `overwrite_output_dir`: False
192
+ - `do_predict`: False
193
+ - `eval_strategy`: no
194
+ - `prediction_loss_only`: True
195
+ - `per_device_train_batch_size`: 32
196
+ - `per_device_eval_batch_size`: 16
197
+ - `per_gpu_train_batch_size`: None
198
+ - `per_gpu_eval_batch_size`: None
199
+ - `gradient_accumulation_steps`: 1
200
+ - `eval_accumulation_steps`: None
201
+ - `torch_empty_cache_steps`: None
202
+ - `learning_rate`: 1e-05
203
+ - `weight_decay`: 0.001
204
+ - `adam_beta1`: 0.9
205
+ - `adam_beta2`: 0.999
206
+ - `adam_epsilon`: 1e-08
207
+ - `max_grad_norm`: 1.0
208
+ - `num_train_epochs`: 4
209
+ - `max_steps`: -1
210
+ - `lr_scheduler_type`: linear
211
+ - `lr_scheduler_kwargs`: {}
212
+ - `warmup_ratio`: 0.2
213
+ - `warmup_steps`: 0
214
+ - `log_level`: passive
215
+ - `log_level_replica`: warning
216
+ - `log_on_each_node`: True
217
+ - `logging_nan_inf_filter`: True
218
+ - `save_safetensors`: True
219
+ - `save_on_each_node`: False
220
+ - `save_only_model`: False
221
+ - `restore_callback_states_from_checkpoint`: False
222
+ - `no_cuda`: False
223
+ - `use_cpu`: False
224
+ - `use_mps_device`: False
225
+ - `seed`: 42
226
+ - `data_seed`: None
227
+ - `jit_mode_eval`: False
228
+ - `use_ipex`: False
229
+ - `bf16`: False
230
+ - `fp16`: True
231
+ - `fp16_opt_level`: O1
232
+ - `half_precision_backend`: auto
233
+ - `bf16_full_eval`: False
234
+ - `fp16_full_eval`: False
235
+ - `tf32`: None
236
+ - `local_rank`: 0
237
+ - `ddp_backend`: None
238
+ - `tpu_num_cores`: None
239
+ - `tpu_metrics_debug`: False
240
+ - `debug`: []
241
+ - `dataloader_drop_last`: False
242
+ - `dataloader_num_workers`: 2
243
+ - `dataloader_prefetch_factor`: 2
244
+ - `past_index`: -1
245
+ - `disable_tqdm`: False
246
+ - `remove_unused_columns`: True
247
+ - `label_names`: None
248
+ - `load_best_model_at_end`: False
249
+ - `ignore_data_skip`: False
250
+ - `fsdp`: []
251
+ - `fsdp_min_num_params`: 0
252
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
253
+ - `fsdp_transformer_layer_cls_to_wrap`: None
254
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
255
+ - `deepspeed`: None
256
+ - `label_smoothing_factor`: 0.0
257
+ - `optim`: adamw_torch
258
+ - `optim_args`: None
259
+ - `adafactor`: False
260
+ - `group_by_length`: False
261
+ - `length_column_name`: length
262
+ - `ddp_find_unused_parameters`: None
263
+ - `ddp_bucket_cap_mb`: None
264
+ - `ddp_broadcast_buffers`: False
265
+ - `dataloader_pin_memory`: True
266
+ - `dataloader_persistent_workers`: True
267
+ - `skip_memory_metrics`: True
268
+ - `use_legacy_prediction_loop`: False
269
+ - `push_to_hub`: True
270
+ - `resume_from_checkpoint`: None
271
+ - `hub_model_id`: LamaDiab/V7MiniLM-Synonyms-SemanticEngine
272
+ - `hub_strategy`: all_checkpoints
273
+ - `hub_private_repo`: None
274
+ - `hub_always_push`: False
275
+ - `hub_revision`: None
276
+ - `gradient_checkpointing`: False
277
+ - `gradient_checkpointing_kwargs`: None
278
+ - `include_inputs_for_metrics`: False
279
+ - `include_for_metrics`: []
280
+ - `eval_do_concat_batches`: True
281
+ - `fp16_backend`: auto
282
+ - `push_to_hub_model_id`: None
283
+ - `push_to_hub_organization`: None
284
+ - `mp_parameters`:
285
+ - `auto_find_batch_size`: False
286
+ - `full_determinism`: False
287
+ - `torchdynamo`: None
288
+ - `ray_scope`: last
289
+ - `ddp_timeout`: 1800
290
+ - `torch_compile`: False
291
+ - `torch_compile_backend`: None
292
+ - `torch_compile_mode`: None
293
+ - `include_tokens_per_second`: False
294
+ - `include_num_input_tokens_seen`: False
295
+ - `neftune_noise_alpha`: None
296
+ - `optim_target_modules`: None
297
+ - `batch_eval_metrics`: False
298
+ - `eval_on_start`: False
299
+ - `use_liger_kernel`: False
300
+ - `liger_kernel_config`: None
301
+ - `eval_use_gather_object`: False
302
+ - `average_tokens_across_devices`: False
303
+ - `prompts`: None
304
+ - `batch_sampler`: no_duplicates
305
+ - `multi_dataset_batch_sampler`: proportional
306
+ - `router_mapping`: {}
307
+ - `learning_rate_mapping`: {}
308
+
309
+ </details>
310
+
311
+ ### Training Logs
312
+ | Epoch | Step | Training Loss |
313
+ |:------:|:----:|:-------------:|
314
+ | 0.0455 | 1 | 3.3947 |
315
+ | 1.0 | 22 | 2.9858 |
316
+
317
+
318
+ ### Framework Versions
319
+ - Python: 3.11.13
320
+ - Sentence Transformers: 5.1.2
321
+ - Transformers: 4.53.3
322
+ - PyTorch: 2.6.0+cu124
323
+ - Accelerate: 1.9.0
324
+ - Datasets: 4.4.1
325
+ - Tokenizers: 0.21.2
326
+
327
+ ## Citation
328
+
329
+ ### BibTeX
330
+
331
+ #### Sentence Transformers
332
+ ```bibtex
333
+ @inproceedings{reimers-2019-sentence-bert,
334
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
335
+ author = "Reimers, Nils and Gurevych, Iryna",
336
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
337
+ month = "11",
338
+ year = "2019",
339
+ publisher = "Association for Computational Linguistics",
340
+ url = "https://arxiv.org/abs/1908.10084",
341
+ }
342
+ ```
343
+
344
+ <!--
345
+ ## Glossary
346
+
347
+ *Clearly define terms in order to be accessible across audiences.*
348
+ -->
349
+
350
+ <!--
351
+ ## Model Card Authors
352
+
353
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
354
+ -->
355
+
356
+ <!--
357
+ ## Model Card Contact
358
+
359
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
360
+ -->
checkpoint-22/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-22/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-22/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52c6958c67d3e6f3efcbbcd6bd76c2f446a72d9f1e0c23d51054dabfdd375cda
3
+ size 90864192
checkpoint-22/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-22/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0f8f8382f47f8cdb2883476240a53f412b48075b5b424e7270af62fed718dc8
3
+ size 14209646
checkpoint-22/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:979987a979cd44b6b1c516326447673c581d885542ada124d9330331d0e92c7e
3
+ size 14244
checkpoint-22/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31b45e79d2c404f87e34631ac333d87804490a4e8782ef9dabe2bb610824927e
3
+ size 988
checkpoint-22/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f954868ee29206a9ac420228609532c75f2217e18dd3e3efb2e14eaacbd1529
3
+ size 1064
checkpoint-22/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-22/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-22/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-22/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-22/trainer_state.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 22,
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.045454545454545456,
14
+ "grad_norm": 6.0988359451293945,
15
+ "learning_rate": 0.0,
16
+ "loss": 3.3947,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "grad_norm": 8.703194618225098,
22
+ "learning_rate": 9.571428571428573e-06,
23
+ "loss": 2.9858,
24
+ "step": 22
25
+ }
26
+ ],
27
+ "logging_steps": 500,
28
+ "max_steps": 88,
29
+ "num_input_tokens_seen": 0,
30
+ "num_train_epochs": 4,
31
+ "save_steps": 500,
32
+ "stateful_callbacks": {
33
+ "TrainerControl": {
34
+ "args": {
35
+ "should_epoch_stop": false,
36
+ "should_evaluate": false,
37
+ "should_log": false,
38
+ "should_save": true,
39
+ "should_training_stop": false
40
+ },
41
+ "attributes": {}
42
+ }
43
+ },
44
+ "total_flos": 0.0,
45
+ "train_batch_size": 32,
46
+ "trial_name": null,
47
+ "trial_params": null
48
+ }
checkpoint-22/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8b2a2d82ba9d816bc333c5ecdfae1585f082bb90b0c0cc84a52b0b342616913
3
+ size 5752
checkpoint-22/vocab.txt ADDED
The diff for this file is too large to render. See raw diff