Gerson Fabian Buenahora Ormaza commited on
Commit
fdb66d1
1 Parent(s): 0776384

Upload 13 files

Browse files
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 50256,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 50256,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 1024,
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_inner": null,
17
+ "n_layer": 12,
18
+ "n_positions": 1024,
19
+ "reorder_and_upcast_attn": false,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": false,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 50
32
+ }
33
+ },
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.44.2",
36
+ "use_cache": true,
37
+ "vocab_size": 50257
38
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.44.2"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df35b4624f89c737fa475488f503857f306b6ae8b9b3555d68d10923da703e67
3
+ size 497774208
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6878ab7931572c848278dcbbfc7dd7f2f967407ea215a964fe16a743206fcae4
3
+ size 995642298
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:286f3de29f4982a52d6acb94cdfd5b43f659d50c352c9d93e6ce2086385c7b0e
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f2ee69f09faec1344a4358c979ab57b812a125bcb74ea043a04e57883b0f77d
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
5
+ "unk_token": "<|endoftext|>"
6
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": true,
15
+ "eos_token": "<|endoftext|>",
16
+ "model_max_length": 1024,
17
+ "pad_token": "<|endoftext|>",
18
+ "tokenizer_class": "GPT2Tokenizer",
19
+ "unk_token": "<|endoftext|>"
20
+ }
trainer_state.json ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.05790622665655238,
5
+ "eval_steps": 500,
6
+ "global_step": 10000,
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.002895311332827619,
13
+ "grad_norm": 1.7338896989822388,
14
+ "learning_rate": 4.985523443335862e-05,
15
+ "loss": 3.1507,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.005790622665655238,
20
+ "grad_norm": 1.2579742670059204,
21
+ "learning_rate": 4.9710468866717244e-05,
22
+ "loss": 2.6357,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.008685933998482857,
27
+ "grad_norm": 0.9996505975723267,
28
+ "learning_rate": 4.956570330007586e-05,
29
+ "loss": 2.4288,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.011581245331310476,
34
+ "grad_norm": 0.9657206535339355,
35
+ "learning_rate": 4.942093773343448e-05,
36
+ "loss": 2.2119,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.014476556664138095,
41
+ "grad_norm": 1.044640064239502,
42
+ "learning_rate": 4.92761721667931e-05,
43
+ "loss": 2.1225,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 0.017371867996965714,
48
+ "grad_norm": 0.8428456783294678,
49
+ "learning_rate": 4.913140660015172e-05,
50
+ "loss": 2.0409,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 0.02026717932979333,
55
+ "grad_norm": 1.2827749252319336,
56
+ "learning_rate": 4.898664103351033e-05,
57
+ "loss": 1.9031,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 0.023162490662620952,
62
+ "grad_norm": 0.9291247129440308,
63
+ "learning_rate": 4.884187546686895e-05,
64
+ "loss": 1.8438,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 0.02605780199544857,
69
+ "grad_norm": 0.7757951617240906,
70
+ "learning_rate": 4.8697109900227575e-05,
71
+ "loss": 1.7833,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 0.02895311332827619,
76
+ "grad_norm": 1.520269751548767,
77
+ "learning_rate": 4.855234433358619e-05,
78
+ "loss": 1.6942,
79
+ "step": 5000
80
+ },
81
+ {
82
+ "epoch": 0.03184842466110381,
83
+ "grad_norm": 1.2558553218841553,
84
+ "learning_rate": 4.840757876694481e-05,
85
+ "loss": 1.6669,
86
+ "step": 5500
87
+ },
88
+ {
89
+ "epoch": 0.03474373599393143,
90
+ "grad_norm": 1.3526251316070557,
91
+ "learning_rate": 4.826281320030343e-05,
92
+ "loss": 1.6115,
93
+ "step": 6000
94
+ },
95
+ {
96
+ "epoch": 0.037639047326759045,
97
+ "grad_norm": 2.5751099586486816,
98
+ "learning_rate": 4.811804763366205e-05,
99
+ "loss": 1.5629,
100
+ "step": 6500
101
+ },
102
+ {
103
+ "epoch": 0.04053435865958666,
104
+ "grad_norm": 1.3569105863571167,
105
+ "learning_rate": 4.797328206702067e-05,
106
+ "loss": 1.5258,
107
+ "step": 7000
108
+ },
109
+ {
110
+ "epoch": 0.04342966999241429,
111
+ "grad_norm": 1.7734428644180298,
112
+ "learning_rate": 4.782851650037929e-05,
113
+ "loss": 1.475,
114
+ "step": 7500
115
+ },
116
+ {
117
+ "epoch": 0.046324981325241904,
118
+ "grad_norm": 0.7975415587425232,
119
+ "learning_rate": 4.7683750933737905e-05,
120
+ "loss": 1.437,
121
+ "step": 8000
122
+ },
123
+ {
124
+ "epoch": 0.04922029265806952,
125
+ "grad_norm": 0.8590123057365417,
126
+ "learning_rate": 4.753898536709653e-05,
127
+ "loss": 1.4263,
128
+ "step": 8500
129
+ },
130
+ {
131
+ "epoch": 0.05211560399089714,
132
+ "grad_norm": 1.1225152015686035,
133
+ "learning_rate": 4.739421980045515e-05,
134
+ "loss": 1.3528,
135
+ "step": 9000
136
+ },
137
+ {
138
+ "epoch": 0.05501091532372476,
139
+ "grad_norm": 1.1342971324920654,
140
+ "learning_rate": 4.7249454233813765e-05,
141
+ "loss": 1.3576,
142
+ "step": 9500
143
+ },
144
+ {
145
+ "epoch": 0.05790622665655238,
146
+ "grad_norm": 0.9445364475250244,
147
+ "learning_rate": 4.710468866717238e-05,
148
+ "loss": 1.3283,
149
+ "step": 10000
150
+ }
151
+ ],
152
+ "logging_steps": 500,
153
+ "max_steps": 172693,
154
+ "num_input_tokens_seen": 0,
155
+ "num_train_epochs": 1,
156
+ "save_steps": 10000,
157
+ "stateful_callbacks": {
158
+ "TrainerControl": {
159
+ "args": {
160
+ "should_epoch_stop": false,
161
+ "should_evaluate": false,
162
+ "should_log": false,
163
+ "should_save": true,
164
+ "should_training_stop": false
165
+ },
166
+ "attributes": {}
167
+ }
168
+ },
169
+ "total_flos": 4.180672512e+16,
170
+ "train_batch_size": 8,
171
+ "trial_name": null,
172
+ "trial_params": null
173
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cc4dcbbcc559ab355890f3760b1f8d88cc54784c5d0996be3781ae4ab4eeb93
3
+ size 5112
vocab.json ADDED
The diff for this file is too large to render. See raw diff