Slicky325 commited on
Commit
9b12bf9
1 Parent(s): 8e04c07

Upload 7 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:77960448ec3cb16a984b83912a8c21e602e68fbac80792e91ce715308e194b35
3
+ size 1431912264
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44f79ff739cc5aa0ef599b98b5913e4acc17f62aee68fdf0baa7408ff7fd5567
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2c876e240607339da7ccc68813410e25a08f9f67fd0ed4b052a348a0a3af8ea
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 10050,
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.19900497512437812,
13
+ "grad_norm": 0.26937374472618103,
14
+ "learning_rate": 4.738219895287958e-05,
15
+ "loss": 2.1306,
16
+ "step": 1000
17
+ },
18
+ {
19
+ "epoch": 0.39800995024875624,
20
+ "grad_norm": 0.1997993439435959,
21
+ "learning_rate": 4.2146596858638745e-05,
22
+ "loss": 0.3628,
23
+ "step": 2000
24
+ },
25
+ {
26
+ "epoch": 0.5970149253731343,
27
+ "grad_norm": 0.2434607893228531,
28
+ "learning_rate": 3.691099476439791e-05,
29
+ "loss": 0.354,
30
+ "step": 3000
31
+ },
32
+ {
33
+ "epoch": 0.7960199004975125,
34
+ "grad_norm": 0.1875876635313034,
35
+ "learning_rate": 3.167539267015707e-05,
36
+ "loss": 0.3529,
37
+ "step": 4000
38
+ },
39
+ {
40
+ "epoch": 0.9950248756218906,
41
+ "grad_norm": 0.2847432792186737,
42
+ "learning_rate": 2.643979057591623e-05,
43
+ "loss": 0.3518,
44
+ "step": 5000
45
+ },
46
+ {
47
+ "epoch": 1.1940298507462686,
48
+ "grad_norm": 0.21426910161972046,
49
+ "learning_rate": 2.1204188481675396e-05,
50
+ "loss": 0.3414,
51
+ "step": 6000
52
+ },
53
+ {
54
+ "epoch": 1.3930348258706466,
55
+ "grad_norm": 0.24933403730392456,
56
+ "learning_rate": 1.5968586387434557e-05,
57
+ "loss": 0.3444,
58
+ "step": 7000
59
+ },
60
+ {
61
+ "epoch": 1.5920398009950247,
62
+ "grad_norm": 0.2430945485830307,
63
+ "learning_rate": 1.0732984293193717e-05,
64
+ "loss": 0.3504,
65
+ "step": 8000
66
+ },
67
+ {
68
+ "epoch": 1.7910447761194028,
69
+ "grad_norm": 0.2998332381248474,
70
+ "learning_rate": 5.49738219895288e-06,
71
+ "loss": 0.3344,
72
+ "step": 9000
73
+ },
74
+ {
75
+ "epoch": 1.9900497512437811,
76
+ "grad_norm": 0.15377995371818542,
77
+ "learning_rate": 2.617801047120419e-07,
78
+ "loss": 0.3431,
79
+ "step": 10000
80
+ }
81
+ ],
82
+ "logging_steps": 1000,
83
+ "max_steps": 10050,
84
+ "num_input_tokens_seen": 0,
85
+ "num_train_epochs": 2,
86
+ "save_steps": 1000,
87
+ "stateful_callbacks": {
88
+ "TrainerControl": {
89
+ "args": {
90
+ "should_epoch_stop": false,
91
+ "should_evaluate": false,
92
+ "should_log": false,
93
+ "should_save": true,
94
+ "should_training_stop": true
95
+ },
96
+ "attributes": {}
97
+ }
98
+ },
99
+ "total_flos": 1.88611238559744e+16,
100
+ "train_batch_size": 2,
101
+ "trial_name": null,
102
+ "trial_params": null
103
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:376a9519dca2ce1aa5625bb880da870ac3ac4512cff65bc1268b082837ce1961
3
+ size 5176