FlameF0X commited on
Commit
e9c978d
·
verified ·
1 Parent(s): 928b545

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": 12,
17
+ "n_inner": null,
18
+ "n_layer": 12,
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:536add46d39849d7b3b245255cccc23496ae850b91c65686ce57ee5dfe97e20b
3
+ size 163959712
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5214c95addd6a189c3a7197314f893f40eb7b3210bf710d112b618750bd12c0
3
+ size 328014219
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4227f776e5afdba1e7bb106947cc869825e2c0b5a0aaf93b1d26b22105a05c6
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.128,
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.0128,
14
+ "grad_norm": 3.444922924041748,
15
+ "learning_rate": 9.900000000000001e-05,
16
+ "loss": 8.219487915039062,
17
+ "step": 100
18
+ },
19
+ {
20
+ "epoch": 0.0256,
21
+ "grad_norm": 0.8677482008934021,
22
+ "learning_rate": 0.000199,
23
+ "loss": 2.852702331542969,
24
+ "step": 200
25
+ },
26
+ {
27
+ "epoch": 0.0384,
28
+ "grad_norm": 1.1583627462387085,
29
+ "learning_rate": 0.000299,
30
+ "loss": 1.72166259765625,
31
+ "step": 300
32
+ },
33
+ {
34
+ "epoch": 0.0512,
35
+ "grad_norm": 1.3285731077194214,
36
+ "learning_rate": 0.00039900000000000005,
37
+ "loss": 1.4859967041015625,
38
+ "step": 400
39
+ },
40
+ {
41
+ "epoch": 0.064,
42
+ "grad_norm": 0.5119664669036865,
43
+ "learning_rate": 0.000499,
44
+ "loss": 1.3544009399414063,
45
+ "step": 500
46
+ },
47
+ {
48
+ "epoch": 0.0768,
49
+ "grad_norm": 0.5693696737289429,
50
+ "learning_rate": 0.0004999682018599242,
51
+ "loss": 1.2615775299072265,
52
+ "step": 600
53
+ },
54
+ {
55
+ "epoch": 0.0896,
56
+ "grad_norm": 0.38031378388404846,
57
+ "learning_rate": 0.0004998715277031906,
58
+ "loss": 1.1965968322753906,
59
+ "step": 700
60
+ },
61
+ {
62
+ "epoch": 0.1024,
63
+ "grad_norm": 0.4511842131614685,
64
+ "learning_rate": 0.0004997099993771365,
65
+ "loss": 1.137486572265625,
66
+ "step": 800
67
+ },
68
+ {
69
+ "epoch": 0.1152,
70
+ "grad_norm": 0.3763165771961212,
71
+ "learning_rate": 0.000499483658806448,
72
+ "loss": 1.0960751342773438,
73
+ "step": 900
74
+ },
75
+ {
76
+ "epoch": 0.128,
77
+ "grad_norm": 0.39710113406181335,
78
+ "learning_rate": 0.0004991925647378331,
79
+ "loss": 1.0592382049560547,
80
+ "step": 1000
81
+ }
82
+ ],
83
+ "logging_steps": 100,
84
+ "max_steps": 20000,
85
+ "num_input_tokens_seen": 0,
86
+ "num_train_epochs": 3,
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": 4186636812288000.0,
101
+ "train_batch_size": 4,
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:d506e9be2fe39cd58743591a577d74d565d20822a613e541a28dc0667748fd3e
3
+ size 5137