Gnider commited on
Commit
07d978e
1 Parent(s): cee18c7

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<sep>": 50257
3
+ }
checkpoint-250/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Gnider/model_old_working",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 1,
9
+ "decoder_start_token_id": 1,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 2,
12
+ "gradient_checkpointing": false,
13
+ "id2label": {
14
+ "0": "LABEL_0"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "label2id": {
18
+ "LABEL_0": 0
19
+ },
20
+ "layer_norm_epsilon": 1e-05,
21
+ "max_length": 800,
22
+ "model_type": "gpt2",
23
+ "n_ctx": 2048,
24
+ "n_embd": 768,
25
+ "n_head": 12,
26
+ "n_inner": null,
27
+ "n_layer": 12,
28
+ "n_positions": 2048,
29
+ "num_beams": 5,
30
+ "pad_token_id": 0,
31
+ "reorder_and_upcast_attn": false,
32
+ "resid_pdrop": 0.1,
33
+ "scale_attn_by_inverse_layer_idx": false,
34
+ "scale_attn_weights": true,
35
+ "summary_activation": null,
36
+ "summary_first_dropout": 0.1,
37
+ "summary_proj_to_labels": true,
38
+ "summary_type": "cls_index",
39
+ "summary_use_proj": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.42.0.dev0",
42
+ "use_cache": true,
43
+ "vocab_size": 50264
44
+ }
checkpoint-250/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.42.0.dev0"
7
+ }
checkpoint-250/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3159381e8e7224152e85626c4570d3c846c75cc3cf4dd2b6ec5f6f86ad597e8f
3
+ size 500941440
checkpoint-250/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:543f877a26423f1b2695ec4551c6d6d3cf82bb2f298c73f983bcb7e16a93b7dc
3
+ size 1001976762
checkpoint-250/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6144905bd63fe531404d93bd3c8b7e957a94c6390f767d6674c172555e9993bc
3
+ size 14244
checkpoint-250/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90e3a4d7cd8780e40f2b2333952528e054b1881d8e2ea1f4f3933ea5b17b59ae
3
+ size 1064
checkpoint-250/trainer_state.json ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 2.437453269958496,
3
+ "best_model_checkpoint": "/kaggle/working/mix_15k/checkpoint-250",
4
+ "epoch": 5.329780146568954,
5
+ "eval_steps": 125,
6
+ "global_step": 250,
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.5329780146568954,
13
+ "grad_norm": 0.5363643169403076,
14
+ "learning_rate": 2.5e-05,
15
+ "loss": 2.9777,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 1.0659560293137909,
20
+ "grad_norm": 0.5214653015136719,
21
+ "learning_rate": 5e-05,
22
+ "loss": 2.8188,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 1.598934043970686,
27
+ "grad_norm": 0.4909350275993347,
28
+ "learning_rate": 7.500000000000001e-05,
29
+ "loss": 2.6787,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 2.1319120586275817,
34
+ "grad_norm": 0.4978727698326111,
35
+ "learning_rate": 0.0001,
36
+ "loss": 2.6019,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 2.664890073284477,
41
+ "grad_norm": 0.5111510753631592,
42
+ "learning_rate": 8.579545454545454e-05,
43
+ "loss": 2.5312,
44
+ "step": 125
45
+ },
46
+ {
47
+ "epoch": 2.664890073284477,
48
+ "eval_loss": 2.476147174835205,
49
+ "eval_runtime": 122.0106,
50
+ "eval_samples_per_second": 24.531,
51
+ "eval_steps_per_second": 12.269,
52
+ "step": 125
53
+ },
54
+ {
55
+ "epoch": 3.1978680879413726,
56
+ "grad_norm": 0.4439743459224701,
57
+ "learning_rate": 7.15909090909091e-05,
58
+ "loss": 2.4952,
59
+ "step": 150
60
+ },
61
+ {
62
+ "epoch": 3.7308461025982678,
63
+ "grad_norm": 0.44518163800239563,
64
+ "learning_rate": 5.738636363636364e-05,
65
+ "loss": 2.4425,
66
+ "step": 175
67
+ },
68
+ {
69
+ "epoch": 4.263824117255163,
70
+ "grad_norm": 0.44307246804237366,
71
+ "learning_rate": 4.318181818181819e-05,
72
+ "loss": 2.4063,
73
+ "step": 200
74
+ },
75
+ {
76
+ "epoch": 4.796802131912059,
77
+ "grad_norm": 0.42895805835723877,
78
+ "learning_rate": 2.8977272727272732e-05,
79
+ "loss": 2.3821,
80
+ "step": 225
81
+ },
82
+ {
83
+ "epoch": 5.329780146568954,
84
+ "grad_norm": 0.4111803472042084,
85
+ "learning_rate": 1.4772727272727274e-05,
86
+ "loss": 2.3574,
87
+ "step": 250
88
+ },
89
+ {
90
+ "epoch": 5.329780146568954,
91
+ "eval_loss": 2.437453269958496,
92
+ "eval_runtime": 121.955,
93
+ "eval_samples_per_second": 24.542,
94
+ "eval_steps_per_second": 12.275,
95
+ "step": 250
96
+ }
97
+ ],
98
+ "logging_steps": 25,
99
+ "max_steps": 276,
100
+ "num_input_tokens_seen": 0,
101
+ "num_train_epochs": 6,
102
+ "save_steps": 125,
103
+ "stateful_callbacks": {
104
+ "TrainerControl": {
105
+ "args": {
106
+ "should_epoch_stop": false,
107
+ "should_evaluate": false,
108
+ "should_log": false,
109
+ "should_save": true,
110
+ "should_training_stop": false
111
+ },
112
+ "attributes": {}
113
+ }
114
+ },
115
+ "total_flos": 2.619247976064e+16,
116
+ "train_batch_size": 2,
117
+ "trial_name": null,
118
+ "trial_params": null
119
+ }
checkpoint-250/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01aed42d128ead6106af4b09e0f3ea8f3963e1bf560c2b1a2e502a58ded18dec
3
+ size 5112
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Gnider/model_old_working",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 1,
9
+ "decoder_start_token_id": 1,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 2,
12
+ "gradient_checkpointing": false,
13
+ "id2label": {
14
+ "0": "LABEL_0"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "label2id": {
18
+ "LABEL_0": 0
19
+ },
20
+ "layer_norm_epsilon": 1e-05,
21
+ "max_length": 800,
22
+ "model_type": "gpt2",
23
+ "n_ctx": 2048,
24
+ "n_embd": 768,
25
+ "n_head": 12,
26
+ "n_inner": null,
27
+ "n_layer": 12,
28
+ "n_positions": 2048,
29
+ "num_beams": 5,
30
+ "pad_token_id": 0,
31
+ "reorder_and_upcast_attn": false,
32
+ "resid_pdrop": 0.1,
33
+ "scale_attn_by_inverse_layer_idx": false,
34
+ "scale_attn_weights": true,
35
+ "summary_activation": null,
36
+ "summary_first_dropout": 0.1,
37
+ "summary_proj_to_labels": true,
38
+ "summary_type": "cls_index",
39
+ "summary_use_proj": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.42.0.dev0",
42
+ "use_cache": true,
43
+ "vocab_size": 50264
44
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.42.0.dev0"
7
+ }
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:3159381e8e7224152e85626c4570d3c846c75cc3cf4dd2b6ec5f6f86ad597e8f
3
+ size 500941440
special_tokens_map.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "mask_token": {
17
+ "content": "<mask>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "pad_token": {
24
+ "content": "<pad>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "sep_token": {
31
+ "content": "<sep>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "unk_token": {
38
+ "content": "<unk>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ }
44
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": true,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": true,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "4": {
38
+ "content": "<mask>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "50257": {
46
+ "content": "<sep>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ }
53
+ },
54
+ "bos_token": "<s>",
55
+ "clean_up_tokenization_spaces": true,
56
+ "do_lower_case": false,
57
+ "eos_token": "</s>",
58
+ "errors": "replace",
59
+ "mask_token": "<mask>",
60
+ "model_max_length": 2048,
61
+ "pad_token": "<pad>",
62
+ "padding_side": "left",
63
+ "sep_token": "<sep>",
64
+ "strip_accents": false,
65
+ "tokenizer_class": "GPT2Tokenizer",
66
+ "truncation_side": "left",
67
+ "trust_remote_code": false,
68
+ "unk_token": "<unk>"
69
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff