tyzhu commited on
Commit
0e3e87e
1 Parent(s): dcba984

Training in progress, epoch 4, checkpoint

Browse files
checkpoint-1000/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-1000/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86bcd9979f963240a310aa7e8757a3c015b239d245db0cc5d4381d7e2d12a016
3
+ size 143269386
checkpoint-1000/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-1000/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7e6b3bc00333eaf1b7163fd9d220b294de1f8b98a553f3570dec0373d32786bb
3
- size 224537202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecabe81b965c4eb2e5dfa5cc61f6ff056342d33863a768a2c8beccb97031b620
3
+ size 286585234
checkpoint-1000/rng_state_0.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d1f089b51880c941b0830e595572f9d4a0e92453591069300dfd1d7ba443dd91
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80d580106a94ff51b4464131ecf7aeb08ad891f5ba99ebe6706c517c90e42d12
3
  size 15024
checkpoint-1000/rng_state_1.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f38308e9fe17313678fb8d04c3ab733f604761d6ab97100b2b4a7d3703c44a8
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48ef8d9554160d34f440332128ae6f6a74ab272c580427fd362b2f0ef0b4fdf0
3
  size 15024
checkpoint-1000/rng_state_2.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:490f004293653e9127cb9d023b13d100d3f9ab2b8691d6c241522e7aafd0dfe0
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a0aca32426c9b61cbee71e27099048e1a83630bedf679131bd62851374e9875
3
  size 15024
checkpoint-1000/rng_state_3.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:34be22f0d112554bfdd143a68d85750d6d5ddde5d3f41f6aa34496afb97a8288
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d98697f5a9a7a58fc12191f60329c050f6a126e9ad30c6708e9d8edf90323f90
3
  size 15024
checkpoint-1000/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-1000/tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
checkpoint-1000/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-1000/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-1000/trainer_state.json CHANGED
@@ -10,154 +10,130 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.4,
13
- "grad_norm": 0.6831097602844238,
14
  "learning_rate": 3e-05,
15
- "loss": 2.487,
16
  "step": 100
17
  },
18
  {
19
  "epoch": 0.8,
20
- "grad_norm": 0.7073227763175964,
21
  "learning_rate": 3e-05,
22
- "loss": 2.276,
23
  "step": 200
24
  },
25
  {
26
  "epoch": 1.0,
27
- "eval_accuracy": 0.5134285714285715,
28
- "eval_loss": 2.3502681255340576,
29
- "eval_runtime": 5.2185,
30
- "eval_samples_per_second": 95.812,
31
- "eval_steps_per_second": 12.072,
32
  "step": 250
33
  },
34
  {
35
  "epoch": 1.0,
36
- "eval_exact_match": 17.0,
37
- "eval_f1": 24.54219480519481,
38
  "step": 250
39
  },
40
  {
41
  "epoch": 1.2,
42
- "grad_norm": 0.820932149887085,
43
  "learning_rate": 3e-05,
44
- "loss": 2.2479,
45
  "step": 300
46
  },
47
  {
48
  "epoch": 1.6,
49
- "grad_norm": 0.9243379831314087,
50
  "learning_rate": 3e-05,
51
- "loss": 2.2237,
52
  "step": 400
53
  },
54
  {
55
  "epoch": 2.0,
56
- "grad_norm": 0.8742844462394714,
57
  "learning_rate": 3e-05,
58
- "loss": 2.1973,
59
  "step": 500
60
  },
61
  {
62
  "epoch": 2.0,
63
- "eval_accuracy": 0.5151746031746032,
64
- "eval_loss": 2.330955743789673,
65
- "eval_runtime": 5.5478,
66
- "eval_samples_per_second": 90.125,
67
- "eval_steps_per_second": 11.356,
68
  "step": 500
69
  },
70
  {
71
  "epoch": 2.0,
72
- "eval_exact_match": 16.2,
73
- "eval_f1": 24.397655122655127,
74
  "step": 500
75
  },
76
  {
77
  "epoch": 2.4,
78
- "grad_norm": 1.034700632095337,
79
  "learning_rate": 3e-05,
80
- "loss": 2.1295,
81
  "step": 600
82
  },
83
  {
84
  "epoch": 2.8,
85
- "grad_norm": 1.130967617034912,
86
  "learning_rate": 3e-05,
87
- "loss": 2.1128,
88
  "step": 700
89
  },
90
  {
91
  "epoch": 3.0,
92
- "eval_accuracy": 0.516095238095238,
93
- "eval_loss": 2.3357651233673096,
94
- "eval_runtime": 5.8761,
95
- "eval_samples_per_second": 85.091,
96
- "eval_steps_per_second": 10.721,
97
  "step": 750
98
  },
99
  {
100
  "epoch": 3.0,
101
- "eval_exact_match": 19.0,
102
- "eval_f1": 26.202922077922086,
103
  "step": 750
104
  },
105
  {
106
  "epoch": 3.2,
107
- "grad_norm": 1.4410409927368164,
108
  "learning_rate": 3e-05,
109
- "loss": 2.0768,
110
  "step": 800
111
  },
112
  {
113
  "epoch": 3.6,
114
- "grad_norm": 1.5838419198989868,
115
  "learning_rate": 3e-05,
116
- "loss": 2.0139,
117
  "step": 900
118
  },
119
  {
120
  "epoch": 4.0,
121
- "grad_norm": 1.824843406677246,
122
  "learning_rate": 3e-05,
123
- "loss": 2.0165,
124
  "step": 1000
125
  },
126
  {
127
  "epoch": 4.0,
128
- "eval_accuracy": 0.5151746031746032,
129
- "eval_loss": 2.355579376220703,
130
- "eval_runtime": 5.1124,
131
- "eval_samples_per_second": 97.801,
132
- "eval_steps_per_second": 12.323,
133
  "step": 1000
134
  },
135
  {
136
  "epoch": 4.0,
137
- "eval_exact_match": 19.0,
138
- "eval_f1": 26.60538961038962,
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
  }
 
10
  "log_history": [
11
  {
12
  "epoch": 0.4,
 
13
  "learning_rate": 3e-05,
14
+ "loss": 2.3698,
15
  "step": 100
16
  },
17
  {
18
  "epoch": 0.8,
 
19
  "learning_rate": 3e-05,
20
+ "loss": 1.8255,
21
  "step": 200
22
  },
23
  {
24
  "epoch": 1.0,
25
+ "eval_accuracy": 0.6054430379746836,
26
+ "eval_loss": 1.83919358253479,
27
+ "eval_runtime": 4.687,
28
+ "eval_samples_per_second": 106.679,
29
+ "eval_steps_per_second": 13.442,
30
  "step": 250
31
  },
32
  {
33
  "epoch": 1.0,
34
+ "eval_exact_match": 25.2,
35
+ "eval_f1": 34.656485532011864,
36
  "step": 250
37
  },
38
  {
39
  "epoch": 1.2,
 
40
  "learning_rate": 3e-05,
41
+ "loss": 1.7843,
42
  "step": 300
43
  },
44
  {
45
  "epoch": 1.6,
 
46
  "learning_rate": 3e-05,
47
+ "loss": 1.7546,
48
  "step": 400
49
  },
50
  {
51
  "epoch": 2.0,
 
52
  "learning_rate": 3e-05,
53
+ "loss": 1.7368,
54
  "step": 500
55
  },
56
  {
57
  "epoch": 2.0,
58
+ "eval_accuracy": 0.6078227848101266,
59
+ "eval_loss": 1.81111478805542,
60
+ "eval_runtime": 4.6445,
61
+ "eval_samples_per_second": 107.654,
62
+ "eval_steps_per_second": 13.564,
63
  "step": 500
64
  },
65
  {
66
  "epoch": 2.0,
67
+ "eval_exact_match": 26.0,
68
+ "eval_f1": 35.86535000087634,
69
  "step": 500
70
  },
71
  {
72
  "epoch": 2.4,
 
73
  "learning_rate": 3e-05,
74
+ "loss": 1.6749,
75
  "step": 600
76
  },
77
  {
78
  "epoch": 2.8,
 
79
  "learning_rate": 3e-05,
80
+ "loss": 1.6689,
81
  "step": 700
82
  },
83
  {
84
  "epoch": 3.0,
85
+ "eval_accuracy": 0.607493670886076,
86
+ "eval_loss": 1.8103100061416626,
87
+ "eval_runtime": 4.7447,
88
+ "eval_samples_per_second": 105.381,
89
+ "eval_steps_per_second": 13.278,
90
  "step": 750
91
  },
92
  {
93
  "epoch": 3.0,
94
+ "eval_exact_match": 23.6,
95
+ "eval_f1": 33.977337662337675,
96
  "step": 750
97
  },
98
  {
99
  "epoch": 3.2,
 
100
  "learning_rate": 3e-05,
101
+ "loss": 1.6205,
102
  "step": 800
103
  },
104
  {
105
  "epoch": 3.6,
 
106
  "learning_rate": 3e-05,
107
+ "loss": 1.556,
108
  "step": 900
109
  },
110
  {
111
  "epoch": 4.0,
 
112
  "learning_rate": 3e-05,
113
+ "loss": 1.5555,
114
  "step": 1000
115
  },
116
  {
117
  "epoch": 4.0,
118
+ "eval_accuracy": 0.6067341772151899,
119
+ "eval_loss": 1.8414338827133179,
120
+ "eval_runtime": 5.1526,
121
+ "eval_samples_per_second": 97.039,
122
+ "eval_steps_per_second": 12.227,
123
  "step": 1000
124
  },
125
  {
126
  "epoch": 4.0,
127
+ "eval_exact_match": 24.6,
128
+ "eval_f1": 35.02336940836942,
129
  "step": 1000
130
  }
131
  ],
132
  "logging_steps": 100,
133
  "max_steps": 12500,
 
134
  "num_train_epochs": 50,
135
  "save_steps": 500,
136
+ "total_flos": 6.387796330885939e+16,
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  "trial_name": null,
138
  "trial_params": null
139
  }
checkpoint-1000/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:76141cb7041782161f7695865881a4df3a03be3731ae75640f405be3a5a6f23d
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b708b99b821bdf687ebed6196095d1415f662e1088452054a7df6a8e9ebd3c3f
3
+ size 4728