Slicky325 commited on
Commit
27e67f1
1 Parent(s): dd6d2be

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.45.1",
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.45.1"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcfa79cb15f576d12e8191b177a41456c4699d74d9e9a3cdeb71a9269bd0d6cc
3
+ size 1431912264
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48270d1290a1fef1fd188fe2432bd41cdacf0f1e5070184e2a0b56fed34f5601
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22b3c4916f9e7b6fdda27e9f105e16daf01dc6e8120912243962f81a1f25cb49
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": 5026,
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.19896538002387584,
13
+ "grad_norm": 0.22902533411979675,
14
+ "learning_rate": 5e-05,
15
+ "loss": 3.7966,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.3979307600477517,
20
+ "grad_norm": 0.22708623111248016,
21
+ "learning_rate": 4.447635881573133e-05,
22
+ "loss": 1.4108,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.5968961400716275,
27
+ "grad_norm": 0.20095278322696686,
28
+ "learning_rate": 3.895271763146266e-05,
29
+ "loss": 1.365,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.7958615200955034,
34
+ "grad_norm": 0.1303737759590149,
35
+ "learning_rate": 3.342907644719399e-05,
36
+ "loss": 1.3683,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.9948269001193792,
41
+ "grad_norm": 0.21030685305595398,
42
+ "learning_rate": 2.7905435262925323e-05,
43
+ "loss": 1.3898,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 1.193792280143255,
48
+ "grad_norm": 0.18989521265029907,
49
+ "learning_rate": 2.2381794078656652e-05,
50
+ "loss": 1.3441,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 1.392757660167131,
55
+ "grad_norm": 0.19548365473747253,
56
+ "learning_rate": 1.6858152894387984e-05,
57
+ "loss": 1.3469,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 1.5917230401910067,
62
+ "grad_norm": 0.23873193562030792,
63
+ "learning_rate": 1.133451171011931e-05,
64
+ "loss": 1.3736,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 1.7906884202148827,
69
+ "grad_norm": 0.2010679692029953,
70
+ "learning_rate": 5.810870525850641e-06,
71
+ "loss": 1.3847,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 1.9896538002387585,
76
+ "grad_norm": 0.19471381604671478,
77
+ "learning_rate": 2.872293415819708e-07,
78
+ "loss": 1.3575,
79
+ "step": 5000
80
+ }
81
+ ],
82
+ "logging_steps": 500,
83
+ "max_steps": 5026,
84
+ "num_input_tokens_seen": 0,
85
+ "num_train_epochs": 2,
86
+ "save_steps": 500,
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": 4,
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:7c47030ff993b11cf8048b55d02879fdf62c42835d7a1bc97ac583761f94cb6b
3
+ size 5176