tyzhu commited on
Commit
f46bd98
·
verified ·
1 Parent(s): 36848e0

Training in progress, epoch 4, checkpoint

Browse files
checkpoint-1000/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-1000/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-1000/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a31854a0b0f9358f71cbfdb6ee2268b19f960e8b40a276e32848df4ec080a0a
3
+ size 112130416
checkpoint-1000/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
checkpoint-1000/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a90e8d4cd636ceae23b9159a9fe70b7b288bc6f4a738c908bd8b3ea959cc540
3
+ size 224537202
checkpoint-1000/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1f089b51880c941b0830e595572f9d4a0e92453591069300dfd1d7ba443dd91
3
+ size 15024
checkpoint-1000/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f38308e9fe17313678fb8d04c3ab733f604761d6ab97100b2b4a7d3703c44a8
3
+ size 15024
checkpoint-1000/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:490f004293653e9127cb9d023b13d100d3f9ab2b8691d6c241522e7aafd0dfe0
3
+ size 15024
checkpoint-1000/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34be22f0d112554bfdd143a68d85750d6d5ddde5d3f41f6aa34496afb97a8288
3
+ size 15024
checkpoint-1000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:016164c1868d1353a972df97439a4a6f6ad10c19164c770b2c7d8301f524b82a
3
+ size 1064
checkpoint-1000/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-1000/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1000/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-1000/trainer_state.json ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1000,
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.4,
13
+ "grad_norm": 0.5897082090377808,
14
+ "learning_rate": 0.0001,
15
+ "loss": 2.3566,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.8,
20
+ "grad_norm": 0.5390245914459229,
21
+ "learning_rate": 0.0001,
22
+ "loss": 2.2503,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.5155873015873016,
28
+ "eval_loss": 2.3237216472625732,
29
+ "eval_runtime": 6.3164,
30
+ "eval_samples_per_second": 79.159,
31
+ "eval_steps_per_second": 9.974,
32
+ "step": 250
33
+ },
34
+ {
35
+ "epoch": 1.0,
36
+ "eval_exact_match": 17.2,
37
+ "eval_f1": 25.586581359816655,
38
+ "step": 250
39
+ },
40
+ {
41
+ "epoch": 1.2,
42
+ "grad_norm": 0.7468857169151306,
43
+ "learning_rate": 0.0001,
44
+ "loss": 2.1798,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 1.6,
49
+ "grad_norm": 0.9109599590301514,
50
+ "learning_rate": 0.0001,
51
+ "loss": 2.1094,
52
+ "step": 400
53
+ },
54
+ {
55
+ "epoch": 2.0,
56
+ "grad_norm": 0.8458774089813232,
57
+ "learning_rate": 0.0001,
58
+ "loss": 2.087,
59
+ "step": 500
60
+ },
61
+ {
62
+ "epoch": 2.0,
63
+ "eval_accuracy": 0.5163809523809524,
64
+ "eval_loss": 2.3309242725372314,
65
+ "eval_runtime": 5.1896,
66
+ "eval_samples_per_second": 96.347,
67
+ "eval_steps_per_second": 12.14,
68
+ "step": 500
69
+ },
70
+ {
71
+ "epoch": 2.0,
72
+ "eval_exact_match": 18.6,
73
+ "eval_f1": 26.043196248196264,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 2.4,
78
+ "grad_norm": 1.171212077140808,
79
+ "learning_rate": 0.0001,
80
+ "loss": 1.8413,
81
+ "step": 600
82
+ },
83
+ {
84
+ "epoch": 2.8,
85
+ "grad_norm": 1.1294909715652466,
86
+ "learning_rate": 0.0001,
87
+ "loss": 1.849,
88
+ "step": 700
89
+ },
90
+ {
91
+ "epoch": 3.0,
92
+ "eval_accuracy": 0.5144761904761905,
93
+ "eval_loss": 2.401942253112793,
94
+ "eval_runtime": 5.5775,
95
+ "eval_samples_per_second": 89.646,
96
+ "eval_steps_per_second": 11.295,
97
+ "step": 750
98
+ },
99
+ {
100
+ "epoch": 3.0,
101
+ "eval_exact_match": 18.4,
102
+ "eval_f1": 26.966370002546494,
103
+ "step": 750
104
+ },
105
+ {
106
+ "epoch": 3.2,
107
+ "grad_norm": 1.5013824701309204,
108
+ "learning_rate": 0.0001,
109
+ "loss": 1.7322,
110
+ "step": 800
111
+ },
112
+ {
113
+ "epoch": 3.6,
114
+ "grad_norm": 1.4516321420669556,
115
+ "learning_rate": 0.0001,
116
+ "loss": 1.5908,
117
+ "step": 900
118
+ },
119
+ {
120
+ "epoch": 4.0,
121
+ "grad_norm": 1.6037466526031494,
122
+ "learning_rate": 0.0001,
123
+ "loss": 1.6193,
124
+ "step": 1000
125
+ },
126
+ {
127
+ "epoch": 4.0,
128
+ "eval_accuracy": 0.5103809523809524,
129
+ "eval_loss": 2.5039021968841553,
130
+ "eval_runtime": 5.1568,
131
+ "eval_samples_per_second": 96.96,
132
+ "eval_steps_per_second": 12.217,
133
+ "step": 1000
134
+ },
135
+ {
136
+ "epoch": 4.0,
137
+ "eval_exact_match": 18.4,
138
+ "eval_f1": 26.892813852813866,
139
+ "step": 1000
140
+ }
141
+ ],
142
+ "logging_steps": 100,
143
+ "max_steps": 12500,
144
+ "num_input_tokens_seen": 0,
145
+ "num_train_epochs": 50,
146
+ "save_steps": 500,
147
+ "stateful_callbacks": {
148
+ "TrainerControl": {
149
+ "args": {
150
+ "should_epoch_stop": false,
151
+ "should_evaluate": false,
152
+ "should_log": false,
153
+ "should_save": true,
154
+ "should_training_stop": false
155
+ },
156
+ "attributes": {}
157
+ }
158
+ },
159
+ "total_flos": 3.056884776121139e+16,
160
+ "train_batch_size": 2,
161
+ "trial_name": null,
162
+ "trial_params": null
163
+ }
checkpoint-1000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3414153f69372b550d629c900d05ab7510b14d218f2d8546142e7b41d948d3e
3
+ size 5304
checkpoint-1000/vocab.json ADDED
The diff for this file is too large to render. See raw diff