ShreyashSarkarDev commited on
Commit
b82f2e8
·
verified ·
1 Parent(s): e963f91

Upload 13 files

Browse files
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% for message in messages %}{{ message.content }}{{ eos_token }}{% endfor %}
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
+ "dtype": "float32",
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
+ "pad_token_id": 50256,
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
+ "task_specific_params": {
31
+ "conversational": {
32
+ "max_length": 1000
33
+ }
34
+ },
35
+ "transformers_version": "4.56.1",
36
+ "use_cache": true,
37
+ "vocab_size": 50257
38
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": [
5
+ 50256
6
+ ],
7
+ "pad_token_id": 50256,
8
+ "transformers_version": "4.56.1"
9
+ }
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:5e6128decb2fbbbf2091b5a1043781f01143859b506ad8827f6710c29bc015d7
3
+ size 497774208
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:228440e1d4619f5071feb9c177b65668878048ebf249221f47bb47fd94f19f7e
3
+ size 14645
scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62b3d1c6f1c6bcb7321ad7a092bc8ce8309360a9f89dd4f251c8731a98828468
3
+ size 1383
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:844d3b79039378ad71a9875d5099db4b8fd38aeb032a16d37f27724eb21e8869
3
+ size 1465
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
19
+ "model_max_length": 1024,
20
+ "pad_token": "<|endoftext|>",
21
+ "tokenizer_class": "GPT2Tokenizer",
22
+ "unk_token": "<|endoftext|>"
23
+ }
trainer_state.json ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 50.0,
6
+ "eval_steps": 1000,
7
+ "global_step": 1600,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 3.128,
14
+ "grad_norm": 23.240234375,
15
+ "learning_rate": 3.7200000000000004e-06,
16
+ "loss": 13.8895,
17
+ "step": 100
18
+ },
19
+ {
20
+ "epoch": 6.256,
21
+ "grad_norm": 2.89752197265625,
22
+ "learning_rate": 7.72e-06,
23
+ "loss": 6.3417,
24
+ "step": 200
25
+ },
26
+ {
27
+ "epoch": 9.384,
28
+ "grad_norm": 2.175177812576294,
29
+ "learning_rate": 1.172e-05,
30
+ "loss": 4.5781,
31
+ "step": 300
32
+ },
33
+ {
34
+ "epoch": 12.512,
35
+ "grad_norm": 1.8080283403396606,
36
+ "learning_rate": 1.5720000000000002e-05,
37
+ "loss": 3.9311,
38
+ "step": 400
39
+ },
40
+ {
41
+ "epoch": 15.64,
42
+ "grad_norm": 1.8345730304718018,
43
+ "learning_rate": 1.972e-05,
44
+ "loss": 3.4845,
45
+ "step": 500
46
+ },
47
+ {
48
+ "epoch": 18.768,
49
+ "grad_norm": 1.8004506826400757,
50
+ "learning_rate": 1.964933244713679e-05,
51
+ "loss": 3.2046,
52
+ "step": 600
53
+ },
54
+ {
55
+ "epoch": 21.896,
56
+ "grad_norm": 1.966347575187683,
57
+ "learning_rate": 1.851893169061149e-05,
58
+ "loss": 3.0399,
59
+ "step": 700
60
+ },
61
+ {
62
+ "epoch": 25.0,
63
+ "grad_norm": 3.5277066230773926,
64
+ "learning_rate": 1.66983777525504e-05,
65
+ "loss": 2.9138,
66
+ "step": 800
67
+ },
68
+ {
69
+ "epoch": 28.128,
70
+ "grad_norm": 1.7087632417678833,
71
+ "learning_rate": 1.4335161085764062e-05,
72
+ "loss": 2.8223,
73
+ "step": 900
74
+ },
75
+ {
76
+ "epoch": 31.256,
77
+ "grad_norm": 1.8053547143936157,
78
+ "learning_rate": 1.162073545000483e-05,
79
+ "loss": 2.7583,
80
+ "step": 1000
81
+ },
82
+ {
83
+ "epoch": 34.384,
84
+ "grad_norm": 1.9304829835891724,
85
+ "learning_rate": 8.775007466971067e-06,
86
+ "loss": 2.7118,
87
+ "step": 1100
88
+ },
89
+ {
90
+ "epoch": 37.512,
91
+ "grad_norm": 1.9457958936691284,
92
+ "learning_rate": 6.028521093652195e-06,
93
+ "loss": 2.6704,
94
+ "step": 1200
95
+ },
96
+ {
97
+ "epoch": 40.64,
98
+ "grad_norm": 1.8289012908935547,
99
+ "learning_rate": 3.6037803220311184e-06,
100
+ "loss": 2.6499,
101
+ "step": 1300
102
+ },
103
+ {
104
+ "epoch": 43.768,
105
+ "grad_norm": 1.7785428762435913,
106
+ "learning_rate": 1.697223228935958e-06,
107
+ "loss": 2.6332,
108
+ "step": 1400
109
+ },
110
+ {
111
+ "epoch": 46.896,
112
+ "grad_norm": 1.7786341905593872,
113
+ "learning_rate": 4.6330773131765484e-07,
114
+ "loss": 2.6273,
115
+ "step": 1500
116
+ },
117
+ {
118
+ "epoch": 50.0,
119
+ "grad_norm": 3.720322608947754,
120
+ "learning_rate": 1.9983244152199656e-09,
121
+ "loss": 2.63,
122
+ "step": 1600
123
+ }
124
+ ],
125
+ "logging_steps": 100,
126
+ "max_steps": 1600,
127
+ "num_input_tokens_seen": 0,
128
+ "num_train_epochs": 50,
129
+ "save_steps": 1000,
130
+ "stateful_callbacks": {
131
+ "TrainerControl": {
132
+ "args": {
133
+ "should_epoch_stop": false,
134
+ "should_evaluate": false,
135
+ "should_log": false,
136
+ "should_save": true,
137
+ "should_training_stop": true
138
+ },
139
+ "attributes": {}
140
+ }
141
+ },
142
+ "total_flos": 1.30646016e+16,
143
+ "train_batch_size": 8,
144
+ "trial_name": null,
145
+ "trial_params": null
146
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff