nour4286 commited on
Commit
a5805f9
1 Parent(s): 415764f

Training in progress, epoch 3, checkpoint

Browse files
checkpoint-11229/config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nour4286/ArabartModel",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": true,
7
+ "architectures": [
8
+ "MBartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 768,
15
+ "decoder_attention_heads": 12,
16
+ "decoder_ffn_dim": 3072,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 2,
20
+ "do_blenderbot_90_layernorm": false,
21
+ "dropout": 0.1,
22
+ "early_stopping": true,
23
+ "encoder_attention_heads": 12,
24
+ "encoder_ffn_dim": 3072,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 6,
27
+ "eos_token_id": 2,
28
+ "extra_pos_embeddings": 2,
29
+ "force_bos_token_to_be_generated": false,
30
+ "forced_eos_token_id": 2,
31
+ "gradient_checkpointing": false,
32
+ "id2label": {
33
+ "0": "LABEL_0",
34
+ "1": "LABEL_1",
35
+ "2": "LABEL_2"
36
+ },
37
+ "init_std": 0.02,
38
+ "is_encoder_decoder": true,
39
+ "label2id": {
40
+ "LABEL_0": 0,
41
+ "LABEL_1": 1,
42
+ "LABEL_2": 2
43
+ },
44
+ "max_position_embeddings": 1024,
45
+ "model_type": "mbart",
46
+ "no_repeat_ngram_size": 3,
47
+ "normalize_before": true,
48
+ "normalize_embedding": true,
49
+ "num_beams": 4,
50
+ "num_hidden_layers": 6,
51
+ "pad_token_id": 1,
52
+ "scale_embedding": false,
53
+ "static_position_embeddings": false,
54
+ "tokenizer_class": "BarthezTokenizer",
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.42.3",
57
+ "use_cache": true,
58
+ "vocab_size": 50002
59
+ }
checkpoint-11229/generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 2,
4
+ "early_stopping": true,
5
+ "eos_token_id": 2,
6
+ "forced_eos_token_id": 2,
7
+ "max_new_tokens": 128,
8
+ "no_repeat_ngram_size": 3,
9
+ "num_beams": 3,
10
+ "pad_token_id": 1,
11
+ "transformers_version": "4.42.3"
12
+ }
checkpoint-11229/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aac769ff2ead4cda108e9786f02ee7e6130e76d5b988197dc47c7ff78153c7ee
3
+ size 557116312
checkpoint-11229/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7f23e16a15e25c22da8c5e31d18b2b92ac90e7b5f068bd70ac43b95bad5912a
3
+ size 1113991930
checkpoint-11229/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f99022e181a77970e3a6857463977cab5e7d792fd32bde34ad676c18405ffe4
3
+ size 14244
checkpoint-11229/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fdc546dcea799cc3279d2f78131a88fe48744c9f9399c924ab13bfb7606e90e
3
+ size 1064
checkpoint-11229/sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbb59d772bc9bb2da5dc4a73a00c61c0912c6d2596aad970fa2cd3d69898b245
3
+ size 1315170
checkpoint-11229/special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
checkpoint-11229/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-11229/tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "50001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "mask_token": "<mask>",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "sp_model_kwargs": {},
53
+ "tokenizer_class": "BarthezTokenizer",
54
+ "unk_token": "<unk>"
55
+ }
checkpoint-11229/trainer_state.json ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 27.5466,
3
+ "best_model_checkpoint": "/content/drive/MyDrive/ArabartModel/checkpoint-7486",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 11229,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.1335826876836762,
13
+ "grad_norm": 3.816420078277588,
14
+ "learning_rate": 4.7773621871938735e-05,
15
+ "loss": 2.0568,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.2671653753673524,
20
+ "grad_norm": 4.217596054077148,
21
+ "learning_rate": 4.554724374387746e-05,
22
+ "loss": 1.949,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.4007480630510286,
27
+ "grad_norm": 3.4469385147094727,
28
+ "learning_rate": 4.332086561581619e-05,
29
+ "loss": 1.9236,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.5343307507347048,
34
+ "grad_norm": 3.3545796871185303,
35
+ "learning_rate": 4.1094487487754926e-05,
36
+ "loss": 1.9083,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.667913438418381,
41
+ "grad_norm": 3.905182361602783,
42
+ "learning_rate": 3.886810935969365e-05,
43
+ "loss": 1.8793,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 0.8014961261020572,
48
+ "grad_norm": 3.746492862701416,
49
+ "learning_rate": 3.6641731231632384e-05,
50
+ "loss": 1.8767,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 0.9350788137857333,
55
+ "grad_norm": 3.5829365253448486,
56
+ "learning_rate": 3.441535310357111e-05,
57
+ "loss": 1.8613,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 1.0,
62
+ "eval_loss": 2.4695754051208496,
63
+ "eval_rouge1": 27.3427,
64
+ "eval_rouge2": 11.5623,
65
+ "eval_rougeL": 23.8752,
66
+ "eval_runtime": 854.6158,
67
+ "eval_samples_per_second": 5.487,
68
+ "eval_steps_per_second": 0.549,
69
+ "step": 3743
70
+ },
71
+ {
72
+ "epoch": 1.0686615014694096,
73
+ "grad_norm": 3.6381685733795166,
74
+ "learning_rate": 3.218897497550984e-05,
75
+ "loss": 1.7299,
76
+ "step": 4000
77
+ },
78
+ {
79
+ "epoch": 1.2022441891530857,
80
+ "grad_norm": 3.850755453109741,
81
+ "learning_rate": 2.9962596847448572e-05,
82
+ "loss": 1.6235,
83
+ "step": 4500
84
+ },
85
+ {
86
+ "epoch": 1.3358268768367618,
87
+ "grad_norm": 3.5649123191833496,
88
+ "learning_rate": 2.77362187193873e-05,
89
+ "loss": 1.6276,
90
+ "step": 5000
91
+ },
92
+ {
93
+ "epoch": 1.4694095645204381,
94
+ "grad_norm": 3.684051036834717,
95
+ "learning_rate": 2.5509840591326034e-05,
96
+ "loss": 1.635,
97
+ "step": 5500
98
+ },
99
+ {
100
+ "epoch": 1.6029922522041145,
101
+ "grad_norm": 3.216923236846924,
102
+ "learning_rate": 2.3283462463264763e-05,
103
+ "loss": 1.6329,
104
+ "step": 6000
105
+ },
106
+ {
107
+ "epoch": 1.7365749398877905,
108
+ "grad_norm": 3.666384220123291,
109
+ "learning_rate": 2.1057084335203492e-05,
110
+ "loss": 1.628,
111
+ "step": 6500
112
+ },
113
+ {
114
+ "epoch": 1.8701576275714666,
115
+ "grad_norm": 3.5083119869232178,
116
+ "learning_rate": 1.883070620714222e-05,
117
+ "loss": 1.619,
118
+ "step": 7000
119
+ },
120
+ {
121
+ "epoch": 2.0,
122
+ "eval_loss": 2.552595376968384,
123
+ "eval_rouge1": 27.5466,
124
+ "eval_rouge2": 11.7619,
125
+ "eval_rougeL": 24.0393,
126
+ "eval_runtime": 855.3721,
127
+ "eval_samples_per_second": 5.482,
128
+ "eval_steps_per_second": 0.548,
129
+ "step": 7486
130
+ },
131
+ {
132
+ "epoch": 2.003740315255143,
133
+ "grad_norm": 3.350442409515381,
134
+ "learning_rate": 1.6604328079080954e-05,
135
+ "loss": 1.6169,
136
+ "step": 7500
137
+ },
138
+ {
139
+ "epoch": 2.1373230029388193,
140
+ "grad_norm": 3.3688511848449707,
141
+ "learning_rate": 1.4377949951019681e-05,
142
+ "loss": 1.463,
143
+ "step": 8000
144
+ },
145
+ {
146
+ "epoch": 2.270905690622495,
147
+ "grad_norm": 3.2857348918914795,
148
+ "learning_rate": 1.2151571822958412e-05,
149
+ "loss": 1.4713,
150
+ "step": 8500
151
+ },
152
+ {
153
+ "epoch": 2.4044883783061715,
154
+ "grad_norm": 3.8493173122406006,
155
+ "learning_rate": 9.925193694897141e-06,
156
+ "loss": 1.4733,
157
+ "step": 9000
158
+ },
159
+ {
160
+ "epoch": 2.5380710659898478,
161
+ "grad_norm": 3.59413480758667,
162
+ "learning_rate": 7.698815566835872e-06,
163
+ "loss": 1.4519,
164
+ "step": 9500
165
+ },
166
+ {
167
+ "epoch": 2.6716537536735236,
168
+ "grad_norm": 3.3809709548950195,
169
+ "learning_rate": 5.4724374387746014e-06,
170
+ "loss": 1.4904,
171
+ "step": 10000
172
+ },
173
+ {
174
+ "epoch": 2.8052364413572,
175
+ "grad_norm": 3.5270333290100098,
176
+ "learning_rate": 3.246059310713332e-06,
177
+ "loss": 1.4753,
178
+ "step": 10500
179
+ },
180
+ {
181
+ "epoch": 2.9388191290408763,
182
+ "grad_norm": 3.538780689239502,
183
+ "learning_rate": 1.0196811826520617e-06,
184
+ "loss": 1.4732,
185
+ "step": 11000
186
+ }
187
+ ],
188
+ "logging_steps": 500,
189
+ "max_steps": 11229,
190
+ "num_input_tokens_seen": 0,
191
+ "num_train_epochs": 3,
192
+ "save_steps": 500,
193
+ "stateful_callbacks": {
194
+ "TrainerControl": {
195
+ "args": {
196
+ "should_epoch_stop": false,
197
+ "should_evaluate": false,
198
+ "should_log": false,
199
+ "should_save": true,
200
+ "should_training_stop": true
201
+ },
202
+ "attributes": {}
203
+ }
204
+ },
205
+ "total_flos": 6.587894865088512e+16,
206
+ "train_batch_size": 10,
207
+ "trial_name": null,
208
+ "trial_params": null
209
+ }
checkpoint-11229/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a90a40c8b4998ce26cba95f4373bae2ff702fd0914f61876da4a1d830482ceb1
3
+ size 7032