Safetensors
bert
File size: 5,477 Bytes
66a38ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
  "best_metric": 0.058695483952760696,
  "best_model_checkpoint": "/content/drive/MyDrive/dataset_for_research/ct_rate/data/ct_rate_jpn/model_output/tohoku_bert/checkpoint-9112",
  "epoch": 4.0,
  "eval_steps": 500,
  "global_step": 9112,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.21949078138718173,
      "grad_norm": 1.1410490274429321,
      "learning_rate": 1.8902546093064093e-05,
      "loss": 0.3733,
      "step": 500
    },
    {
      "epoch": 0.43898156277436345,
      "grad_norm": 0.5691537857055664,
      "learning_rate": 1.7805092186128183e-05,
      "loss": 0.2073,
      "step": 1000
    },
    {
      "epoch": 0.6584723441615452,
      "grad_norm": 0.36492520570755005,
      "learning_rate": 1.6707638279192274e-05,
      "loss": 0.1498,
      "step": 1500
    },
    {
      "epoch": 0.8779631255487269,
      "grad_norm": 0.948626697063446,
      "learning_rate": 1.561018437225637e-05,
      "loss": 0.1187,
      "step": 2000
    },
    {
      "epoch": 1.0,
      "eval_accuracy": 0.9789288849868305,
      "eval_f1": 0.9471656576774904,
      "eval_loss": 0.09360361844301224,
      "eval_precision": 0.9523487456960157,
      "eval_recall": 0.9420386814256173,
      "eval_runtime": 54.2042,
      "eval_samples_per_second": 84.053,
      "eval_steps_per_second": 10.516,
      "step": 2278
    },
    {
      "epoch": 1.0974539069359086,
      "grad_norm": 0.35782086849212646,
      "learning_rate": 1.4512730465320458e-05,
      "loss": 0.0979,
      "step": 2500
    },
    {
      "epoch": 1.3169446883230904,
      "grad_norm": 0.49497029185295105,
      "learning_rate": 1.3415276558384549e-05,
      "loss": 0.0849,
      "step": 3000
    },
    {
      "epoch": 1.536435469710272,
      "grad_norm": 0.45342519879341125,
      "learning_rate": 1.2317822651448641e-05,
      "loss": 0.0756,
      "step": 3500
    },
    {
      "epoch": 1.755926251097454,
      "grad_norm": 0.5025061368942261,
      "learning_rate": 1.122036874451273e-05,
      "loss": 0.0719,
      "step": 4000
    },
    {
      "epoch": 1.9754170324846356,
      "grad_norm": 0.8253716826438904,
      "learning_rate": 1.0122914837576823e-05,
      "loss": 0.0687,
      "step": 4500
    },
    {
      "epoch": 2.0,
      "eval_accuracy": 0.9834162520729685,
      "eval_f1": 0.9583103427135062,
      "eval_loss": 0.06783699989318848,
      "eval_precision": 0.9660692212608158,
      "eval_recall": 0.9506751003527552,
      "eval_runtime": 54.005,
      "eval_samples_per_second": 84.362,
      "eval_steps_per_second": 10.555,
      "step": 4556
    },
    {
      "epoch": 2.194907813871817,
      "grad_norm": 1.1863067150115967,
      "learning_rate": 9.025460930640914e-06,
      "loss": 0.0585,
      "step": 5000
    },
    {
      "epoch": 2.4143985952589992,
      "grad_norm": 0.6489052176475525,
      "learning_rate": 7.928007023705005e-06,
      "loss": 0.0573,
      "step": 5500
    },
    {
      "epoch": 2.633889376646181,
      "grad_norm": 0.8411669731140137,
      "learning_rate": 6.830553116769097e-06,
      "loss": 0.0534,
      "step": 6000
    },
    {
      "epoch": 2.853380158033363,
      "grad_norm": 1.2083945274353027,
      "learning_rate": 5.7330992098331876e-06,
      "loss": 0.0528,
      "step": 6500
    },
    {
      "epoch": 3.0,
      "eval_accuracy": 0.9838796215003415,
      "eval_f1": 0.959547123623011,
      "eval_loss": 0.06107071042060852,
      "eval_precision": 0.9655745781500185,
      "eval_recall": 0.9535944532295341,
      "eval_runtime": 54.1061,
      "eval_samples_per_second": 84.205,
      "eval_steps_per_second": 10.535,
      "step": 6834
    },
    {
      "epoch": 3.0728709394205445,
      "grad_norm": 0.5386723279953003,
      "learning_rate": 4.6356453028972785e-06,
      "loss": 0.0496,
      "step": 7000
    },
    {
      "epoch": 3.292361720807726,
      "grad_norm": 0.5504190921783447,
      "learning_rate": 3.53819139596137e-06,
      "loss": 0.0441,
      "step": 7500
    },
    {
      "epoch": 3.511852502194908,
      "grad_norm": 0.8231956958770752,
      "learning_rate": 2.440737489025461e-06,
      "loss": 0.0456,
      "step": 8000
    },
    {
      "epoch": 3.7313432835820897,
      "grad_norm": 1.272826910018921,
      "learning_rate": 1.3432835820895524e-06,
      "loss": 0.0447,
      "step": 8500
    },
    {
      "epoch": 3.9508340649692713,
      "grad_norm": 1.6443417072296143,
      "learning_rate": 2.458296751536436e-07,
      "loss": 0.0434,
      "step": 9000
    },
    {
      "epoch": 4.0,
      "eval_accuracy": 0.9843429909277144,
      "eval_f1": 0.9607147228001469,
      "eval_loss": 0.058695483952760696,
      "eval_precision": 0.9666297254032754,
      "eval_recall": 0.9548716701131249,
      "eval_runtime": 54.169,
      "eval_samples_per_second": 84.107,
      "eval_steps_per_second": 10.523,
      "step": 9112
    }
  ],
  "logging_steps": 500,
  "max_steps": 9112,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 4,
  "save_steps": 500,
  "stateful_callbacks": {
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": true
      },
      "attributes": {}
    }
  },
  "total_flos": 1.755253733461956e+16,
  "train_batch_size": 8,
  "trial_name": null,
  "trial_params": null
}