ocean010315 commited on
Commit
2f75d2c
1 Parent(s): 45a35c5

fix: model epoch=2

Browse files
README.md CHANGED
@@ -9,7 +9,7 @@ tags:
9
  ---
10
 
11
  ### Config
12
- - epoch = 1
13
  - learning_rate = 1e-5
14
  - batch_size = 16
15
 
@@ -17,4 +17,4 @@ tags:
17
  - V100(RAM 32GB)
18
 
19
  ### Validation Result
20
- - epoch = 1: `EM` 88.1191, `F1` 92.8047
 
9
  ---
10
 
11
  ### Config
12
+ - epoch = 2
13
  - learning_rate = 1e-5
14
  - batch_size = 16
15
 
 
17
  - V100(RAM 32GB)
18
 
19
  ### Validation Result
20
+ - epoch = 2: `EM` 88.1538, `F1` 92.7980
all_results.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
- "epoch": 1.0,
3
  "eval_samples": 6865,
4
- "exact_match": 88.11915483200555,
5
- "f1": 92.80469400706696,
6
- "total_flos": 4.801972373497037e+16,
7
- "train_loss": 0.6182623529500156,
8
- "train_runtime": 1876.03,
9
  "train_samples": 69399,
10
- "train_samples_per_second": 36.992,
11
- "train_steps_per_second": 2.312
12
  }
 
1
  {
2
+ "epoch": 2.0,
3
  "eval_samples": 6865,
4
+ "exact_match": 88.15379286456529,
5
+ "f1": 92.79799359581472,
6
+ "total_flos": 9.602043799869562e+16,
7
+ "train_loss": 0.42129573760465744,
8
+ "train_runtime": 3759.5481,
9
  "train_samples": 69399,
10
+ "train_samples_per_second": 36.919,
11
+ "train_steps_per_second": 2.308
12
  }
config.json CHANGED
@@ -26,4 +26,4 @@
26
  "type_vocab_size": 1,
27
  "use_cache": true,
28
  "vocab_size": 32000
29
- }
 
26
  "type_vocab_size": 1,
27
  "use_cache": true,
28
  "vocab_size": 32000
29
+ }
eval_results.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "epoch": 1.0,
3
  "eval_samples": 6865,
4
- "exact_match": 88.11915483200555,
5
- "f1": 92.80469400706696
6
  }
 
1
  {
2
+ "epoch": 2.0,
3
  "eval_samples": 6865,
4
+ "exact_match": 88.15379286456529,
5
+ "f1": 92.79799359581472
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0aa4d93967c0fc1ccae387f0a6872064382ede5aa14747558fb53e198dec306c
3
  size 1342483296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b55bdfc6c8ccc6a11aa3b8971474ba9b69ade8fbbf5f466808de1a7d8b3b1d2e
3
  size 1342483296
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 1.0,
3
- "total_flos": 4.801972373497037e+16,
4
- "train_loss": 0.6182623529500156,
5
- "train_runtime": 1876.03,
6
  "train_samples": 69399,
7
- "train_samples_per_second": 36.992,
8
- "train_steps_per_second": 2.312
9
  }
 
1
  {
2
+ "epoch": 2.0,
3
+ "total_flos": 9.602043799869562e+16,
4
+ "train_loss": 0.42129573760465744,
5
+ "train_runtime": 3759.5481,
6
  "train_samples": 69399,
7
+ "train_samples_per_second": 36.919,
8
+ "train_steps_per_second": 2.308
9
  }
train_results.txt CHANGED
@@ -1,7 +1,7 @@
1
- epoch = 1.0
2
- total_flos = 4.801972373497037e+16
3
- train_loss = 0.6182623529500156
4
- train_runtime = 1876.03
5
  train_samples = 69399
6
- train_samples_per_second = 36.992
7
- train_steps_per_second = 2.312
 
1
+ epoch = 2.0
2
+ total_flos = 9.602043799869562e+16
3
+ train_loss = 0.42129573760465744
4
+ train_runtime = 3759.5481
5
  train_samples = 69399
6
+ train_samples_per_second = 36.919
7
+ train_steps_per_second = 2.308
trainer_state.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
- "epoch": 1.0,
5
  "eval_steps": 50,
6
- "global_step": 4338,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
@@ -17,67 +17,130 @@
17
  },
18
  {
19
  "epoch": 0.23052097740894423,
20
- "grad_norm": 16.672468185424805,
21
- "learning_rate": 8.705054715997916e-06,
22
- "loss": 0.5451,
23
  "step": 1000
24
  },
25
  {
26
  "epoch": 0.3457814661134163,
27
- "grad_norm": 11.151906967163086,
28
- "learning_rate": 7.402292860865034e-06,
29
- "loss": 0.4302,
30
  "step": 1500
31
  },
32
  {
33
  "epoch": 0.46104195481788846,
34
- "grad_norm": 7.392632961273193,
35
- "learning_rate": 6.099531005732152e-06,
36
- "loss": 0.3772,
37
  "step": 2000
38
  },
39
  {
40
  "epoch": 0.5763024435223605,
41
- "grad_norm": 6.710408687591553,
42
- "learning_rate": 4.796769150599271e-06,
43
- "loss": 0.3742,
44
  "step": 2500
45
  },
46
  {
47
  "epoch": 0.6915629322268326,
48
- "grad_norm": 8.172633171081543,
49
- "learning_rate": 3.494007295466389e-06,
50
- "loss": 0.3518,
51
  "step": 3000
52
  },
53
  {
54
  "epoch": 0.8068234209313048,
55
- "grad_norm": 5.664760112762451,
56
- "learning_rate": 2.1912454403335073e-06,
57
- "loss": 0.3619,
58
  "step": 3500
59
  },
60
  {
61
  "epoch": 0.9220839096357769,
62
- "grad_norm": 16.45347785949707,
63
- "learning_rate": 8.884835852006255e-07,
64
- "loss": 0.3293,
65
  "step": 4000
66
  },
67
  {
68
- "epoch": 1.0,
69
- "step": 4338,
70
- "total_flos": 4.801972373497037e+16,
71
- "train_loss": 0.6182623529500156,
72
- "train_runtime": 1876.03,
73
- "train_samples_per_second": 36.992,
74
- "train_steps_per_second": 2.312
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  }
76
  ],
77
  "logging_steps": 500,
78
- "max_steps": 4338,
79
  "num_input_tokens_seen": 0,
80
- "num_train_epochs": 1,
81
  "save_steps": 500,
82
  "stateful_callbacks": {
83
  "TrainerControl": {
@@ -91,7 +154,7 @@
91
  "attributes": {}
92
  }
93
  },
94
- "total_flos": 4.801972373497037e+16,
95
  "train_batch_size": 16,
96
  "trial_name": null,
97
  "trial_params": null
 
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
+ "epoch": 2.0,
5
  "eval_steps": 50,
6
+ "global_step": 8676,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
 
17
  },
18
  {
19
  "epoch": 0.23052097740894423,
20
+ "grad_norm": 16.483428955078125,
21
+ "learning_rate": 9.393346379647749e-06,
22
+ "loss": 0.5479,
23
  "step": 1000
24
  },
25
  {
26
  "epoch": 0.3457814661134163,
27
+ "grad_norm": 13.152728080749512,
28
+ "learning_rate": 8.781800391389433e-06,
29
+ "loss": 0.4338,
30
  "step": 1500
31
  },
32
  {
33
  "epoch": 0.46104195481788846,
34
+ "grad_norm": 8.478280067443848,
35
+ "learning_rate": 8.170254403131116e-06,
36
+ "loss": 0.3804,
37
  "step": 2000
38
  },
39
  {
40
  "epoch": 0.5763024435223605,
41
+ "grad_norm": 7.399623870849609,
42
+ "learning_rate": 7.558708414872799e-06,
43
+ "loss": 0.3876,
44
  "step": 2500
45
  },
46
  {
47
  "epoch": 0.6915629322268326,
48
+ "grad_norm": 15.365309715270996,
49
+ "learning_rate": 6.947162426614482e-06,
50
+ "loss": 0.3612,
51
  "step": 3000
52
  },
53
  {
54
  "epoch": 0.8068234209313048,
55
+ "grad_norm": 5.001895427703857,
56
+ "learning_rate": 6.335616438356164e-06,
57
+ "loss": 0.3709,
58
  "step": 3500
59
  },
60
  {
61
  "epoch": 0.9220839096357769,
62
+ "grad_norm": 20.685277938842773,
63
+ "learning_rate": 5.7240704500978485e-06,
64
+ "loss": 0.3376,
65
  "step": 4000
66
  },
67
  {
68
+ "epoch": 1.037344398340249,
69
+ "grad_norm": 12.555818557739258,
70
+ "learning_rate": 5.112524461839531e-06,
71
+ "loss": 0.2983,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 1.152604887044721,
76
+ "grad_norm": 7.005858898162842,
77
+ "learning_rate": 4.502201565557731e-06,
78
+ "loss": 0.221,
79
+ "step": 5000
80
+ },
81
+ {
82
+ "epoch": 1.2678653757491931,
83
+ "grad_norm": 4.69966459274292,
84
+ "learning_rate": 3.890655577299413e-06,
85
+ "loss": 0.2095,
86
+ "step": 5500
87
+ },
88
+ {
89
+ "epoch": 1.3831258644536653,
90
+ "grad_norm": 24.06895637512207,
91
+ "learning_rate": 3.2791095890410964e-06,
92
+ "loss": 0.2292,
93
+ "step": 6000
94
+ },
95
+ {
96
+ "epoch": 1.4983863531581374,
97
+ "grad_norm": 9.91574764251709,
98
+ "learning_rate": 2.6675636007827793e-06,
99
+ "loss": 0.2304,
100
+ "step": 6500
101
+ },
102
+ {
103
+ "epoch": 1.6136468418626095,
104
+ "grad_norm": 3.978304862976074,
105
+ "learning_rate": 2.0560176125244623e-06,
106
+ "loss": 0.2102,
107
+ "step": 7000
108
+ },
109
+ {
110
+ "epoch": 1.7289073305670817,
111
+ "grad_norm": 8.447595596313477,
112
+ "learning_rate": 1.4469178082191781e-06,
113
+ "loss": 0.2171,
114
+ "step": 7500
115
+ },
116
+ {
117
+ "epoch": 1.8441678192715538,
118
+ "grad_norm": 3.0918211936950684,
119
+ "learning_rate": 8.353718199608611e-07,
120
+ "loss": 0.2166,
121
+ "step": 8000
122
+ },
123
+ {
124
+ "epoch": 1.959428307976026,
125
+ "grad_norm": 1.6782150268554688,
126
+ "learning_rate": 2.2382583170254403e-07,
127
+ "loss": 0.2146,
128
+ "step": 8500
129
+ },
130
+ {
131
+ "epoch": 2.0,
132
+ "step": 8676,
133
+ "total_flos": 9.602043799869562e+16,
134
+ "train_loss": 0.42129573760465744,
135
+ "train_runtime": 3759.5481,
136
+ "train_samples_per_second": 36.919,
137
+ "train_steps_per_second": 2.308
138
  }
139
  ],
140
  "logging_steps": 500,
141
+ "max_steps": 8676,
142
  "num_input_tokens_seen": 0,
143
+ "num_train_epochs": 2,
144
  "save_steps": 500,
145
  "stateful_callbacks": {
146
  "TrainerControl": {
 
154
  "attributes": {}
155
  }
156
  },
157
+ "total_flos": 9.602043799869562e+16,
158
  "train_batch_size": 16,
159
  "trial_name": null,
160
  "trial_params": null
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:79abd64a81d1628797e3b05d617cbcfd462e49d3557e35556bd00b2bfba490ec
3
- size 4731
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cba40d79a7093ceb2d9f9996f5cc89d2f076db111347670e9b43ca7a9fcaab95
3
+ size 4795