csoftware commited on
Commit
0d23055
·
verified ·
1 Parent(s): b34688b

Upload 16 files

Browse files
checkpoint-5000/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 50256,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 50256,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 1024,
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_inner": null,
17
+ "n_layer": 12,
18
+ "n_positions": 1024,
19
+ "reorder_and_upcast_attn": false,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": false,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 50
32
+ }
33
+ },
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.38.2",
36
+ "use_cache": true,
37
+ "vocab_size": 50257
38
+ }
checkpoint-5000/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.38.2"
6
+ }
checkpoint-5000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75438337ed3a7cf4c8e6cdc235f67d945712cf25150aa1e136c687c65f780f02
3
+ size 497774208
checkpoint-5000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa7df1acc5509082e7afc36b460563913a9f9e3cea5eda920af848fb32905c9b
3
+ size 995642298
checkpoint-5000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:509fe940a511f75762bca17b4a4a99dab812e1a5803c99761c06d39dda58bf92
3
+ size 14244
checkpoint-5000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daa8964f4f22ffbf7db17a5c588649cf1f44668823239d5ed2c968072b34a617
3
+ size 1064
checkpoint-5000/trainer_state.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.935834155972359,
5
+ "eval_steps": 500,
6
+ "global_step": 5000,
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.49,
13
+ "grad_norm": 5.452001094818115,
14
+ "learning_rate": 4.5064165844027646e-05,
15
+ "loss": 2.1074,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.99,
20
+ "grad_norm": 4.521205425262451,
21
+ "learning_rate": 4.012833168805528e-05,
22
+ "loss": 1.9379,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 1.48,
27
+ "grad_norm": 3.5499987602233887,
28
+ "learning_rate": 3.519249753208293e-05,
29
+ "loss": 1.8363,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 1.97,
34
+ "grad_norm": 4.4638752937316895,
35
+ "learning_rate": 3.0256663376110567e-05,
36
+ "loss": 1.7792,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 2.47,
41
+ "grad_norm": 3.7737858295440674,
42
+ "learning_rate": 2.5320829220138204e-05,
43
+ "loss": 1.7277,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 2.96,
48
+ "grad_norm": 3.5306851863861084,
49
+ "learning_rate": 2.0384995064165844e-05,
50
+ "loss": 1.6955,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 3.46,
55
+ "grad_norm": 3.306370258331299,
56
+ "learning_rate": 1.5449160908193485e-05,
57
+ "loss": 1.6628,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 3.95,
62
+ "grad_norm": 3.6223793029785156,
63
+ "learning_rate": 1.0513326752221125e-05,
64
+ "loss": 1.6524,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 4.44,
69
+ "grad_norm": 3.021146059036255,
70
+ "learning_rate": 5.577492596248766e-06,
71
+ "loss": 1.6291,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 4.94,
76
+ "grad_norm": 3.5867886543273926,
77
+ "learning_rate": 6.416584402764068e-07,
78
+ "loss": 1.6234,
79
+ "step": 5000
80
+ }
81
+ ],
82
+ "logging_steps": 500,
83
+ "max_steps": 5065,
84
+ "num_input_tokens_seen": 0,
85
+ "num_train_epochs": 5,
86
+ "save_steps": 500,
87
+ "total_flos": 2612659027968000.0,
88
+ "train_batch_size": 8,
89
+ "trial_name": null,
90
+ "trial_params": null
91
+ }
checkpoint-5000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed5c5d69fe2dc846211cfa0cdd8108ca2e75355db60d0dfcdc0ae8e1c6b34480
3
+ size 4856
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
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": 768,
16
+ "n_head": 12,
17
+ "n_inner": null,
18
+ "n_layer": 12,
19
+ "n_positions": 1024,
20
+ "reorder_and_upcast_attn": false,
21
+ "resid_pdrop": 0.1,
22
+ "scale_attn_by_inverse_layer_idx": false,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50
33
+ }
34
+ },
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.38.2",
37
+ "use_cache": true,
38
+ "vocab_size": 50257
39
+ }
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.38.2"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f29273f7ccb32f7f5182d4a68660316a0d171d40c79c04f2c3d7c69744806f9
3
+ size 497774208
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "50256": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ }
13
+ },
14
+ "bos_token": "<|endoftext|>",
15
+ "clean_up_tokenization_spaces": true,
16
+ "eos_token": "<|endoftext|>",
17
+ "errors": "replace",
18
+ "model_max_length": 1024,
19
+ "pad_token": null,
20
+ "tokenizer_class": "GPT2Tokenizer",
21
+ "unk_token": "<|endoftext|>"
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed5c5d69fe2dc846211cfa0cdd8108ca2e75355db60d0dfcdc0ae8e1c6b34480
3
+ size 4856
vocab.json ADDED
The diff for this file is too large to render. See raw diff