tyzhu commited on
Commit
e9e309d
·
verified ·
1 Parent(s): e5048f9

Training in progress, epoch 4, checkpoint

Browse files
checkpoint-937/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
checkpoint-937/adapter_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "Qwen/Qwen1.5-4B",
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.05,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 16,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "k_proj",
19
+ "v_proj",
20
+ "down_proj",
21
+ "gate_proj",
22
+ "up_proj"
23
+ ],
24
+ "task_type": "CAUSAL_LM"
25
+ }
checkpoint-937/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce58f62cab08a9cd67527bf1f155750721f086af29c0ee435f1a6a7b5b9d2bb9
3
+ size 112130416
checkpoint-937/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-937/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-937/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:053b58e65874a45e99f0222d25d601fbf6cca34396a290b68d39cd6ce7b39270
3
+ size 224537202
checkpoint-937/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fe554aa948c3485ae8c1b16ab31dd60916f41196726f2808cbd0289c910822a
3
+ size 15024
checkpoint-937/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd9b945aefa8a8662a88a693345a631e6fcc638784685a0e57646042893e0f47
3
+ size 15024
checkpoint-937/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e72b3c57b7e7af63410da238b504ffe9a3f2ea96f327430d79a566c0c285e30
3
+ size 15024
checkpoint-937/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:366ccbb2b9f9cf7f603d512f50c77c0b7c25f8d452dabe95d9976a3730328d46
3
+ size 15024
checkpoint-937/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a2f61b980e70482118515fb68faa72f12f72e8a5af5621e9d34bb4552ac7498
3
+ size 1064
checkpoint-937/special_tokens_map.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "eos_token": {
7
+ "content": "<|endoftext|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "pad_token": "<|endoftext|>"
14
+ }
checkpoint-937/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-937/tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "151643": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "151644": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "151645": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "additional_special_tokens": [
30
+ "<|im_start|>",
31
+ "<|im_end|>"
32
+ ],
33
+ "bos_token": null,
34
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
35
+ "clean_up_tokenization_spaces": false,
36
+ "eos_token": "<|endoftext|>",
37
+ "errors": "replace",
38
+ "model_max_length": 32768,
39
+ "pad_token": "<|endoftext|>",
40
+ "split_special_tokens": false,
41
+ "tokenizer_class": "Qwen2Tokenizer",
42
+ "unk_token": null
43
+ }
checkpoint-937/trainer_state.json ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.997333333333334,
5
+ "eval_steps": 500,
6
+ "global_step": 937,
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.5333333333333333,
13
+ "grad_norm": 0.7527768015861511,
14
+ "learning_rate": 0.0005,
15
+ "loss": 1.7217,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.9973333333333333,
20
+ "eval_accuracy": 0.5738974358974359,
21
+ "eval_loss": 1.6209890842437744,
22
+ "eval_runtime": 5.1723,
23
+ "eval_samples_per_second": 96.668,
24
+ "eval_steps_per_second": 12.18,
25
+ "step": 187
26
+ },
27
+ {
28
+ "epoch": 0.9973333333333333,
29
+ "eval_exact_match": 18.2,
30
+ "eval_f1": 27.000476190476196,
31
+ "step": 187
32
+ },
33
+ {
34
+ "epoch": 1.0666666666666667,
35
+ "grad_norm": 0.7723727226257324,
36
+ "learning_rate": 0.0005,
37
+ "loss": 1.615,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 1.6,
42
+ "grad_norm": 0.8481244444847107,
43
+ "learning_rate": 0.0005,
44
+ "loss": 1.2605,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 2.0,
49
+ "eval_accuracy": 0.5706666666666667,
50
+ "eval_loss": 1.6909353733062744,
51
+ "eval_runtime": 5.4194,
52
+ "eval_samples_per_second": 92.26,
53
+ "eval_steps_per_second": 11.625,
54
+ "step": 375
55
+ },
56
+ {
57
+ "epoch": 2.0,
58
+ "eval_exact_match": 17.0,
59
+ "eval_f1": 25.9057142857143,
60
+ "step": 375
61
+ },
62
+ {
63
+ "epoch": 2.1333333333333333,
64
+ "grad_norm": 0.810580313205719,
65
+ "learning_rate": 0.0005,
66
+ "loss": 1.1991,
67
+ "step": 400
68
+ },
69
+ {
70
+ "epoch": 2.6666666666666665,
71
+ "grad_norm": 0.8971414566040039,
72
+ "learning_rate": 0.0005,
73
+ "loss": 0.9141,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 2.997333333333333,
78
+ "eval_accuracy": 0.5657435897435897,
79
+ "eval_loss": 1.831854224205017,
80
+ "eval_runtime": 4.9933,
81
+ "eval_samples_per_second": 100.134,
82
+ "eval_steps_per_second": 12.617,
83
+ "step": 562
84
+ },
85
+ {
86
+ "epoch": 2.997333333333333,
87
+ "eval_exact_match": 16.0,
88
+ "eval_f1": 23.940000000000012,
89
+ "step": 562
90
+ },
91
+ {
92
+ "epoch": 3.2,
93
+ "grad_norm": 0.7627168297767639,
94
+ "learning_rate": 0.0005,
95
+ "loss": 0.8634,
96
+ "step": 600
97
+ },
98
+ {
99
+ "epoch": 3.7333333333333334,
100
+ "grad_norm": 0.7384397387504578,
101
+ "learning_rate": 0.0005,
102
+ "loss": 0.7223,
103
+ "step": 700
104
+ },
105
+ {
106
+ "epoch": 4.0,
107
+ "eval_accuracy": 0.5637948717948718,
108
+ "eval_loss": 1.9418420791625977,
109
+ "eval_runtime": 5.3476,
110
+ "eval_samples_per_second": 93.499,
111
+ "eval_steps_per_second": 11.781,
112
+ "step": 750
113
+ },
114
+ {
115
+ "epoch": 4.0,
116
+ "eval_exact_match": 16.6,
117
+ "eval_f1": 24.14476190476191,
118
+ "step": 750
119
+ },
120
+ {
121
+ "epoch": 4.266666666666667,
122
+ "grad_norm": 0.7065069079399109,
123
+ "learning_rate": 0.0005,
124
+ "loss": 0.6786,
125
+ "step": 800
126
+ },
127
+ {
128
+ "epoch": 4.8,
129
+ "grad_norm": 0.7625908851623535,
130
+ "learning_rate": 0.0005,
131
+ "loss": 0.6434,
132
+ "step": 900
133
+ },
134
+ {
135
+ "epoch": 4.997333333333334,
136
+ "eval_accuracy": 0.5602051282051282,
137
+ "eval_loss": 2.093710422515869,
138
+ "eval_runtime": 5.1796,
139
+ "eval_samples_per_second": 96.532,
140
+ "eval_steps_per_second": 12.163,
141
+ "step": 937
142
+ },
143
+ {
144
+ "epoch": 4.997333333333334,
145
+ "eval_exact_match": 17.2,
146
+ "eval_f1": 24.822857142857156,
147
+ "step": 937
148
+ }
149
+ ],
150
+ "logging_steps": 100,
151
+ "max_steps": 9350,
152
+ "num_input_tokens_seen": 0,
153
+ "num_train_epochs": 50,
154
+ "save_steps": 500,
155
+ "stateful_callbacks": {
156
+ "TrainerControl": {
157
+ "args": {
158
+ "should_epoch_stop": false,
159
+ "should_evaluate": false,
160
+ "should_log": false,
161
+ "should_save": true,
162
+ "should_training_stop": false
163
+ },
164
+ "attributes": {}
165
+ }
166
+ },
167
+ "total_flos": 1.6327310860877824e+16,
168
+ "train_batch_size": 1,
169
+ "trial_name": null,
170
+ "trial_params": null
171
+ }
checkpoint-937/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2776615b5656a131d464a15a3d5283d9bdf82687bc8ffc8d243c778d1158123d
3
+ size 5304
checkpoint-937/vocab.json ADDED
The diff for this file is too large to render. See raw diff