File size: 5,389 Bytes
cf64edd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
209
210
211
212
213
{
  "best_global_step": 2000,
  "best_metric": 0.782435168791527,
  "best_model_checkpoint": "./results/run-0/checkpoint-2000",
  "epoch": 1.0,
  "eval_steps": 500,
  "global_step": 2000,
  "is_hyper_param_search": true,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.05,
      "grad_norm": 2.039576768875122,
      "learning_rate": 1.447537100215313e-06,
      "loss": 0.0,
      "step": 100
    },
    {
      "epoch": 0.1,
      "grad_norm": 4.460484504699707,
      "learning_rate": 2.9096957873014878e-06,
      "loss": 0.0821,
      "step": 200
    },
    {
      "epoch": 0.15,
      "grad_norm": 26.84711456298828,
      "learning_rate": 4.371854474387663e-06,
      "loss": 0.0519,
      "step": 300
    },
    {
      "epoch": 0.2,
      "grad_norm": 0.6646966934204102,
      "learning_rate": 5.834013161473838e-06,
      "loss": 0.0,
      "step": 400
    },
    {
      "epoch": 0.25,
      "grad_norm": 1.8385223150253296,
      "learning_rate": 7.296171848560012e-06,
      "loss": 0.0,
      "step": 500
    },
    {
      "epoch": 0.3,
      "grad_norm": 0.9234638810157776,
      "learning_rate": 8.758330535646188e-06,
      "loss": 0.0,
      "step": 600
    },
    {
      "epoch": 0.35,
      "grad_norm": 38.24382400512695,
      "learning_rate": 9.9933989317167e-06,
      "loss": 0.0,
      "step": 700
    },
    {
      "epoch": 0.4,
      "grad_norm": 42.83884811401367,
      "learning_rate": 9.94162234536513e-06,
      "loss": 0.0,
      "step": 800
    },
    {
      "epoch": 0.45,
      "grad_norm": 0.8020399808883667,
      "learning_rate": 9.889845759013559e-06,
      "loss": 0.0,
      "step": 900
    },
    {
      "epoch": 0.5,
      "grad_norm": 0.86091148853302,
      "learning_rate": 9.838069172661988e-06,
      "loss": 0.0,
      "step": 1000
    },
    {
      "epoch": 0.55,
      "grad_norm": 0.16439934074878693,
      "learning_rate": 9.786292586310415e-06,
      "loss": 0.0,
      "step": 1100
    },
    {
      "epoch": 0.6,
      "grad_norm": 2.752115488052368,
      "learning_rate": 9.734515999958846e-06,
      "loss": 0.0,
      "step": 1200
    },
    {
      "epoch": 0.65,
      "grad_norm": 1.5777802467346191,
      "learning_rate": 9.682739413607275e-06,
      "loss": 0.0,
      "step": 1300
    },
    {
      "epoch": 0.7,
      "grad_norm": 5.708035945892334,
      "learning_rate": 9.630962827255703e-06,
      "loss": 0.0598,
      "step": 1400
    },
    {
      "epoch": 0.75,
      "grad_norm": 0.3160113990306854,
      "learning_rate": 9.579186240904132e-06,
      "loss": 0.0441,
      "step": 1500
    },
    {
      "epoch": 0.8,
      "grad_norm": 1.2273201942443848,
      "learning_rate": 9.527409654552563e-06,
      "loss": 0.0,
      "step": 1600
    },
    {
      "epoch": 0.85,
      "grad_norm": 29.215551376342773,
      "learning_rate": 9.47563306820099e-06,
      "loss": 0.0,
      "step": 1700
    },
    {
      "epoch": 0.9,
      "grad_norm": 0.18806450068950653,
      "learning_rate": 9.42385648184942e-06,
      "loss": 0.0,
      "step": 1800
    },
    {
      "epoch": 0.95,
      "grad_norm": 0.41723617911338806,
      "learning_rate": 9.372079895497849e-06,
      "loss": 0.0183,
      "step": 1900
    },
    {
      "epoch": 1.0,
      "grad_norm": 1.9550623893737793,
      "learning_rate": 9.32030330914628e-06,
      "loss": 0.0,
      "step": 2000
    },
    {
      "epoch": 1.0,
      "eval_economic_inequality_accuracy": 0.8047858942065491,
      "eval_economic_inequality_f1": 0.7536914695213144,
      "eval_economic_policy_benefits_accuracy": 0.8282828282828283,
      "eval_economic_policy_benefits_f1": 0.7567090529234769,
      "eval_ethnic_boundaries_accuracy": 0.9526143790849673,
      "eval_ethnic_boundaries_f1": 0.9344984933861545,
      "eval_language_policy_accuracy": 0.7058823529411765,
      "eval_language_policy_f1": 0.6071428571428571,
      "eval_loss": NaN,
      "eval_mother_tongue_education_accuracy": 0.8888888888888888,
      "eval_mother_tongue_education_f1": 0.837037037037037,
      "eval_overall_accuracy": 0.8392311075242039,
      "eval_overall_f1": 0.782435168791527,
      "eval_religion_ethnic_identity_accuracy": 0.8549323017408124,
      "eval_religion_ethnic_identity_f1": 0.8055321027383222,
      "eval_runtime": 4.4874,
      "eval_samples_per_second": 891.378,
      "eval_steps_per_second": 55.711,
      "step": 2000
    }
  ],
  "logging_steps": 100,
  "max_steps": 20000,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 10,
  "save_steps": 500,
  "stateful_callbacks": {
    "EarlyStoppingCallback": {
      "args": {
        "early_stopping_patience": 2,
        "early_stopping_threshold": 0.0
      },
      "attributes": {
        "early_stopping_patience_counter": 0
      }
    },
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": false
      },
      "attributes": {}
    }
  },
  "total_flos": 4210381651968000.0,
  "train_batch_size": 8,
  "trial_name": null,
  "trial_params": {
    "gradient_accumulation_steps": 1,
    "learning_rate": 1.0001165419669436e-05,
    "num_train_epochs": 10,
    "per_device_train_batch_size": 8,
    "warmup_steps": 684,
    "weight_decay": 0.07522641729243515
  }
}