FlameF0X commited on
Commit
d3d9a26
·
verified ·
1 Parent(s): 63ca9f4

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "add_cross_attention": false,
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "dtype": "float32",
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt2",
15
+ "n_embd": 384,
16
+ "n_head": 6,
17
+ "n_inner": null,
18
+ "n_layer": 6,
19
+ "n_positions": 1024,
20
+ "pad_token_id": null,
21
+ "reorder_and_upcast_attn": false,
22
+ "resid_pdrop": 0.1,
23
+ "scale_attn_by_inverse_layer_idx": false,
24
+ "scale_attn_weights": true,
25
+ "summary_activation": null,
26
+ "summary_first_dropout": 0.1,
27
+ "summary_proj_to_labels": true,
28
+ "summary_type": "cls_index",
29
+ "summary_use_proj": true,
30
+ "tie_word_embeddings": true,
31
+ "transformers_version": "5.0.0",
32
+ "use_cache": false,
33
+ "vocab_size": 50257
34
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "output_attentions": false,
6
+ "output_hidden_states": false,
7
+ "transformers_version": "5.0.0",
8
+ "use_cache": false
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24fed4bbf984a7bb3a9091c60af2e75fd16dee79d4c968ae1857265d612dfc68
3
+ size 121365368
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b19af4422ec94a19d5ed141d33c050907960b2335d4abdc7085e2cbba58a84f9
3
+ size 242779979
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff2fb1898075ad62bfeb88efd6f458e72d970011ce835a951d417d70395e61d6
3
+ size 14645
scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14ae2a2128444abab378aa06c09a61a84665f758fcc19fc46f5789b0bc1b5665
3
+ size 1383
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d383d9981af3af3a4b738ded756a0ac8f2c9578645c7dcaa1743590117bcebb5
3
+ size 1465
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|endoftext|>",
5
+ "eos_token": "<|endoftext|>",
6
+ "errors": "replace",
7
+ "is_local": false,
8
+ "model_max_length": 1024,
9
+ "pad_token": "<|endoftext|>",
10
+ "tokenizer_class": "GPT2Tokenizer",
11
+ "unk_token": "<|endoftext|>"
12
+ }
trainer_state.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.32,
6
+ "eval_steps": 500,
7
+ "global_step": 1000,
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.032,
14
+ "grad_norm": 3.0811734199523926,
15
+ "learning_rate": 9.900000000000001e-05,
16
+ "loss": 8.391141967773438,
17
+ "step": 100
18
+ },
19
+ {
20
+ "epoch": 0.064,
21
+ "grad_norm": 0.9263819456100464,
22
+ "learning_rate": 0.000199,
23
+ "loss": 3.055461730957031,
24
+ "step": 200
25
+ },
26
+ {
27
+ "epoch": 0.096,
28
+ "grad_norm": 0.9063050150871277,
29
+ "learning_rate": 0.000299,
30
+ "loss": 1.9104501342773437,
31
+ "step": 300
32
+ },
33
+ {
34
+ "epoch": 0.128,
35
+ "grad_norm": 1.318272352218628,
36
+ "learning_rate": 0.00039900000000000005,
37
+ "loss": 1.6620086669921874,
38
+ "step": 400
39
+ },
40
+ {
41
+ "epoch": 0.16,
42
+ "grad_norm": 0.7002186179161072,
43
+ "learning_rate": 0.000499,
44
+ "loss": 1.5271978759765625,
45
+ "step": 500
46
+ },
47
+ {
48
+ "epoch": 0.192,
49
+ "grad_norm": 0.6296432018280029,
50
+ "learning_rate": 0.0004999682018599242,
51
+ "loss": 1.4492141723632812,
52
+ "step": 600
53
+ },
54
+ {
55
+ "epoch": 0.224,
56
+ "grad_norm": 0.6575325131416321,
57
+ "learning_rate": 0.0004998715277031906,
58
+ "loss": 1.3877157592773437,
59
+ "step": 700
60
+ },
61
+ {
62
+ "epoch": 0.256,
63
+ "grad_norm": 0.4923152029514313,
64
+ "learning_rate": 0.0004997099993771365,
65
+ "loss": 1.3457301330566407,
66
+ "step": 800
67
+ },
68
+ {
69
+ "epoch": 0.288,
70
+ "grad_norm": 0.5497189164161682,
71
+ "learning_rate": 0.000499483658806448,
72
+ "loss": 1.305233154296875,
73
+ "step": 900
74
+ },
75
+ {
76
+ "epoch": 0.32,
77
+ "grad_norm": 0.5527522563934326,
78
+ "learning_rate": 0.0004991925647378331,
79
+ "loss": 1.2742790222167968,
80
+ "step": 1000
81
+ }
82
+ ],
83
+ "logging_steps": 100,
84
+ "max_steps": 20000,
85
+ "num_input_tokens_seen": 0,
86
+ "num_train_epochs": 7,
87
+ "save_steps": 1000,
88
+ "stateful_callbacks": {
89
+ "TrainerControl": {
90
+ "args": {
91
+ "should_epoch_stop": false,
92
+ "should_evaluate": false,
93
+ "should_log": false,
94
+ "should_save": true,
95
+ "should_training_stop": false
96
+ },
97
+ "attributes": {}
98
+ }
99
+ },
100
+ "total_flos": 1046696951808000.0,
101
+ "train_batch_size": 2,
102
+ "trial_name": null,
103
+ "trial_params": null
104
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8910b6b094f53128fbaeee720374f96af92a753b312f2d444f44d6ab8e396302
3
+ size 5137