hgroener commited on
Commit
f8e5004
·
verified ·
1 Parent(s): b5c522f

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</quatrain>": 386,
3
+ "<alexandrine>": 408,
4
+ "<amphibrach>": 407,
5
+ "<anapaest>": 404,
6
+ "<dactyl>": 405,
7
+ "<iambus>": 402,
8
+ "<other>": 406,
9
+ "<quatrain>": 385,
10
+ "<trochee>": 403,
11
+ "[AAAA]": 400,
12
+ "[AAAB]": 398,
13
+ "[AABA]": 396,
14
+ "[AABB]": 397,
15
+ "[AABC]": 388,
16
+ "[ABAA]": 401,
17
+ "[ABAB]": 392,
18
+ "[ABAC]": 389,
19
+ "[ABBA]": 391,
20
+ "[ABBB]": 395,
21
+ "[ABBC]": 394,
22
+ "[ABCA]": 399,
23
+ "[ABCB]": 393,
24
+ "[ABCC]": 390,
25
+ "[ABCD]": 387,
26
+ "[PAD]": 384
27
+ }
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nllg/bygpt5-base-en",
3
+ "architectures": [
4
+ "ByGPT5LMHeadModel"
5
+ ],
6
+ "d_ff": 3968,
7
+ "d_kv": 64,
8
+ "d_model": 1536,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "gelu_new",
11
+ "dropout_rate": 0.1,
12
+ "eos_token_id": 1,
13
+ "feed_forward_proj": "gated-gelu",
14
+ "gradient_checkpointing": false,
15
+ "initializer_factor": 1.0,
16
+ "is_decoder": true,
17
+ "is_encoder_decoder": false,
18
+ "is_gated_act": true,
19
+ "layer_norm_epsilon": 1e-06,
20
+ "model_type": "bygpt5",
21
+ "num_decoder_layers": 6,
22
+ "num_heads": 12,
23
+ "num_layers": 6,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
+ "relative_attention_max_distance": 128,
27
+ "relative_attention_num_buckets": 32,
28
+ "tie_word_embeddings": false,
29
+ "tokenizer_class": "ByT5Tokenizer",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.20.0",
32
+ "use_cache": true,
33
+ "vocab_size": 409
34
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16fee1a0393b1668c2277023a3470c48160b7fc6e1a39a4048d94f639f8a90f1
3
+ size 1114399802
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c761c9979c3e1f8a61b9fcbc3527815e5ade14117cafbdea5b8eae9590cd28d
3
+ size 557202652
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fde537eca4e28a5012d8a5479ed7849781b43eca2a7c2edd78948fbc589c3e9f
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83c57136c72db7ad1e70b3e9242e71ce00988a2625cef6c8e0f1f776a2962d94
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "[ABCD]",
4
+ "[AABC]",
5
+ "[ABAC]",
6
+ "[ABCC]",
7
+ "[ABBA]",
8
+ "[ABAB]",
9
+ "[ABCB]",
10
+ "[ABBC]",
11
+ "[ABBB]",
12
+ "[AABA]",
13
+ "[AABB]",
14
+ "[AAAB]",
15
+ "[ABCA]",
16
+ "[AAAA]",
17
+ "[ABAA]",
18
+ "<iambus>",
19
+ "<trochee>",
20
+ "<anapaest>",
21
+ "<dactyl>",
22
+ "<other>",
23
+ "<amphibrach>",
24
+ "<alexandrine>"
25
+ ],
26
+ "bos_token": "<quatrain>",
27
+ "eos_token": "</quatrain>",
28
+ "pad_token": "[PAD]",
29
+ "unk_token": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": true,
33
+ "rstrip": false,
34
+ "single_word": false
35
+ }
36
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": false,
5
+ "additional_special_tokens": [
6
+ "<extra_id_0>",
7
+ "<extra_id_1>",
8
+ "<extra_id_2>",
9
+ "<extra_id_3>",
10
+ "<extra_id_4>",
11
+ "<extra_id_5>",
12
+ "<extra_id_6>",
13
+ "<extra_id_7>",
14
+ "<extra_id_8>",
15
+ "<extra_id_9>",
16
+ "<extra_id_10>",
17
+ "<extra_id_11>",
18
+ "<extra_id_12>",
19
+ "<extra_id_13>",
20
+ "<extra_id_14>",
21
+ "<extra_id_15>",
22
+ "<extra_id_16>",
23
+ "<extra_id_17>",
24
+ "<extra_id_18>",
25
+ "<extra_id_19>",
26
+ "<extra_id_20>",
27
+ "<extra_id_21>",
28
+ "<extra_id_22>",
29
+ "<extra_id_23>",
30
+ "<extra_id_24>",
31
+ "<extra_id_25>",
32
+ "<extra_id_26>",
33
+ "<extra_id_27>",
34
+ "<extra_id_28>",
35
+ "<extra_id_29>",
36
+ "<extra_id_30>",
37
+ "<extra_id_31>",
38
+ "<extra_id_32>",
39
+ "<extra_id_33>",
40
+ "<extra_id_34>",
41
+ "<extra_id_35>",
42
+ "<extra_id_36>",
43
+ "<extra_id_37>",
44
+ "<extra_id_38>",
45
+ "<extra_id_39>",
46
+ "<extra_id_40>",
47
+ "<extra_id_41>",
48
+ "<extra_id_42>",
49
+ "<extra_id_43>",
50
+ "<extra_id_44>",
51
+ "<extra_id_45>",
52
+ "<extra_id_46>",
53
+ "<extra_id_47>",
54
+ "<extra_id_48>",
55
+ "<extra_id_49>",
56
+ "<extra_id_50>",
57
+ "<extra_id_51>",
58
+ "<extra_id_52>",
59
+ "<extra_id_53>",
60
+ "<extra_id_54>",
61
+ "<extra_id_55>",
62
+ "<extra_id_56>",
63
+ "<extra_id_57>",
64
+ "<extra_id_58>",
65
+ "<extra_id_59>",
66
+ "<extra_id_60>",
67
+ "<extra_id_61>",
68
+ "<extra_id_62>",
69
+ "<extra_id_63>",
70
+ "<extra_id_64>",
71
+ "<extra_id_65>",
72
+ "<extra_id_66>",
73
+ "<extra_id_67>",
74
+ "<extra_id_68>",
75
+ "<extra_id_69>",
76
+ "<extra_id_70>",
77
+ "<extra_id_71>",
78
+ "<extra_id_72>",
79
+ "<extra_id_73>",
80
+ "<extra_id_74>",
81
+ "<extra_id_75>",
82
+ "<extra_id_76>",
83
+ "<extra_id_77>",
84
+ "<extra_id_78>",
85
+ "<extra_id_79>",
86
+ "<extra_id_80>",
87
+ "<extra_id_81>",
88
+ "<extra_id_82>",
89
+ "<extra_id_83>",
90
+ "<extra_id_84>",
91
+ "<extra_id_85>",
92
+ "<extra_id_86>",
93
+ "<extra_id_87>",
94
+ "<extra_id_88>",
95
+ "<extra_id_89>",
96
+ "<extra_id_90>",
97
+ "<extra_id_91>",
98
+ "<extra_id_92>",
99
+ "<extra_id_93>",
100
+ "<extra_id_94>",
101
+ "<extra_id_95>",
102
+ "<extra_id_96>",
103
+ "<extra_id_97>",
104
+ "<extra_id_98>",
105
+ "<extra_id_99>",
106
+ "<extra_id_100>",
107
+ "<extra_id_101>",
108
+ "<extra_id_102>",
109
+ "<extra_id_103>",
110
+ "<extra_id_104>",
111
+ "<extra_id_105>",
112
+ "<extra_id_106>",
113
+ "<extra_id_107>",
114
+ "<extra_id_108>",
115
+ "<extra_id_109>",
116
+ "<extra_id_110>",
117
+ "<extra_id_111>",
118
+ "<extra_id_112>",
119
+ "<extra_id_113>",
120
+ "<extra_id_114>",
121
+ "<extra_id_115>",
122
+ "<extra_id_116>",
123
+ "<extra_id_117>",
124
+ "<extra_id_118>",
125
+ "<extra_id_119>",
126
+ "<extra_id_120>",
127
+ "<extra_id_121>",
128
+ "<extra_id_122>",
129
+ "<extra_id_123>",
130
+ "<extra_id_124>"
131
+ ],
132
+ "eos_token": {
133
+ "__type": "AddedToken",
134
+ "content": "</s>",
135
+ "lstrip": false,
136
+ "normalized": true,
137
+ "rstrip": false,
138
+ "single_word": false
139
+ },
140
+ "extra_ids": 125,
141
+ "name_or_path": "nllg/bygpt5-base-en",
142
+ "pad_token": {
143
+ "__type": "AddedToken",
144
+ "content": "<pad>",
145
+ "lstrip": false,
146
+ "normalized": true,
147
+ "rstrip": false,
148
+ "single_word": false
149
+ },
150
+ "special_tokens_map_file": "/home/jbelouadi/.cache/huggingface/transformers/f22e687c418a9ed3e651ca340d6a5880bbb312bc24bbe893f5cd47288891b89d.063895353d5ef9e19a25220cb616c43abc5e84a2f11b1ffb71c29e097572a109",
151
+ "tokenizer_class": "ByGPT5Tokenizer",
152
+ "unk_token": {
153
+ "__type": "AddedToken",
154
+ "content": "<unk>",
155
+ "lstrip": false,
156
+ "normalized": true,
157
+ "rstrip": false,
158
+ "single_word": false
159
+ }
160
+ }
trainer_state.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.0824099779129028,
3
+ "best_model_checkpoint": "bygpt5_quatags_con/base/en/checkpoint-90840",
4
+ "epoch": 8.0,
5
+ "global_step": 90840,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 1.0,
12
+ "learning_rate": 3.948826997701317e-05,
13
+ "loss": 1.2611,
14
+ "step": 11355
15
+ },
16
+ {
17
+ "epoch": 1.0,
18
+ "eval_loss": 1.1518595218658447,
19
+ "eval_runtime": 242.6001,
20
+ "eval_samples_per_second": 83.207,
21
+ "eval_steps_per_second": 10.404,
22
+ "step": 11355
23
+ },
24
+ {
25
+ "epoch": 2.0,
26
+ "learning_rate": 3.704445954688097e-05,
27
+ "loss": 1.1532,
28
+ "step": 22710
29
+ },
30
+ {
31
+ "epoch": 2.0,
32
+ "eval_loss": 1.1212660074234009,
33
+ "eval_runtime": 241.8691,
34
+ "eval_samples_per_second": 83.458,
35
+ "eval_steps_per_second": 10.435,
36
+ "step": 22710
37
+ },
38
+ {
39
+ "epoch": 3.0,
40
+ "learning_rate": 3.282832230852865e-05,
41
+ "loss": 1.1187,
42
+ "step": 34065
43
+ },
44
+ {
45
+ "epoch": 3.0,
46
+ "eval_loss": 1.1034783124923706,
47
+ "eval_runtime": 243.698,
48
+ "eval_samples_per_second": 82.832,
49
+ "eval_steps_per_second": 10.357,
50
+ "step": 34065
51
+ },
52
+ {
53
+ "epoch": 4.0,
54
+ "learning_rate": 2.7278263072276784e-05,
55
+ "loss": 1.0945,
56
+ "step": 45420
57
+ },
58
+ {
59
+ "epoch": 4.0,
60
+ "eval_loss": 1.0929205417633057,
61
+ "eval_runtime": 242.4754,
62
+ "eval_samples_per_second": 83.25,
63
+ "eval_steps_per_second": 10.409,
64
+ "step": 45420
65
+ },
66
+ {
67
+ "epoch": 5.0,
68
+ "learning_rate": 2.0971391293814688e-05,
69
+ "loss": 1.0758,
70
+ "step": 56775
71
+ },
72
+ {
73
+ "epoch": 5.0,
74
+ "eval_loss": 1.086612343788147,
75
+ "eval_runtime": 243.5145,
76
+ "eval_samples_per_second": 82.894,
77
+ "eval_steps_per_second": 10.365,
78
+ "step": 56775
79
+ },
80
+ {
81
+ "epoch": 6.0,
82
+ "learning_rate": 1.4563511746431305e-05,
83
+ "loss": 1.0611,
84
+ "step": 68130
85
+ },
86
+ {
87
+ "epoch": 6.0,
88
+ "eval_loss": 1.084080696105957,
89
+ "eval_runtime": 242.803,
90
+ "eval_samples_per_second": 83.137,
91
+ "eval_steps_per_second": 10.395,
92
+ "step": 68130
93
+ },
94
+ {
95
+ "epoch": 7.0,
96
+ "learning_rate": 8.72093225141226e-06,
97
+ "loss": 1.0501,
98
+ "step": 79485
99
+ },
100
+ {
101
+ "epoch": 7.0,
102
+ "eval_loss": 1.082816243171692,
103
+ "eval_runtime": 242.3815,
104
+ "eval_samples_per_second": 83.282,
105
+ "eval_steps_per_second": 10.413,
106
+ "step": 79485
107
+ },
108
+ {
109
+ "epoch": 8.0,
110
+ "learning_rate": 4.051179274451455e-06,
111
+ "loss": 1.0422,
112
+ "step": 90840
113
+ },
114
+ {
115
+ "epoch": 8.0,
116
+ "eval_loss": 1.0824099779129028,
117
+ "eval_runtime": 242.3799,
118
+ "eval_samples_per_second": 83.282,
119
+ "eval_steps_per_second": 10.413,
120
+ "step": 90840
121
+ }
122
+ ],
123
+ "max_steps": 113550,
124
+ "num_train_epochs": 10,
125
+ "total_flos": 2.506903706824704e+17,
126
+ "trial_name": null,
127
+ "trial_params": null
128
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d8a6409635e84bd31cb6440581e5a20386383d663b338041d9c643387291b98
3
+ size 3768