tyzhu commited on
Commit
51c3dc3
1 Parent(s): 33781fc

Training in progress, epoch 4, checkpoint

Browse files
checkpoint-750/adapter_config.json CHANGED
@@ -1,6 +1,6 @@
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,
 
1
  {
2
  "auto_mapping": null,
3
+ "base_model_name_or_path": "meta-llama/Llama-2-7b-hf",
4
  "bias": "none",
5
  "fan_in_fan_out": false,
6
  "inference_mode": true,
checkpoint-750/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdac80a4b236aa6d2e58c540a5592273aa1cd40b43e3391832db8c2d7780870b
3
+ size 143269386
checkpoint-750/added_tokens.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "<|endoftext|>": 151643,
3
- "<|im_end|>": 151645,
4
- "<|im_start|>": 151644
5
  }
 
1
  {
2
+ "</s>": 2,
3
+ "<s>": 1,
4
+ "<unk>": 0
5
  }
checkpoint-750/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:976a1635527bb270539540c376779e80bb11dd41dadaf0b0c58bca900c16acfd
3
- size 224537202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01fc4bb41d43a745d47ea0b0b2a13f50f786abe5b5096f2cd383f330d54acc18
3
+ size 286585234
checkpoint-750/rng_state_0.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cbc8826bd8a7ee6da4086b20d9c3a195a313aed6db981f416b67480db1c92675
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1343a59a439f253fe48b99999fb8537b6d06242509e0d509163818ae5bf2bc2
3
  size 15024
checkpoint-750/rng_state_1.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c64d26d8cc865ea30b2fc81c3587053bb2270ca0b8fcb0ba2746af1df9f3d62
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24cfb558af34f22a9e52f4f2aaae9d920ccdbeec20a464651d9689d2e925afec
3
  size 15024
checkpoint-750/rng_state_2.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:25938f1db49007b2c7a2940aad3d0920646376b5e3462044bde859bd66667a38
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b414cd5fda9ad9e37ada1f8ea35f0ecbf96f9d565ebfab02f762f605487ad25
3
  size 15024
checkpoint-750/rng_state_3.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:51661144f2bed26df638a7a5d0a635b459e7ec66978d436d9381c08d10ed6b75
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4788dcfa0d92a7e4d8c3c3618302077a14a99ff4960540f7a91e3ae0d4e5ae65
3
  size 15024
checkpoint-750/special_tokens_map.json CHANGED
@@ -1,14 +1,6 @@
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
  }
 
1
  {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "pad_token": "</s>",
5
+ "unk_token": "<unk>"
 
 
 
 
 
 
 
 
6
  }
checkpoint-750/tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
checkpoint-750/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-750/tokenizer_config.json CHANGED
@@ -1,24 +1,23 @@
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,
@@ -26,18 +25,16 @@
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
  }
 
1
  {
 
2
  "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
+ "1": {
12
+ "content": "<s>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
+ "2": {
20
+ "content": "</s>",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
 
25
  "special": true
26
  }
27
  },
28
+ "additional_special_tokens": [],
29
+ "bos_token": "<s>",
 
 
 
 
30
  "clean_up_tokenization_spaces": false,
31
+ "eos_token": "</s>",
32
+ "legacy": false,
33
+ "model_max_length": 1000000000000000019884624838656,
34
+ "pad_token": "</s>",
35
+ "padding_side": "left",
36
+ "sp_model_kwargs": {},
37
+ "tokenizer_class": "LlamaTokenizer",
38
+ "unk_token": "<unk>",
39
+ "use_default_system_prompt": true
40
  }
checkpoint-750/trainer_state.json CHANGED
@@ -9,150 +9,129 @@
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
- "epoch": 0.5333333333333333,
13
- "grad_norm": 0.2081739604473114,
14
  "learning_rate": 0.0005,
15
- "loss": 1.7461,
16
  "step": 100
17
  },
18
  {
19
- "epoch": 0.9973333333333333,
20
- "eval_accuracy": 0.6093004484304932,
21
- "eval_loss": 1.6695144176483154,
22
- "eval_runtime": 6.0389,
23
- "eval_samples_per_second": 82.796,
24
- "eval_steps_per_second": 10.432,
25
  "step": 187
26
  },
27
  {
28
- "epoch": 0.9973333333333333,
29
- "eval_exact_match": 15.8,
30
- "eval_f1": 24.64418803418805,
31
- "eval_qa_bleu": 12.64258947770803,
32
- "eval_qa_exact_match": 0.116,
33
- "eval_recite_bleu": 12.676034356605994,
34
  "eval_recite_exact_match": 0.002,
35
  "step": 187
36
  },
37
  {
38
- "epoch": 1.0666666666666667,
39
- "grad_norm": 0.2944607138633728,
40
  "learning_rate": 0.0005,
41
- "loss": 1.6853,
42
  "step": 200
43
  },
44
  {
45
  "epoch": 1.6,
46
- "grad_norm": 0.40688613057136536,
47
  "learning_rate": 0.0005,
48
- "loss": 1.4286,
49
  "step": 300
50
  },
51
  {
52
  "epoch": 2.0,
53
- "eval_accuracy": 0.6086547085201793,
54
- "eval_loss": 1.6994106769561768,
55
- "eval_runtime": 6.3284,
56
- "eval_samples_per_second": 79.009,
57
- "eval_steps_per_second": 9.955,
58
  "step": 375
59
  },
60
  {
61
  "epoch": 2.0,
62
- "eval_exact_match": 13.6,
63
- "eval_f1": 22.022914862914874,
64
- "eval_qa_bleu": 11.191170451488254,
65
- "eval_qa_exact_match": 0.098,
66
- "eval_recite_bleu": 13.062440471503999,
67
  "eval_recite_exact_match": 0.008,
68
  "step": 375
69
  },
70
  {
71
- "epoch": 2.1333333333333333,
72
- "grad_norm": 0.4661327600479126,
73
  "learning_rate": 0.0005,
74
- "loss": 1.3391,
75
  "step": 400
76
  },
77
  {
78
- "epoch": 2.6666666666666665,
79
- "grad_norm": 0.5310370326042175,
80
  "learning_rate": 0.0005,
81
- "loss": 1.0309,
82
  "step": 500
83
  },
84
  {
85
- "epoch": 2.997333333333333,
86
- "eval_accuracy": 0.6053452914798206,
87
- "eval_loss": 1.812237024307251,
88
- "eval_runtime": 5.6113,
89
- "eval_samples_per_second": 89.107,
90
- "eval_steps_per_second": 11.227,
91
  "step": 562
92
  },
93
  {
94
- "epoch": 2.997333333333333,
95
- "eval_exact_match": 12.8,
96
- "eval_f1": 21.852727272727286,
97
- "eval_qa_bleu": 11.536967687478375,
98
- "eval_qa_exact_match": 0.1,
99
- "eval_recite_bleu": 13.977710455440388,
100
- "eval_recite_exact_match": 0.008,
101
  "step": 562
102
  },
103
  {
104
  "epoch": 3.2,
105
- "grad_norm": 0.5991603136062622,
106
  "learning_rate": 0.0005,
107
- "loss": 0.9162,
108
  "step": 600
109
  },
110
  {
111
- "epoch": 3.7333333333333334,
112
- "grad_norm": 0.5921025276184082,
113
  "learning_rate": 0.0005,
114
- "loss": 0.7019,
115
  "step": 700
116
  },
117
  {
118
  "epoch": 4.0,
119
- "eval_accuracy": 0.5989417040358744,
120
- "eval_loss": 1.974912166595459,
121
- "eval_runtime": 6.3058,
122
- "eval_samples_per_second": 79.292,
123
- "eval_steps_per_second": 9.991,
124
  "step": 750
125
  },
126
  {
127
  "epoch": 4.0,
128
- "eval_exact_match": 10.8,
129
- "eval_f1": 18.718571428571437,
130
- "eval_qa_bleu": 8.547340405175287,
131
- "eval_qa_exact_match": 0.088,
132
- "eval_recite_bleu": 13.524416242106161,
133
- "eval_recite_exact_match": 0.018,
134
  "step": 750
135
  }
136
  ],
137
  "logging_steps": 100,
138
  "max_steps": 9350,
139
- "num_input_tokens_seen": 0,
140
  "num_train_epochs": 50,
141
  "save_steps": 500,
142
- "stateful_callbacks": {
143
- "TrainerControl": {
144
- "args": {
145
- "should_epoch_stop": false,
146
- "should_evaluate": false,
147
- "should_log": false,
148
- "should_save": true,
149
- "should_training_stop": false
150
- },
151
- "attributes": {}
152
- }
153
- },
154
- "total_flos": 7.554618176097485e+16,
155
- "train_batch_size": 1,
156
  "trial_name": null,
157
  "trial_params": null
158
  }
 
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
+ "epoch": 0.53,
 
13
  "learning_rate": 0.0005,
14
+ "loss": 1.2462,
15
  "step": 100
16
  },
17
  {
18
+ "epoch": 1.0,
19
+ "eval_accuracy": 0.6696470588235294,
20
+ "eval_loss": 1.1816030740737915,
21
+ "eval_runtime": 7.5359,
22
+ "eval_samples_per_second": 66.349,
23
+ "eval_steps_per_second": 8.36,
24
  "step": 187
25
  },
26
  {
27
+ "epoch": 1.0,
28
+ "eval_exact_match": 28.8,
29
+ "eval_f1": 38.19841269841268,
30
+ "eval_qa_bleu": 24.052327144564227,
31
+ "eval_qa_exact_match": 0.216,
32
+ "eval_recite_bleu": 16.828353493471358,
33
  "eval_recite_exact_match": 0.002,
34
  "step": 187
35
  },
36
  {
37
+ "epoch": 1.07,
 
38
  "learning_rate": 0.0005,
39
+ "loss": 1.1798,
40
  "step": 200
41
  },
42
  {
43
  "epoch": 1.6,
 
44
  "learning_rate": 0.0005,
45
+ "loss": 0.9978,
46
  "step": 300
47
  },
48
  {
49
  "epoch": 2.0,
50
+ "eval_accuracy": 0.6694823529411764,
51
+ "eval_loss": 1.196727991104126,
52
+ "eval_runtime": 6.6634,
53
+ "eval_samples_per_second": 75.037,
54
+ "eval_steps_per_second": 9.455,
55
  "step": 375
56
  },
57
  {
58
  "epoch": 2.0,
59
+ "eval_exact_match": 26.4,
60
+ "eval_f1": 35.01285714285714,
61
+ "eval_qa_bleu": 22.554598366442242,
62
+ "eval_qa_exact_match": 0.202,
63
+ "eval_recite_bleu": 16.66380860754827,
64
  "eval_recite_exact_match": 0.008,
65
  "step": 375
66
  },
67
  {
68
+ "epoch": 2.13,
 
69
  "learning_rate": 0.0005,
70
+ "loss": 0.8986,
71
  "step": 400
72
  },
73
  {
74
+ "epoch": 2.67,
 
75
  "learning_rate": 0.0005,
76
+ "loss": 0.6981,
77
  "step": 500
78
  },
79
  {
80
+ "epoch": 3.0,
81
+ "eval_accuracy": 0.6646196078431372,
82
+ "eval_loss": 1.2825865745544434,
83
+ "eval_runtime": 6.6803,
84
+ "eval_samples_per_second": 74.847,
85
+ "eval_steps_per_second": 9.431,
86
  "step": 562
87
  },
88
  {
89
+ "epoch": 3.0,
90
+ "eval_exact_match": 25.6,
91
+ "eval_f1": 34.62047619047618,
92
+ "eval_qa_bleu": 19.019126060056248,
93
+ "eval_qa_exact_match": 0.202,
94
+ "eval_recite_bleu": 15.866754500529721,
95
+ "eval_recite_exact_match": 0.01,
96
  "step": 562
97
  },
98
  {
99
  "epoch": 3.2,
 
100
  "learning_rate": 0.0005,
101
+ "loss": 0.6066,
102
  "step": 600
103
  },
104
  {
105
+ "epoch": 3.73,
 
106
  "learning_rate": 0.0005,
107
+ "loss": 0.437,
108
  "step": 700
109
  },
110
  {
111
  "epoch": 4.0,
112
+ "eval_accuracy": 0.6590431372549019,
113
+ "eval_loss": 1.4432497024536133,
114
+ "eval_runtime": 7.5594,
115
+ "eval_samples_per_second": 66.143,
116
+ "eval_steps_per_second": 8.334,
117
  "step": 750
118
  },
119
  {
120
  "epoch": 4.0,
121
+ "eval_exact_match": 24.2,
122
+ "eval_f1": 32.56015873015873,
123
+ "eval_qa_bleu": 20.289142380706163,
124
+ "eval_qa_exact_match": 0.182,
125
+ "eval_recite_bleu": 17.190963877015893,
126
+ "eval_recite_exact_match": 0.022,
127
  "step": 750
128
  }
129
  ],
130
  "logging_steps": 100,
131
  "max_steps": 9350,
 
132
  "num_train_epochs": 50,
133
  "save_steps": 500,
134
+ "total_flos": 1.738045862539428e+17,
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  "trial_name": null,
136
  "trial_params": null
137
  }
checkpoint-750/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b6061b8d6135a3f759c6b956a7afa194ea4a0f719fc2e4eb293c4d6c15c2590
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a28079dc7535e79a5e324b19b9af4575c5cbbdcf35a6916d09f5d38aff3423a1
3
+ size 4728