luchun commited on
Commit
9a094b4
1 Parent(s): 5757875

Upload 15 files

Browse files
README.md CHANGED
@@ -1,3 +1,9 @@
1
  ---
2
- license: mit
3
  ---
 
 
 
 
 
 
 
1
  ---
2
+ library_name: peft
3
  ---
4
+ ## Training procedure
5
+
6
+ ### Framework versions
7
+
8
+
9
+ - PEFT 0.5.0.dev0
adapter_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "/home/model_files/Llama-2-13b-chat-hf",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 16,
11
+ "lora_dropout": 0.1,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 64,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "v_proj",
19
+ "k_proj",
20
+ "down_proj",
21
+ "gate_proj",
22
+ "up_proj"
23
+ ],
24
+ "task_type": "CAUSAL_LM"
25
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65200ffedf2c54ff6f3df2cdb478eeb0f38fdbfa7a346501ec268464c1443a77
3
+ size 896698765
checkpoint/README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+ ### Framework versions
7
+
8
+
9
+ - PEFT 0.5.0.dev0
checkpoint/adapter_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "/home/model_files/Llama-2-13b-chat-hf",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 16,
11
+ "lora_dropout": 0.1,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 64,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "v_proj",
19
+ "k_proj",
20
+ "down_proj",
21
+ "gate_proj",
22
+ "up_proj"
23
+ ],
24
+ "task_type": "CAUSAL_LM"
25
+ }
checkpoint/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fe4f15042e8380157df26e07bb23edfae9179841be3d353ec9512a85ea99f2e
3
+ size 896705485
checkpoint/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<pad>": 32000
3
+ }
checkpoint/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06e2e60c4b71aaf6185263e80b6991fc4969e74fb021b52c61202bfad602be70
3
+ size 14575
checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5efc416a6883409dd7ab6f5c779e107c7c2baa7af6e12ed9fbd9dd73b8b20784
3
+ size 627
checkpoint/special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
checkpoint/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint/tokenizer_config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "bos_token": {
5
+ "__type": "AddedToken",
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "clean_up_tokenization_spaces": false,
13
+ "eos_token": {
14
+ "__type": "AddedToken",
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "legacy": false,
22
+ "model_max_length": 1024,
23
+ "pad_token": null,
24
+ "padding_side": "right",
25
+ "sp_model_kwargs": {},
26
+ "tokenizer_class": "LlamaTokenizer",
27
+ "unk_token": {
28
+ "__type": "AddedToken",
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ }
35
+ }
checkpoint/trainer_state.json ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.8475750577367207,
5
+ "global_step": 500,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.07,
12
+ "learning_rate": 0.0002,
13
+ "loss": 1.0758,
14
+ "step": 20
15
+ },
16
+ {
17
+ "epoch": 0.15,
18
+ "learning_rate": 0.0002,
19
+ "loss": 1.0262,
20
+ "step": 40
21
+ },
22
+ {
23
+ "epoch": 0.22,
24
+ "learning_rate": 0.0002,
25
+ "loss": 0.972,
26
+ "step": 60
27
+ },
28
+ {
29
+ "epoch": 0.3,
30
+ "learning_rate": 0.0002,
31
+ "loss": 0.2251,
32
+ "step": 80
33
+ },
34
+ {
35
+ "epoch": 0.37,
36
+ "learning_rate": 0.0002,
37
+ "loss": 0.144,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 0.44,
42
+ "learning_rate": 0.0002,
43
+ "loss": 0.1766,
44
+ "step": 120
45
+ },
46
+ {
47
+ "epoch": 0.52,
48
+ "learning_rate": 0.0002,
49
+ "loss": 0.1494,
50
+ "step": 140
51
+ },
52
+ {
53
+ "epoch": 0.59,
54
+ "learning_rate": 0.0002,
55
+ "loss": 0.1483,
56
+ "step": 160
57
+ },
58
+ {
59
+ "epoch": 0.67,
60
+ "learning_rate": 0.0002,
61
+ "loss": 0.1188,
62
+ "step": 180
63
+ },
64
+ {
65
+ "epoch": 0.74,
66
+ "learning_rate": 0.0002,
67
+ "loss": 0.0918,
68
+ "step": 200
69
+ },
70
+ {
71
+ "epoch": 0.81,
72
+ "learning_rate": 0.0002,
73
+ "loss": 0.1356,
74
+ "step": 220
75
+ },
76
+ {
77
+ "epoch": 0.89,
78
+ "learning_rate": 0.0002,
79
+ "loss": 0.0969,
80
+ "step": 240
81
+ },
82
+ {
83
+ "epoch": 0.96,
84
+ "learning_rate": 0.0002,
85
+ "loss": 0.1145,
86
+ "step": 260
87
+ },
88
+ {
89
+ "epoch": 1.03,
90
+ "learning_rate": 0.0002,
91
+ "loss": 0.1058,
92
+ "step": 280
93
+ },
94
+ {
95
+ "epoch": 1.11,
96
+ "learning_rate": 0.0002,
97
+ "loss": 0.0827,
98
+ "step": 300
99
+ },
100
+ {
101
+ "epoch": 1.18,
102
+ "learning_rate": 0.0002,
103
+ "loss": 0.0537,
104
+ "step": 320
105
+ },
106
+ {
107
+ "epoch": 1.26,
108
+ "learning_rate": 0.0002,
109
+ "loss": 0.0969,
110
+ "step": 340
111
+ },
112
+ {
113
+ "epoch": 1.33,
114
+ "learning_rate": 0.0002,
115
+ "loss": 0.06,
116
+ "step": 360
117
+ },
118
+ {
119
+ "epoch": 1.4,
120
+ "learning_rate": 0.0002,
121
+ "loss": 0.0777,
122
+ "step": 380
123
+ },
124
+ {
125
+ "epoch": 1.48,
126
+ "learning_rate": 0.0002,
127
+ "loss": 0.071,
128
+ "step": 400
129
+ },
130
+ {
131
+ "epoch": 1.55,
132
+ "learning_rate": 0.0002,
133
+ "loss": 0.0487,
134
+ "step": 420
135
+ },
136
+ {
137
+ "epoch": 1.63,
138
+ "learning_rate": 0.0002,
139
+ "loss": 0.0871,
140
+ "step": 440
141
+ },
142
+ {
143
+ "epoch": 1.7,
144
+ "learning_rate": 0.0002,
145
+ "loss": 0.0577,
146
+ "step": 460
147
+ },
148
+ {
149
+ "epoch": 1.77,
150
+ "learning_rate": 0.0002,
151
+ "loss": 0.073,
152
+ "step": 480
153
+ },
154
+ {
155
+ "epoch": 1.85,
156
+ "learning_rate": 0.0002,
157
+ "loss": 0.0658,
158
+ "step": 500
159
+ }
160
+ ],
161
+ "max_steps": 500,
162
+ "num_train_epochs": 2,
163
+ "total_flos": 5.366331835972915e+17,
164
+ "trial_name": null,
165
+ "trial_params": null
166
+ }
checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de4f03311647eb822301b74cadc887adbfe8c16d0643ce3f98f232ff4d220308
3
+ size 4283
trainer_state.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.8475750577367207,
5
+ "global_step": 500,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.07,
12
+ "learning_rate": 0.0002,
13
+ "loss": 1.0758,
14
+ "step": 20
15
+ },
16
+ {
17
+ "epoch": 0.15,
18
+ "learning_rate": 0.0002,
19
+ "loss": 1.0262,
20
+ "step": 40
21
+ },
22
+ {
23
+ "epoch": 0.22,
24
+ "learning_rate": 0.0002,
25
+ "loss": 0.972,
26
+ "step": 60
27
+ },
28
+ {
29
+ "epoch": 0.3,
30
+ "learning_rate": 0.0002,
31
+ "loss": 0.2251,
32
+ "step": 80
33
+ },
34
+ {
35
+ "epoch": 0.37,
36
+ "learning_rate": 0.0002,
37
+ "loss": 0.144,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 0.44,
42
+ "learning_rate": 0.0002,
43
+ "loss": 0.1766,
44
+ "step": 120
45
+ },
46
+ {
47
+ "epoch": 0.52,
48
+ "learning_rate": 0.0002,
49
+ "loss": 0.1494,
50
+ "step": 140
51
+ },
52
+ {
53
+ "epoch": 0.59,
54
+ "learning_rate": 0.0002,
55
+ "loss": 0.1483,
56
+ "step": 160
57
+ },
58
+ {
59
+ "epoch": 0.67,
60
+ "learning_rate": 0.0002,
61
+ "loss": 0.1188,
62
+ "step": 180
63
+ },
64
+ {
65
+ "epoch": 0.74,
66
+ "learning_rate": 0.0002,
67
+ "loss": 0.0918,
68
+ "step": 200
69
+ },
70
+ {
71
+ "epoch": 0.81,
72
+ "learning_rate": 0.0002,
73
+ "loss": 0.1356,
74
+ "step": 220
75
+ },
76
+ {
77
+ "epoch": 0.89,
78
+ "learning_rate": 0.0002,
79
+ "loss": 0.0969,
80
+ "step": 240
81
+ },
82
+ {
83
+ "epoch": 0.96,
84
+ "learning_rate": 0.0002,
85
+ "loss": 0.1145,
86
+ "step": 260
87
+ },
88
+ {
89
+ "epoch": 1.03,
90
+ "learning_rate": 0.0002,
91
+ "loss": 0.1058,
92
+ "step": 280
93
+ },
94
+ {
95
+ "epoch": 1.11,
96
+ "learning_rate": 0.0002,
97
+ "loss": 0.0827,
98
+ "step": 300
99
+ },
100
+ {
101
+ "epoch": 1.18,
102
+ "learning_rate": 0.0002,
103
+ "loss": 0.0537,
104
+ "step": 320
105
+ },
106
+ {
107
+ "epoch": 1.26,
108
+ "learning_rate": 0.0002,
109
+ "loss": 0.0969,
110
+ "step": 340
111
+ },
112
+ {
113
+ "epoch": 1.33,
114
+ "learning_rate": 0.0002,
115
+ "loss": 0.06,
116
+ "step": 360
117
+ },
118
+ {
119
+ "epoch": 1.4,
120
+ "learning_rate": 0.0002,
121
+ "loss": 0.0777,
122
+ "step": 380
123
+ },
124
+ {
125
+ "epoch": 1.48,
126
+ "learning_rate": 0.0002,
127
+ "loss": 0.071,
128
+ "step": 400
129
+ },
130
+ {
131
+ "epoch": 1.55,
132
+ "learning_rate": 0.0002,
133
+ "loss": 0.0487,
134
+ "step": 420
135
+ },
136
+ {
137
+ "epoch": 1.63,
138
+ "learning_rate": 0.0002,
139
+ "loss": 0.0871,
140
+ "step": 440
141
+ },
142
+ {
143
+ "epoch": 1.7,
144
+ "learning_rate": 0.0002,
145
+ "loss": 0.0577,
146
+ "step": 460
147
+ },
148
+ {
149
+ "epoch": 1.77,
150
+ "learning_rate": 0.0002,
151
+ "loss": 0.073,
152
+ "step": 480
153
+ },
154
+ {
155
+ "epoch": 1.85,
156
+ "learning_rate": 0.0002,
157
+ "loss": 0.0658,
158
+ "step": 500
159
+ },
160
+ {
161
+ "epoch": 1.85,
162
+ "step": 500,
163
+ "total_flos": 5.366331835972915e+17,
164
+ "train_loss": 0.2142012220621109,
165
+ "train_runtime": 37295.4093,
166
+ "train_samples_per_second": 0.429,
167
+ "train_steps_per_second": 0.013
168
+ }
169
+ ],
170
+ "max_steps": 500,
171
+ "num_train_epochs": 2,
172
+ "total_flos": 5.366331835972915e+17,
173
+ "trial_name": null,
174
+ "trial_params": null
175
+ }