Darkester commited on
Commit
e59799a
·
verified ·
1 Parent(s): 50fc4d8

Upload 9 files

Browse files
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 1,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "id2label": {
12
+ "0": "LABEL_0"
13
+ },
14
+ "initializer_range": 0.02,
15
+ "label2id": {
16
+ "LABEL_0": 0
17
+ },
18
+ "layer_norm_epsilon": 1e-05,
19
+ "model_type": "gpt2",
20
+ "n_ctx": 2048,
21
+ "n_embd": 768,
22
+ "n_head": 12,
23
+ "n_inner": null,
24
+ "n_layer": 12,
25
+ "n_positions": 2048,
26
+ "pad_token_id": 0,
27
+ "reorder_and_upcast_attn": false,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_by_inverse_layer_idx": false,
30
+ "scale_attn_weights": true,
31
+ "summary_activation": null,
32
+ "summary_first_dropout": 0.1,
33
+ "summary_proj_to_labels": true,
34
+ "summary_type": "cls_index",
35
+ "summary_use_proj": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.51.3",
38
+ "use_cache": true,
39
+ "vocab_size": 50264
40
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.51.3"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b933eb783a99e61bb56c7166eb048e9e32ea03e570343980e5ffecb5dba32777
3
+ size 500941440
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18da2c9155cd816360d678fb26f921486eac0d676d4bdfa7ee845ae774c8febe
3
+ size 1001976762
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d20fef646b31bd0da60e042930355f95bad6e9309ba53f239d47962584cee4ee
3
+ size 14244
scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a9acc78a1984093d893ebbe2aa3e8c676c849c54208c1237140b3e76d9d7d85
3
+ size 988
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77d7bffa60dee30450bbde43b505ba5d1aeb72b9b39eb756f6197faaaea51f34
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.088139281828074,
6
+ "eval_steps": 500,
7
+ "global_step": 2000,
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.0544069640914037,
14
+ "grad_norm": 1.3827155828475952,
15
+ "learning_rate": 4.913855640188611e-05,
16
+ "loss": 2.226,
17
+ "step": 100
18
+ },
19
+ {
20
+ "epoch": 0.1088139281828074,
21
+ "grad_norm": 0.7897017002105713,
22
+ "learning_rate": 4.823177366702939e-05,
23
+ "loss": 1.2196,
24
+ "step": 200
25
+ },
26
+ {
27
+ "epoch": 0.1632208922742111,
28
+ "grad_norm": 1.1451177597045898,
29
+ "learning_rate": 4.732499093217265e-05,
30
+ "loss": 1.2182,
31
+ "step": 300
32
+ },
33
+ {
34
+ "epoch": 0.2176278563656148,
35
+ "grad_norm": 1.9186509847640991,
36
+ "learning_rate": 4.641820819731593e-05,
37
+ "loss": 1.2724,
38
+ "step": 400
39
+ },
40
+ {
41
+ "epoch": 0.2720348204570185,
42
+ "grad_norm": 1.4905147552490234,
43
+ "learning_rate": 4.5511425462459194e-05,
44
+ "loss": 1.1771,
45
+ "step": 500
46
+ },
47
+ {
48
+ "epoch": 0.3264417845484222,
49
+ "grad_norm": 1.3085367679595947,
50
+ "learning_rate": 4.460464272760247e-05,
51
+ "loss": 1.1407,
52
+ "step": 600
53
+ },
54
+ {
55
+ "epoch": 0.3808487486398259,
56
+ "grad_norm": 1.6310745477676392,
57
+ "learning_rate": 4.3697859992745737e-05,
58
+ "loss": 1.1146,
59
+ "step": 700
60
+ },
61
+ {
62
+ "epoch": 0.4352557127312296,
63
+ "grad_norm": 1.0869531631469727,
64
+ "learning_rate": 4.2791077257889015e-05,
65
+ "loss": 1.1015,
66
+ "step": 800
67
+ },
68
+ {
69
+ "epoch": 0.4896626768226333,
70
+ "grad_norm": 1.387512445449829,
71
+ "learning_rate": 4.1884294523032286e-05,
72
+ "loss": 1.0764,
73
+ "step": 900
74
+ },
75
+ {
76
+ "epoch": 0.544069640914037,
77
+ "grad_norm": 1.8865373134613037,
78
+ "learning_rate": 4.097751178817556e-05,
79
+ "loss": 1.079,
80
+ "step": 1000
81
+ },
82
+ {
83
+ "epoch": 0.5984766050054406,
84
+ "grad_norm": 1.1464284658432007,
85
+ "learning_rate": 4.007072905331883e-05,
86
+ "loss": 1.1797,
87
+ "step": 1100
88
+ },
89
+ {
90
+ "epoch": 0.6528835690968444,
91
+ "grad_norm": 1.3149100542068481,
92
+ "learning_rate": 3.91639463184621e-05,
93
+ "loss": 1.0676,
94
+ "step": 1200
95
+ },
96
+ {
97
+ "epoch": 0.7072905331882481,
98
+ "grad_norm": 1.3868759870529175,
99
+ "learning_rate": 3.825716358360537e-05,
100
+ "loss": 1.1711,
101
+ "step": 1300
102
+ },
103
+ {
104
+ "epoch": 0.7616974972796517,
105
+ "grad_norm": 1.046326994895935,
106
+ "learning_rate": 3.735038084874864e-05,
107
+ "loss": 1.1291,
108
+ "step": 1400
109
+ },
110
+ {
111
+ "epoch": 0.8161044613710555,
112
+ "grad_norm": 0.825319230556488,
113
+ "learning_rate": 3.6443598113891914e-05,
114
+ "loss": 1.0609,
115
+ "step": 1500
116
+ },
117
+ {
118
+ "epoch": 0.8705114254624592,
119
+ "grad_norm": 1.6592735052108765,
120
+ "learning_rate": 3.5536815379035185e-05,
121
+ "loss": 1.0676,
122
+ "step": 1600
123
+ },
124
+ {
125
+ "epoch": 0.9249183895538629,
126
+ "grad_norm": 1.2844988107681274,
127
+ "learning_rate": 3.4630032644178456e-05,
128
+ "loss": 1.062,
129
+ "step": 1700
130
+ },
131
+ {
132
+ "epoch": 0.9793253536452666,
133
+ "grad_norm": 1.3953850269317627,
134
+ "learning_rate": 3.372324990932173e-05,
135
+ "loss": 1.0538,
136
+ "step": 1800
137
+ },
138
+ {
139
+ "epoch": 1.0337323177366704,
140
+ "grad_norm": 1.2760506868362427,
141
+ "learning_rate": 3.2816467174465e-05,
142
+ "loss": 0.968,
143
+ "step": 1900
144
+ },
145
+ {
146
+ "epoch": 1.088139281828074,
147
+ "grad_norm": 1.5799071788787842,
148
+ "learning_rate": 3.190968443960827e-05,
149
+ "loss": 0.9365,
150
+ "step": 2000
151
+ }
152
+ ],
153
+ "logging_steps": 100,
154
+ "max_steps": 5514,
155
+ "num_input_tokens_seen": 0,
156
+ "num_train_epochs": 3,
157
+ "save_steps": 500,
158
+ "stateful_callbacks": {
159
+ "TrainerControl": {
160
+ "args": {
161
+ "should_epoch_stop": false,
162
+ "should_evaluate": false,
163
+ "should_log": false,
164
+ "should_save": true,
165
+ "should_training_stop": false
166
+ },
167
+ "attributes": {}
168
+ }
169
+ },
170
+ "total_flos": 2090336256000000.0,
171
+ "train_batch_size": 4,
172
+ "trial_name": null,
173
+ "trial_params": null
174
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3b92fad9c09a73aae21441d2f394f747f6e1203d0cca82e74f610a1fc8e8dd1
3
+ size 5304