Slicky325 commited on
Commit
2364b4d
·
verified ·
1 Parent(s): 0c9c6a4

Upload 8 files

Browse files
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai-community/gpt2-medium",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 1024,
16
+ "n_head": 16,
17
+ "n_inner": null,
18
+ "n_layer": 24,
19
+ "n_positions": 1024,
20
+ "n_special": 0,
21
+ "predict_special_tokens": true,
22
+ "reorder_and_upcast_attn": false,
23
+ "resid_pdrop": 0.1,
24
+ "scale_attn_by_inverse_layer_idx": false,
25
+ "scale_attn_weights": true,
26
+ "summary_activation": null,
27
+ "summary_first_dropout": 0.1,
28
+ "summary_proj_to_labels": true,
29
+ "summary_type": "cls_index",
30
+ "summary_use_proj": true,
31
+ "task_specific_params": {
32
+ "text-generation": {
33
+ "do_sample": true,
34
+ "max_length": 50
35
+ }
36
+ },
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.44.2",
39
+ "use_cache": true,
40
+ "vocab_size": 50257
41
+ }
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
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc8a97b3ba1b600342190590883d3305f0013f26ea32f58d9ee8f253be80b755
3
+ size 1419322880
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fd3ff03c39e8218a2fd42c307c9c1c6c917df9823abf4522d0ca327405bf2c7
3
+ size 2838829242
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42f2303c844a213eeb0a90b033b94360c411c953590abaea374dae0bb0662252
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f983b65b336a6b1ff724b11ce70eefd562c3c5da232a9c982f50079e15b2176
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 7474,
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.1337971635001338,
13
+ "grad_norm": 1.7339763641357422,
14
+ "learning_rate": 5e-05,
15
+ "loss": 1.0865,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.2675943270002676,
20
+ "grad_norm": 1.3081908226013184,
21
+ "learning_rate": 4.64152566676226e-05,
22
+ "loss": 0.4781,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.4013914905004014,
27
+ "grad_norm": 0.8795633316040039,
28
+ "learning_rate": 4.2830513335245196e-05,
29
+ "loss": 0.4536,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.5351886540005352,
34
+ "grad_norm": 1.046536922454834,
35
+ "learning_rate": 3.92457700028678e-05,
36
+ "loss": 0.4486,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.668985817500669,
41
+ "grad_norm": 0.68308424949646,
42
+ "learning_rate": 3.566102667049039e-05,
43
+ "loss": 0.428,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 0.8027829810008028,
48
+ "grad_norm": 0.7812120318412781,
49
+ "learning_rate": 3.2076283338113e-05,
50
+ "loss": 0.4242,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 0.9365801445009366,
55
+ "grad_norm": 0.930639922618866,
56
+ "learning_rate": 2.8491540005735588e-05,
57
+ "loss": 0.4259,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 1.0703773080010703,
62
+ "grad_norm": 0.7847789525985718,
63
+ "learning_rate": 2.490679667335819e-05,
64
+ "loss": 0.3887,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 1.2041744715012042,
69
+ "grad_norm": 1.0552189350128174,
70
+ "learning_rate": 2.1322053340980785e-05,
71
+ "loss": 0.3637,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 1.337971635001338,
76
+ "grad_norm": 0.9732643961906433,
77
+ "learning_rate": 1.7737310008603386e-05,
78
+ "loss": 0.3456,
79
+ "step": 5000
80
+ },
81
+ {
82
+ "epoch": 1.4717687985014718,
83
+ "grad_norm": 0.905820906162262,
84
+ "learning_rate": 1.4152566676225985e-05,
85
+ "loss": 0.3446,
86
+ "step": 5500
87
+ },
88
+ {
89
+ "epoch": 1.6055659620016056,
90
+ "grad_norm": 0.8462561964988708,
91
+ "learning_rate": 1.056782334384858e-05,
92
+ "loss": 0.3476,
93
+ "step": 6000
94
+ },
95
+ {
96
+ "epoch": 1.7393631255017392,
97
+ "grad_norm": 1.2623038291931152,
98
+ "learning_rate": 6.983080011471179e-06,
99
+ "loss": 0.3453,
100
+ "step": 6500
101
+ },
102
+ {
103
+ "epoch": 1.873160289001873,
104
+ "grad_norm": 1.0751724243164062,
105
+ "learning_rate": 3.398336679093777e-06,
106
+ "loss": 0.3434,
107
+ "step": 7000
108
+ }
109
+ ],
110
+ "logging_steps": 500,
111
+ "max_steps": 7474,
112
+ "num_input_tokens_seen": 0,
113
+ "num_train_epochs": 2,
114
+ "save_steps": 500,
115
+ "stateful_callbacks": {
116
+ "TrainerControl": {
117
+ "args": {
118
+ "should_epoch_stop": false,
119
+ "should_evaluate": false,
120
+ "should_log": false,
121
+ "should_save": true,
122
+ "should_training_stop": true
123
+ },
124
+ "attributes": {}
125
+ }
126
+ },
127
+ "total_flos": 1.3880360580415488e+16,
128
+ "train_batch_size": 2,
129
+ "trial_name": null,
130
+ "trial_params": null
131
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8911ba39286ec1993a48e988321ce88125d87e88f1f678fdf26e65ab3db80837
3
+ size 5176