Souvikbasur commited on
Commit
66c11f7
·
verified ·
1 Parent(s): b2efc6c

Upload folder using huggingface_hub

Browse files
Files changed (43) hide show
  1. README.md +25 -0
  2. checkpoint-1218/model.safetensors +3 -0
  3. checkpoint-1218/optimizer.pt +3 -0
  4. checkpoint-1218/rng_state.pth +3 -0
  5. checkpoint-1218/scaler.pt +3 -0
  6. checkpoint-1218/scheduler.pt +3 -0
  7. checkpoint-1218/trainer_state.json +233 -0
  8. checkpoint-1218/training_args.bin +3 -0
  9. checkpoint-1827/model.safetensors +3 -0
  10. checkpoint-1827/optimizer.pt +3 -0
  11. checkpoint-1827/rng_state.pth +3 -0
  12. checkpoint-1827/scaler.pt +3 -0
  13. checkpoint-1827/scheduler.pt +3 -0
  14. checkpoint-1827/trainer_state.json +328 -0
  15. checkpoint-1827/training_args.bin +3 -0
  16. checkpoint-2436/model.safetensors +3 -0
  17. checkpoint-2436/optimizer.pt +3 -0
  18. checkpoint-2436/rng_state.pth +3 -0
  19. checkpoint-2436/scaler.pt +3 -0
  20. checkpoint-2436/scheduler.pt +3 -0
  21. checkpoint-2436/trainer_state.json +423 -0
  22. checkpoint-2436/training_args.bin +3 -0
  23. checkpoint-3045/model.safetensors +3 -0
  24. checkpoint-3045/optimizer.pt +3 -0
  25. checkpoint-3045/rng_state.pth +3 -0
  26. checkpoint-3045/scaler.pt +3 -0
  27. checkpoint-3045/scheduler.pt +3 -0
  28. checkpoint-3045/trainer_state.json +518 -0
  29. checkpoint-3045/training_args.bin +3 -0
  30. checkpoint-609/model.safetensors +3 -0
  31. checkpoint-609/optimizer.pt +3 -0
  32. checkpoint-609/rng_state.pth +3 -0
  33. checkpoint-609/scaler.pt +3 -0
  34. checkpoint-609/scheduler.pt +3 -0
  35. checkpoint-609/trainer_state.json +138 -0
  36. checkpoint-609/training_args.bin +3 -0
  37. config.json +83 -0
  38. confusion_matrix_boundary.csv +19 -0
  39. entity_error_log_boundary.csv +0 -0
  40. final_test_report_crf_boundary.txt +23 -0
  41. roberta_crf_boundary_ner.pt +3 -0
  42. tokenizer.json +0 -0
  43. tokenizer_config.json +17 -0
README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language: en
4
+ tags:
5
+ - token-classification
6
+ - named-entity-recognition
7
+ - roberta
8
+ - crf
9
+ - news
10
+ ---
11
+
12
+ # roberta-crf-boundary-news-ner
13
+
14
+ RoBERTa + CRF news NER model, extended from [`Souvikbasur/roberta-crf-news-ner`]({"https://huggingface.co/" + CHECKPOINT_REPO}) with:
15
+
16
+ - A boundary-guided interaction module (auxiliary start/end token classifiers gating the shared representation before the CRF classifier), inspired by Zheng et al. (2019, EMNLP-IJCNLP) and Gao et al. (2022).
17
+ - Boundary-smoothed multi-task loss (Zhu & Li, 2022, ACL) combining the CRF negative log-likelihood with the boundary auxiliary loss.
18
+ - FGM adversarial training on the token embeddings (Miyato et al., 2017).
19
+ - An optional confidence-based boundary-correction post-processing step at inference.
20
+
21
+ **This is a fine-tuning extension of an existing checkpoint, evaluated with an ablation against the base CRF model — see the linked paper/repo for the actual measured numbers.** Do not assume improvement without checking the evaluation cells in the training notebook.
22
+
23
+ Trained on the same 17-category custom news NER dataset and train/val/test split as `Souvikbasur/roberta-crf-news-ner`.
24
+
25
+ Requires the custom `RobertaCRFBoundaryForNER` class (see the training notebook) to load — a bare `state_dict` isn't loadable via `AutoModel.from_pretrained` alone.
checkpoint-1218/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71ddfbd947fd40df5bd83d2e498342a7472c87570aba77012ea062fd73ea35dc
3
+ size 498726232
checkpoint-1218/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f6ef20c4c94da24dd28b6f8ee6863a03d980527568887ff647c477d6978452c
3
+ size 992853771
checkpoint-1218/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3333aa4f4aa9deaf4dff794bba6ebdd4ea7059d52bfe4ee04d4fb75985605907
3
+ size 14645
checkpoint-1218/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bd4703dfcdfd846963d8e4c44639fa2977608e55b62072748ed7f967af92e45
3
+ size 1383
checkpoint-1218/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e72d55934b5e6c9f237d14aae791f6881a825893c3941c3bb2f50f5cf78c044d
3
+ size 1465
checkpoint-1218/trainer_state.json ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 1218,
3
+ "best_metric": 0.8758669056339127,
4
+ "best_model_checkpoint": "./ner_crf_boundary_output/checkpoint-1218",
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 1218,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.08213552361396304,
14
+ "grad_norm": 289.9013977050781,
15
+ "learning_rate": 2.677595628415301e-06,
16
+ "loss": 7.03633056640625,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.16427104722792607,
21
+ "grad_norm": 397.5795593261719,
22
+ "learning_rate": 5.409836065573772e-06,
23
+ "loss": 5.944567260742187,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.2464065708418891,
28
+ "grad_norm": 1030.340576171875,
29
+ "learning_rate": 8.14207650273224e-06,
30
+ "loss": 6.386118774414062,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 0.32854209445585214,
35
+ "grad_norm": 416.71173095703125,
36
+ "learning_rate": 9.944095038434662e-06,
37
+ "loss": 6.638558349609375,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 0.4106776180698152,
42
+ "grad_norm": 379.8328857421875,
43
+ "learning_rate": 9.769392033542979e-06,
44
+ "loss": 5.887216186523437,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 0.4928131416837782,
49
+ "grad_norm": 328.294921875,
50
+ "learning_rate": 9.594689028651294e-06,
51
+ "loss": 6.057736206054687,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 0.5749486652977412,
56
+ "grad_norm": 306.49560546875,
57
+ "learning_rate": 9.41998602375961e-06,
58
+ "loss": 6.300731201171875,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 0.6570841889117043,
63
+ "grad_norm": 406.1339111328125,
64
+ "learning_rate": 9.245283018867926e-06,
65
+ "loss": 5.523515625,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 0.7392197125256673,
70
+ "grad_norm": 405.34136962890625,
71
+ "learning_rate": 9.070580013976241e-06,
72
+ "loss": 6.377322998046875,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 0.8213552361396304,
77
+ "grad_norm": 219.61463928222656,
78
+ "learning_rate": 8.895877009084557e-06,
79
+ "loss": 5.774469604492188,
80
+ "step": 500
81
+ },
82
+ {
83
+ "epoch": 0.9034907597535934,
84
+ "grad_norm": 294.69683837890625,
85
+ "learning_rate": 8.721174004192873e-06,
86
+ "loss": 6.709805297851562,
87
+ "step": 550
88
+ },
89
+ {
90
+ "epoch": 0.9856262833675564,
91
+ "grad_norm": 397.64190673828125,
92
+ "learning_rate": 8.546470999301189e-06,
93
+ "loss": 5.980140991210938,
94
+ "step": 600
95
+ },
96
+ {
97
+ "epoch": 1.0,
98
+ "eval_f1": 0.8755947274003588,
99
+ "eval_loss": 4.1545538902282715,
100
+ "eval_precision": 0.8619471744471745,
101
+ "eval_recall": 0.8896814075130766,
102
+ "eval_runtime": 44.15,
103
+ "eval_samples_per_second": 49.015,
104
+ "eval_steps_per_second": 6.138,
105
+ "step": 609
106
+ },
107
+ {
108
+ "epoch": 1.0673511293634497,
109
+ "grad_norm": 406.8649597167969,
110
+ "learning_rate": 8.371767994409504e-06,
111
+ "loss": 5.502258911132812,
112
+ "step": 650
113
+ },
114
+ {
115
+ "epoch": 1.1494866529774128,
116
+ "grad_norm": 353.2889709472656,
117
+ "learning_rate": 8.19706498951782e-06,
118
+ "loss": 5.161415405273438,
119
+ "step": 700
120
+ },
121
+ {
122
+ "epoch": 1.2316221765913757,
123
+ "grad_norm": 524.7266845703125,
124
+ "learning_rate": 8.022361984626136e-06,
125
+ "loss": 6.095115966796875,
126
+ "step": 750
127
+ },
128
+ {
129
+ "epoch": 1.3137577002053389,
130
+ "grad_norm": 532.918212890625,
131
+ "learning_rate": 7.847658979734451e-06,
132
+ "loss": 5.310472412109375,
133
+ "step": 800
134
+ },
135
+ {
136
+ "epoch": 1.3958932238193018,
137
+ "grad_norm": 481.7142639160156,
138
+ "learning_rate": 7.672955974842768e-06,
139
+ "loss": 5.16358154296875,
140
+ "step": 850
141
+ },
142
+ {
143
+ "epoch": 1.478028747433265,
144
+ "grad_norm": 427.3961181640625,
145
+ "learning_rate": 7.498252969951084e-06,
146
+ "loss": 5.792083740234375,
147
+ "step": 900
148
+ },
149
+ {
150
+ "epoch": 1.5601642710472279,
151
+ "grad_norm": 571.2908935546875,
152
+ "learning_rate": 7.3235499650594e-06,
153
+ "loss": 4.886295166015625,
154
+ "step": 950
155
+ },
156
+ {
157
+ "epoch": 1.642299794661191,
158
+ "grad_norm": 310.74542236328125,
159
+ "learning_rate": 7.148846960167716e-06,
160
+ "loss": 5.547396240234375,
161
+ "step": 1000
162
+ },
163
+ {
164
+ "epoch": 1.724435318275154,
165
+ "grad_norm": 210.18771362304688,
166
+ "learning_rate": 6.974143955276031e-06,
167
+ "loss": 5.537097778320312,
168
+ "step": 1050
169
+ },
170
+ {
171
+ "epoch": 1.806570841889117,
172
+ "grad_norm": 323.7012023925781,
173
+ "learning_rate": 6.799440950384347e-06,
174
+ "loss": 4.974610290527344,
175
+ "step": 1100
176
+ },
177
+ {
178
+ "epoch": 1.8887063655030802,
179
+ "grad_norm": 300.61309814453125,
180
+ "learning_rate": 6.624737945492663e-06,
181
+ "loss": 5.379744262695312,
182
+ "step": 1150
183
+ },
184
+ {
185
+ "epoch": 1.9708418891170432,
186
+ "grad_norm": 420.67388916015625,
187
+ "learning_rate": 6.4500349406009785e-06,
188
+ "loss": 5.358375854492188,
189
+ "step": 1200
190
+ },
191
+ {
192
+ "epoch": 2.0,
193
+ "eval_f1": 0.8758669056339127,
194
+ "eval_loss": 4.113088607788086,
195
+ "eval_precision": 0.8614347026364194,
196
+ "eval_recall": 0.8907909335869393,
197
+ "eval_runtime": 44.1674,
198
+ "eval_samples_per_second": 48.995,
199
+ "eval_steps_per_second": 6.136,
200
+ "step": 1218
201
+ }
202
+ ],
203
+ "logging_steps": 50,
204
+ "max_steps": 3045,
205
+ "num_input_tokens_seen": 0,
206
+ "num_train_epochs": 5,
207
+ "save_steps": 500,
208
+ "stateful_callbacks": {
209
+ "EarlyStoppingCallback": {
210
+ "args": {
211
+ "early_stopping_patience": 2,
212
+ "early_stopping_threshold": 0.0
213
+ },
214
+ "attributes": {
215
+ "early_stopping_patience_counter": 0
216
+ }
217
+ },
218
+ "TrainerControl": {
219
+ "args": {
220
+ "should_epoch_stop": false,
221
+ "should_evaluate": false,
222
+ "should_log": false,
223
+ "should_save": true,
224
+ "should_training_stop": false
225
+ },
226
+ "attributes": {}
227
+ }
228
+ },
229
+ "total_flos": 0.0,
230
+ "train_batch_size": 8,
231
+ "trial_name": null,
232
+ "trial_params": null
233
+ }
checkpoint-1218/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97858c4638f99430a1879ac2e22898be13fdaf4eb03fabedc400f472205c63d0
3
+ size 5201
checkpoint-1827/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a17b1906bf894de25967d6a2d5e15df812498b969a62a11fbfb153ea94ee26d
3
+ size 498726232
checkpoint-1827/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e504117b09fd3181875cc445dc2457360427d46341da471cbafc51ae8d7d295
3
+ size 992853771
checkpoint-1827/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e44b998b6b0197c7da62669120aade6212bfda5418f8287238653bed219218f
3
+ size 14645
checkpoint-1827/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08068d73678cb958af4419d7cbdc9fa2c0f3499a4a0709124ee2427e5f4fb22f
3
+ size 1383
checkpoint-1827/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:383c9d1981e6e21e2d82c6d27133f03456caa6d4ed7309a2e244cf88d5406c2b
3
+ size 1465
checkpoint-1827/trainer_state.json ADDED
@@ -0,0 +1,328 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 1827,
3
+ "best_metric": 0.88046875,
4
+ "best_model_checkpoint": "./ner_crf_boundary_output/checkpoint-1827",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 1827,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.08213552361396304,
14
+ "grad_norm": 289.9013977050781,
15
+ "learning_rate": 2.677595628415301e-06,
16
+ "loss": 7.03633056640625,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.16427104722792607,
21
+ "grad_norm": 397.5795593261719,
22
+ "learning_rate": 5.409836065573772e-06,
23
+ "loss": 5.944567260742187,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.2464065708418891,
28
+ "grad_norm": 1030.340576171875,
29
+ "learning_rate": 8.14207650273224e-06,
30
+ "loss": 6.386118774414062,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 0.32854209445585214,
35
+ "grad_norm": 416.71173095703125,
36
+ "learning_rate": 9.944095038434662e-06,
37
+ "loss": 6.638558349609375,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 0.4106776180698152,
42
+ "grad_norm": 379.8328857421875,
43
+ "learning_rate": 9.769392033542979e-06,
44
+ "loss": 5.887216186523437,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 0.4928131416837782,
49
+ "grad_norm": 328.294921875,
50
+ "learning_rate": 9.594689028651294e-06,
51
+ "loss": 6.057736206054687,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 0.5749486652977412,
56
+ "grad_norm": 306.49560546875,
57
+ "learning_rate": 9.41998602375961e-06,
58
+ "loss": 6.300731201171875,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 0.6570841889117043,
63
+ "grad_norm": 406.1339111328125,
64
+ "learning_rate": 9.245283018867926e-06,
65
+ "loss": 5.523515625,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 0.7392197125256673,
70
+ "grad_norm": 405.34136962890625,
71
+ "learning_rate": 9.070580013976241e-06,
72
+ "loss": 6.377322998046875,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 0.8213552361396304,
77
+ "grad_norm": 219.61463928222656,
78
+ "learning_rate": 8.895877009084557e-06,
79
+ "loss": 5.774469604492188,
80
+ "step": 500
81
+ },
82
+ {
83
+ "epoch": 0.9034907597535934,
84
+ "grad_norm": 294.69683837890625,
85
+ "learning_rate": 8.721174004192873e-06,
86
+ "loss": 6.709805297851562,
87
+ "step": 550
88
+ },
89
+ {
90
+ "epoch": 0.9856262833675564,
91
+ "grad_norm": 397.64190673828125,
92
+ "learning_rate": 8.546470999301189e-06,
93
+ "loss": 5.980140991210938,
94
+ "step": 600
95
+ },
96
+ {
97
+ "epoch": 1.0,
98
+ "eval_f1": 0.8755947274003588,
99
+ "eval_loss": 4.1545538902282715,
100
+ "eval_precision": 0.8619471744471745,
101
+ "eval_recall": 0.8896814075130766,
102
+ "eval_runtime": 44.15,
103
+ "eval_samples_per_second": 49.015,
104
+ "eval_steps_per_second": 6.138,
105
+ "step": 609
106
+ },
107
+ {
108
+ "epoch": 1.0673511293634497,
109
+ "grad_norm": 406.8649597167969,
110
+ "learning_rate": 8.371767994409504e-06,
111
+ "loss": 5.502258911132812,
112
+ "step": 650
113
+ },
114
+ {
115
+ "epoch": 1.1494866529774128,
116
+ "grad_norm": 353.2889709472656,
117
+ "learning_rate": 8.19706498951782e-06,
118
+ "loss": 5.161415405273438,
119
+ "step": 700
120
+ },
121
+ {
122
+ "epoch": 1.2316221765913757,
123
+ "grad_norm": 524.7266845703125,
124
+ "learning_rate": 8.022361984626136e-06,
125
+ "loss": 6.095115966796875,
126
+ "step": 750
127
+ },
128
+ {
129
+ "epoch": 1.3137577002053389,
130
+ "grad_norm": 532.918212890625,
131
+ "learning_rate": 7.847658979734451e-06,
132
+ "loss": 5.310472412109375,
133
+ "step": 800
134
+ },
135
+ {
136
+ "epoch": 1.3958932238193018,
137
+ "grad_norm": 481.7142639160156,
138
+ "learning_rate": 7.672955974842768e-06,
139
+ "loss": 5.16358154296875,
140
+ "step": 850
141
+ },
142
+ {
143
+ "epoch": 1.478028747433265,
144
+ "grad_norm": 427.3961181640625,
145
+ "learning_rate": 7.498252969951084e-06,
146
+ "loss": 5.792083740234375,
147
+ "step": 900
148
+ },
149
+ {
150
+ "epoch": 1.5601642710472279,
151
+ "grad_norm": 571.2908935546875,
152
+ "learning_rate": 7.3235499650594e-06,
153
+ "loss": 4.886295166015625,
154
+ "step": 950
155
+ },
156
+ {
157
+ "epoch": 1.642299794661191,
158
+ "grad_norm": 310.74542236328125,
159
+ "learning_rate": 7.148846960167716e-06,
160
+ "loss": 5.547396240234375,
161
+ "step": 1000
162
+ },
163
+ {
164
+ "epoch": 1.724435318275154,
165
+ "grad_norm": 210.18771362304688,
166
+ "learning_rate": 6.974143955276031e-06,
167
+ "loss": 5.537097778320312,
168
+ "step": 1050
169
+ },
170
+ {
171
+ "epoch": 1.806570841889117,
172
+ "grad_norm": 323.7012023925781,
173
+ "learning_rate": 6.799440950384347e-06,
174
+ "loss": 4.974610290527344,
175
+ "step": 1100
176
+ },
177
+ {
178
+ "epoch": 1.8887063655030802,
179
+ "grad_norm": 300.61309814453125,
180
+ "learning_rate": 6.624737945492663e-06,
181
+ "loss": 5.379744262695312,
182
+ "step": 1150
183
+ },
184
+ {
185
+ "epoch": 1.9708418891170432,
186
+ "grad_norm": 420.67388916015625,
187
+ "learning_rate": 6.4500349406009785e-06,
188
+ "loss": 5.358375854492188,
189
+ "step": 1200
190
+ },
191
+ {
192
+ "epoch": 2.0,
193
+ "eval_f1": 0.8758669056339127,
194
+ "eval_loss": 4.113088607788086,
195
+ "eval_precision": 0.8614347026364194,
196
+ "eval_recall": 0.8907909335869393,
197
+ "eval_runtime": 44.1674,
198
+ "eval_samples_per_second": 48.995,
199
+ "eval_steps_per_second": 6.136,
200
+ "step": 1218
201
+ },
202
+ {
203
+ "epoch": 2.0525667351129364,
204
+ "grad_norm": 716.19775390625,
205
+ "learning_rate": 6.275331935709295e-06,
206
+ "loss": 5.002279052734375,
207
+ "step": 1250
208
+ },
209
+ {
210
+ "epoch": 2.1347022587268993,
211
+ "grad_norm": 269.1075439453125,
212
+ "learning_rate": 6.100628930817611e-06,
213
+ "loss": 4.724185180664063,
214
+ "step": 1300
215
+ },
216
+ {
217
+ "epoch": 2.2168377823408623,
218
+ "grad_norm": 386.7925720214844,
219
+ "learning_rate": 5.925925925925926e-06,
220
+ "loss": 4.566873779296875,
221
+ "step": 1350
222
+ },
223
+ {
224
+ "epoch": 2.2989733059548256,
225
+ "grad_norm": 348.7635803222656,
226
+ "learning_rate": 5.751222921034242e-06,
227
+ "loss": 4.5791323852539065,
228
+ "step": 1400
229
+ },
230
+ {
231
+ "epoch": 2.3811088295687886,
232
+ "grad_norm": 226.85601806640625,
233
+ "learning_rate": 5.576519916142558e-06,
234
+ "loss": 4.002293090820313,
235
+ "step": 1450
236
+ },
237
+ {
238
+ "epoch": 2.4632443531827515,
239
+ "grad_norm": 324.4167785644531,
240
+ "learning_rate": 5.401816911250875e-06,
241
+ "loss": 4.811328125,
242
+ "step": 1500
243
+ },
244
+ {
245
+ "epoch": 2.545379876796715,
246
+ "grad_norm": 265.19696044921875,
247
+ "learning_rate": 5.22711390635919e-06,
248
+ "loss": 4.3527978515625,
249
+ "step": 1550
250
+ },
251
+ {
252
+ "epoch": 2.6275154004106778,
253
+ "grad_norm": 255.17453002929688,
254
+ "learning_rate": 5.052410901467506e-06,
255
+ "loss": 4.515827026367187,
256
+ "step": 1600
257
+ },
258
+ {
259
+ "epoch": 2.7096509240246407,
260
+ "grad_norm": 343.71630859375,
261
+ "learning_rate": 4.877707896575822e-06,
262
+ "loss": 4.646475830078125,
263
+ "step": 1650
264
+ },
265
+ {
266
+ "epoch": 2.7917864476386036,
267
+ "grad_norm": 309.7668151855469,
268
+ "learning_rate": 4.703004891684137e-06,
269
+ "loss": 4.717439880371094,
270
+ "step": 1700
271
+ },
272
+ {
273
+ "epoch": 2.8739219712525665,
274
+ "grad_norm": 211.75811767578125,
275
+ "learning_rate": 4.528301886792453e-06,
276
+ "loss": 4.192425231933594,
277
+ "step": 1750
278
+ },
279
+ {
280
+ "epoch": 2.95605749486653,
281
+ "grad_norm": 471.5155334472656,
282
+ "learning_rate": 4.353598881900769e-06,
283
+ "loss": 5.051603088378906,
284
+ "step": 1800
285
+ },
286
+ {
287
+ "epoch": 3.0,
288
+ "eval_f1": 0.88046875,
289
+ "eval_loss": 4.196066379547119,
290
+ "eval_precision": 0.8681250962871668,
291
+ "eval_recall": 0.8931684894595023,
292
+ "eval_runtime": 43.3428,
293
+ "eval_samples_per_second": 49.928,
294
+ "eval_steps_per_second": 6.252,
295
+ "step": 1827
296
+ }
297
+ ],
298
+ "logging_steps": 50,
299
+ "max_steps": 3045,
300
+ "num_input_tokens_seen": 0,
301
+ "num_train_epochs": 5,
302
+ "save_steps": 500,
303
+ "stateful_callbacks": {
304
+ "EarlyStoppingCallback": {
305
+ "args": {
306
+ "early_stopping_patience": 2,
307
+ "early_stopping_threshold": 0.0
308
+ },
309
+ "attributes": {
310
+ "early_stopping_patience_counter": 0
311
+ }
312
+ },
313
+ "TrainerControl": {
314
+ "args": {
315
+ "should_epoch_stop": false,
316
+ "should_evaluate": false,
317
+ "should_log": false,
318
+ "should_save": true,
319
+ "should_training_stop": false
320
+ },
321
+ "attributes": {}
322
+ }
323
+ },
324
+ "total_flos": 0.0,
325
+ "train_batch_size": 8,
326
+ "trial_name": null,
327
+ "trial_params": null
328
+ }
checkpoint-1827/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97858c4638f99430a1879ac2e22898be13fdaf4eb03fabedc400f472205c63d0
3
+ size 5201
checkpoint-2436/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50811bde28c596c4fbe5db19dcacf283afd6b2eae1a1fea487b75884b1fbb639
3
+ size 498726232
checkpoint-2436/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84844e11d8b03e1078e0ffdd0774f72a32a9162c636730a1bbeebd544863b07f
3
+ size 992853771
checkpoint-2436/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:569718648fb60fab03c21d94977589bf9498a468484b287e3b0512152efabade
3
+ size 14645
checkpoint-2436/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17c665e498639ee7cc715d7270d31dae11cbf99ee006620ed8bb359912f16839
3
+ size 1383
checkpoint-2436/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9773c117cd3c0c029bd979b5ab4e8cca7d2b48abdd33e7db2fda1da3ad39da3
3
+ size 1465
checkpoint-2436/trainer_state.json ADDED
@@ -0,0 +1,423 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 1827,
3
+ "best_metric": 0.88046875,
4
+ "best_model_checkpoint": "./ner_crf_boundary_output/checkpoint-1827",
5
+ "epoch": 4.0,
6
+ "eval_steps": 500,
7
+ "global_step": 2436,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.08213552361396304,
14
+ "grad_norm": 289.9013977050781,
15
+ "learning_rate": 2.677595628415301e-06,
16
+ "loss": 7.03633056640625,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.16427104722792607,
21
+ "grad_norm": 397.5795593261719,
22
+ "learning_rate": 5.409836065573772e-06,
23
+ "loss": 5.944567260742187,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.2464065708418891,
28
+ "grad_norm": 1030.340576171875,
29
+ "learning_rate": 8.14207650273224e-06,
30
+ "loss": 6.386118774414062,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 0.32854209445585214,
35
+ "grad_norm": 416.71173095703125,
36
+ "learning_rate": 9.944095038434662e-06,
37
+ "loss": 6.638558349609375,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 0.4106776180698152,
42
+ "grad_norm": 379.8328857421875,
43
+ "learning_rate": 9.769392033542979e-06,
44
+ "loss": 5.887216186523437,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 0.4928131416837782,
49
+ "grad_norm": 328.294921875,
50
+ "learning_rate": 9.594689028651294e-06,
51
+ "loss": 6.057736206054687,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 0.5749486652977412,
56
+ "grad_norm": 306.49560546875,
57
+ "learning_rate": 9.41998602375961e-06,
58
+ "loss": 6.300731201171875,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 0.6570841889117043,
63
+ "grad_norm": 406.1339111328125,
64
+ "learning_rate": 9.245283018867926e-06,
65
+ "loss": 5.523515625,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 0.7392197125256673,
70
+ "grad_norm": 405.34136962890625,
71
+ "learning_rate": 9.070580013976241e-06,
72
+ "loss": 6.377322998046875,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 0.8213552361396304,
77
+ "grad_norm": 219.61463928222656,
78
+ "learning_rate": 8.895877009084557e-06,
79
+ "loss": 5.774469604492188,
80
+ "step": 500
81
+ },
82
+ {
83
+ "epoch": 0.9034907597535934,
84
+ "grad_norm": 294.69683837890625,
85
+ "learning_rate": 8.721174004192873e-06,
86
+ "loss": 6.709805297851562,
87
+ "step": 550
88
+ },
89
+ {
90
+ "epoch": 0.9856262833675564,
91
+ "grad_norm": 397.64190673828125,
92
+ "learning_rate": 8.546470999301189e-06,
93
+ "loss": 5.980140991210938,
94
+ "step": 600
95
+ },
96
+ {
97
+ "epoch": 1.0,
98
+ "eval_f1": 0.8755947274003588,
99
+ "eval_loss": 4.1545538902282715,
100
+ "eval_precision": 0.8619471744471745,
101
+ "eval_recall": 0.8896814075130766,
102
+ "eval_runtime": 44.15,
103
+ "eval_samples_per_second": 49.015,
104
+ "eval_steps_per_second": 6.138,
105
+ "step": 609
106
+ },
107
+ {
108
+ "epoch": 1.0673511293634497,
109
+ "grad_norm": 406.8649597167969,
110
+ "learning_rate": 8.371767994409504e-06,
111
+ "loss": 5.502258911132812,
112
+ "step": 650
113
+ },
114
+ {
115
+ "epoch": 1.1494866529774128,
116
+ "grad_norm": 353.2889709472656,
117
+ "learning_rate": 8.19706498951782e-06,
118
+ "loss": 5.161415405273438,
119
+ "step": 700
120
+ },
121
+ {
122
+ "epoch": 1.2316221765913757,
123
+ "grad_norm": 524.7266845703125,
124
+ "learning_rate": 8.022361984626136e-06,
125
+ "loss": 6.095115966796875,
126
+ "step": 750
127
+ },
128
+ {
129
+ "epoch": 1.3137577002053389,
130
+ "grad_norm": 532.918212890625,
131
+ "learning_rate": 7.847658979734451e-06,
132
+ "loss": 5.310472412109375,
133
+ "step": 800
134
+ },
135
+ {
136
+ "epoch": 1.3958932238193018,
137
+ "grad_norm": 481.7142639160156,
138
+ "learning_rate": 7.672955974842768e-06,
139
+ "loss": 5.16358154296875,
140
+ "step": 850
141
+ },
142
+ {
143
+ "epoch": 1.478028747433265,
144
+ "grad_norm": 427.3961181640625,
145
+ "learning_rate": 7.498252969951084e-06,
146
+ "loss": 5.792083740234375,
147
+ "step": 900
148
+ },
149
+ {
150
+ "epoch": 1.5601642710472279,
151
+ "grad_norm": 571.2908935546875,
152
+ "learning_rate": 7.3235499650594e-06,
153
+ "loss": 4.886295166015625,
154
+ "step": 950
155
+ },
156
+ {
157
+ "epoch": 1.642299794661191,
158
+ "grad_norm": 310.74542236328125,
159
+ "learning_rate": 7.148846960167716e-06,
160
+ "loss": 5.547396240234375,
161
+ "step": 1000
162
+ },
163
+ {
164
+ "epoch": 1.724435318275154,
165
+ "grad_norm": 210.18771362304688,
166
+ "learning_rate": 6.974143955276031e-06,
167
+ "loss": 5.537097778320312,
168
+ "step": 1050
169
+ },
170
+ {
171
+ "epoch": 1.806570841889117,
172
+ "grad_norm": 323.7012023925781,
173
+ "learning_rate": 6.799440950384347e-06,
174
+ "loss": 4.974610290527344,
175
+ "step": 1100
176
+ },
177
+ {
178
+ "epoch": 1.8887063655030802,
179
+ "grad_norm": 300.61309814453125,
180
+ "learning_rate": 6.624737945492663e-06,
181
+ "loss": 5.379744262695312,
182
+ "step": 1150
183
+ },
184
+ {
185
+ "epoch": 1.9708418891170432,
186
+ "grad_norm": 420.67388916015625,
187
+ "learning_rate": 6.4500349406009785e-06,
188
+ "loss": 5.358375854492188,
189
+ "step": 1200
190
+ },
191
+ {
192
+ "epoch": 2.0,
193
+ "eval_f1": 0.8758669056339127,
194
+ "eval_loss": 4.113088607788086,
195
+ "eval_precision": 0.8614347026364194,
196
+ "eval_recall": 0.8907909335869393,
197
+ "eval_runtime": 44.1674,
198
+ "eval_samples_per_second": 48.995,
199
+ "eval_steps_per_second": 6.136,
200
+ "step": 1218
201
+ },
202
+ {
203
+ "epoch": 2.0525667351129364,
204
+ "grad_norm": 716.19775390625,
205
+ "learning_rate": 6.275331935709295e-06,
206
+ "loss": 5.002279052734375,
207
+ "step": 1250
208
+ },
209
+ {
210
+ "epoch": 2.1347022587268993,
211
+ "grad_norm": 269.1075439453125,
212
+ "learning_rate": 6.100628930817611e-06,
213
+ "loss": 4.724185180664063,
214
+ "step": 1300
215
+ },
216
+ {
217
+ "epoch": 2.2168377823408623,
218
+ "grad_norm": 386.7925720214844,
219
+ "learning_rate": 5.925925925925926e-06,
220
+ "loss": 4.566873779296875,
221
+ "step": 1350
222
+ },
223
+ {
224
+ "epoch": 2.2989733059548256,
225
+ "grad_norm": 348.7635803222656,
226
+ "learning_rate": 5.751222921034242e-06,
227
+ "loss": 4.5791323852539065,
228
+ "step": 1400
229
+ },
230
+ {
231
+ "epoch": 2.3811088295687886,
232
+ "grad_norm": 226.85601806640625,
233
+ "learning_rate": 5.576519916142558e-06,
234
+ "loss": 4.002293090820313,
235
+ "step": 1450
236
+ },
237
+ {
238
+ "epoch": 2.4632443531827515,
239
+ "grad_norm": 324.4167785644531,
240
+ "learning_rate": 5.401816911250875e-06,
241
+ "loss": 4.811328125,
242
+ "step": 1500
243
+ },
244
+ {
245
+ "epoch": 2.545379876796715,
246
+ "grad_norm": 265.19696044921875,
247
+ "learning_rate": 5.22711390635919e-06,
248
+ "loss": 4.3527978515625,
249
+ "step": 1550
250
+ },
251
+ {
252
+ "epoch": 2.6275154004106778,
253
+ "grad_norm": 255.17453002929688,
254
+ "learning_rate": 5.052410901467506e-06,
255
+ "loss": 4.515827026367187,
256
+ "step": 1600
257
+ },
258
+ {
259
+ "epoch": 2.7096509240246407,
260
+ "grad_norm": 343.71630859375,
261
+ "learning_rate": 4.877707896575822e-06,
262
+ "loss": 4.646475830078125,
263
+ "step": 1650
264
+ },
265
+ {
266
+ "epoch": 2.7917864476386036,
267
+ "grad_norm": 309.7668151855469,
268
+ "learning_rate": 4.703004891684137e-06,
269
+ "loss": 4.717439880371094,
270
+ "step": 1700
271
+ },
272
+ {
273
+ "epoch": 2.8739219712525665,
274
+ "grad_norm": 211.75811767578125,
275
+ "learning_rate": 4.528301886792453e-06,
276
+ "loss": 4.192425231933594,
277
+ "step": 1750
278
+ },
279
+ {
280
+ "epoch": 2.95605749486653,
281
+ "grad_norm": 471.5155334472656,
282
+ "learning_rate": 4.353598881900769e-06,
283
+ "loss": 5.051603088378906,
284
+ "step": 1800
285
+ },
286
+ {
287
+ "epoch": 3.0,
288
+ "eval_f1": 0.88046875,
289
+ "eval_loss": 4.196066379547119,
290
+ "eval_precision": 0.8681250962871668,
291
+ "eval_recall": 0.8931684894595023,
292
+ "eval_runtime": 43.3428,
293
+ "eval_samples_per_second": 49.928,
294
+ "eval_steps_per_second": 6.252,
295
+ "step": 1827
296
+ },
297
+ {
298
+ "epoch": 3.037782340862423,
299
+ "grad_norm": 235.75936889648438,
300
+ "learning_rate": 4.1788958770090845e-06,
301
+ "loss": 4.453041381835938,
302
+ "step": 1850
303
+ },
304
+ {
305
+ "epoch": 3.119917864476386,
306
+ "grad_norm": 343.1545715332031,
307
+ "learning_rate": 4.0041928721174006e-06,
308
+ "loss": 3.923203430175781,
309
+ "step": 1900
310
+ },
311
+ {
312
+ "epoch": 3.202053388090349,
313
+ "grad_norm": 272.7549743652344,
314
+ "learning_rate": 3.829489867225717e-06,
315
+ "loss": 4.473578796386719,
316
+ "step": 1950
317
+ },
318
+ {
319
+ "epoch": 3.284188911704312,
320
+ "grad_norm": 205.64874267578125,
321
+ "learning_rate": 3.6547868623340327e-06,
322
+ "loss": 3.830061340332031,
323
+ "step": 2000
324
+ },
325
+ {
326
+ "epoch": 3.3663244353182753,
327
+ "grad_norm": 508.5237121582031,
328
+ "learning_rate": 3.4800838574423483e-06,
329
+ "loss": 3.810235595703125,
330
+ "step": 2050
331
+ },
332
+ {
333
+ "epoch": 3.4484599589322382,
334
+ "grad_norm": 292.8867492675781,
335
+ "learning_rate": 3.3053808525506643e-06,
336
+ "loss": 3.886056213378906,
337
+ "step": 2100
338
+ },
339
+ {
340
+ "epoch": 3.530595482546201,
341
+ "grad_norm": 348.3034362792969,
342
+ "learning_rate": 3.13067784765898e-06,
343
+ "loss": 3.2952536010742186,
344
+ "step": 2150
345
+ },
346
+ {
347
+ "epoch": 3.612731006160164,
348
+ "grad_norm": 287.3987121582031,
349
+ "learning_rate": 2.9559748427672955e-06,
350
+ "loss": 4.358919067382812,
351
+ "step": 2200
352
+ },
353
+ {
354
+ "epoch": 3.6948665297741274,
355
+ "grad_norm": 186.44305419921875,
356
+ "learning_rate": 2.7812718378756116e-06,
357
+ "loss": 4.031048583984375,
358
+ "step": 2250
359
+ },
360
+ {
361
+ "epoch": 3.7770020533880904,
362
+ "grad_norm": 588.447509765625,
363
+ "learning_rate": 2.606568832983927e-06,
364
+ "loss": 4.055077819824219,
365
+ "step": 2300
366
+ },
367
+ {
368
+ "epoch": 3.8591375770020533,
369
+ "grad_norm": 305.3722229003906,
370
+ "learning_rate": 2.4318658280922432e-06,
371
+ "loss": 3.518572998046875,
372
+ "step": 2350
373
+ },
374
+ {
375
+ "epoch": 3.9412731006160167,
376
+ "grad_norm": 403.2993469238281,
377
+ "learning_rate": 2.2571628232005593e-06,
378
+ "loss": 4.462532958984375,
379
+ "step": 2400
380
+ },
381
+ {
382
+ "epoch": 4.0,
383
+ "eval_f1": 0.878969957081545,
384
+ "eval_loss": 4.369068145751953,
385
+ "eval_precision": 0.8656624654165386,
386
+ "eval_recall": 0.8926929782849897,
387
+ "eval_runtime": 42.2843,
388
+ "eval_samples_per_second": 51.177,
389
+ "eval_steps_per_second": 6.409,
390
+ "step": 2436
391
+ }
392
+ ],
393
+ "logging_steps": 50,
394
+ "max_steps": 3045,
395
+ "num_input_tokens_seen": 0,
396
+ "num_train_epochs": 5,
397
+ "save_steps": 500,
398
+ "stateful_callbacks": {
399
+ "EarlyStoppingCallback": {
400
+ "args": {
401
+ "early_stopping_patience": 2,
402
+ "early_stopping_threshold": 0.0
403
+ },
404
+ "attributes": {
405
+ "early_stopping_patience_counter": 1
406
+ }
407
+ },
408
+ "TrainerControl": {
409
+ "args": {
410
+ "should_epoch_stop": false,
411
+ "should_evaluate": false,
412
+ "should_log": false,
413
+ "should_save": true,
414
+ "should_training_stop": false
415
+ },
416
+ "attributes": {}
417
+ }
418
+ },
419
+ "total_flos": 0.0,
420
+ "train_batch_size": 8,
421
+ "trial_name": null,
422
+ "trial_params": null
423
+ }
checkpoint-2436/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97858c4638f99430a1879ac2e22898be13fdaf4eb03fabedc400f472205c63d0
3
+ size 5201
checkpoint-3045/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9adae0837bbdafbbf19af00e2797a7142e65e7e3405956b9d1a4c5eea15579e
3
+ size 498726232
checkpoint-3045/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2e590ba247502d19c91f5a1d25facdf5c69a5d743ba6003a01152a4c0b5548d
3
+ size 992853771
checkpoint-3045/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d5f2eb9435ee99ea4fe9b02b3ebc3860ac131a813471c7bfaecfd0cc620d080
3
+ size 14645
checkpoint-3045/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34d0b0f543f1bb97d8e894591db9419003b133572ecd656f2c438b70a2164949
3
+ size 1383
checkpoint-3045/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32b230e828c05430114849b04858aefb10e669ac7dd2dbd6c23ffda929dc4a56
3
+ size 1465
checkpoint-3045/trainer_state.json ADDED
@@ -0,0 +1,518 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 1827,
3
+ "best_metric": 0.88046875,
4
+ "best_model_checkpoint": "./ner_crf_boundary_output/checkpoint-1827",
5
+ "epoch": 5.0,
6
+ "eval_steps": 500,
7
+ "global_step": 3045,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.08213552361396304,
14
+ "grad_norm": 289.9013977050781,
15
+ "learning_rate": 2.677595628415301e-06,
16
+ "loss": 7.03633056640625,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.16427104722792607,
21
+ "grad_norm": 397.5795593261719,
22
+ "learning_rate": 5.409836065573772e-06,
23
+ "loss": 5.944567260742187,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.2464065708418891,
28
+ "grad_norm": 1030.340576171875,
29
+ "learning_rate": 8.14207650273224e-06,
30
+ "loss": 6.386118774414062,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 0.32854209445585214,
35
+ "grad_norm": 416.71173095703125,
36
+ "learning_rate": 9.944095038434662e-06,
37
+ "loss": 6.638558349609375,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 0.4106776180698152,
42
+ "grad_norm": 379.8328857421875,
43
+ "learning_rate": 9.769392033542979e-06,
44
+ "loss": 5.887216186523437,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 0.4928131416837782,
49
+ "grad_norm": 328.294921875,
50
+ "learning_rate": 9.594689028651294e-06,
51
+ "loss": 6.057736206054687,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 0.5749486652977412,
56
+ "grad_norm": 306.49560546875,
57
+ "learning_rate": 9.41998602375961e-06,
58
+ "loss": 6.300731201171875,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 0.6570841889117043,
63
+ "grad_norm": 406.1339111328125,
64
+ "learning_rate": 9.245283018867926e-06,
65
+ "loss": 5.523515625,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 0.7392197125256673,
70
+ "grad_norm": 405.34136962890625,
71
+ "learning_rate": 9.070580013976241e-06,
72
+ "loss": 6.377322998046875,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 0.8213552361396304,
77
+ "grad_norm": 219.61463928222656,
78
+ "learning_rate": 8.895877009084557e-06,
79
+ "loss": 5.774469604492188,
80
+ "step": 500
81
+ },
82
+ {
83
+ "epoch": 0.9034907597535934,
84
+ "grad_norm": 294.69683837890625,
85
+ "learning_rate": 8.721174004192873e-06,
86
+ "loss": 6.709805297851562,
87
+ "step": 550
88
+ },
89
+ {
90
+ "epoch": 0.9856262833675564,
91
+ "grad_norm": 397.64190673828125,
92
+ "learning_rate": 8.546470999301189e-06,
93
+ "loss": 5.980140991210938,
94
+ "step": 600
95
+ },
96
+ {
97
+ "epoch": 1.0,
98
+ "eval_f1": 0.8755947274003588,
99
+ "eval_loss": 4.1545538902282715,
100
+ "eval_precision": 0.8619471744471745,
101
+ "eval_recall": 0.8896814075130766,
102
+ "eval_runtime": 44.15,
103
+ "eval_samples_per_second": 49.015,
104
+ "eval_steps_per_second": 6.138,
105
+ "step": 609
106
+ },
107
+ {
108
+ "epoch": 1.0673511293634497,
109
+ "grad_norm": 406.8649597167969,
110
+ "learning_rate": 8.371767994409504e-06,
111
+ "loss": 5.502258911132812,
112
+ "step": 650
113
+ },
114
+ {
115
+ "epoch": 1.1494866529774128,
116
+ "grad_norm": 353.2889709472656,
117
+ "learning_rate": 8.19706498951782e-06,
118
+ "loss": 5.161415405273438,
119
+ "step": 700
120
+ },
121
+ {
122
+ "epoch": 1.2316221765913757,
123
+ "grad_norm": 524.7266845703125,
124
+ "learning_rate": 8.022361984626136e-06,
125
+ "loss": 6.095115966796875,
126
+ "step": 750
127
+ },
128
+ {
129
+ "epoch": 1.3137577002053389,
130
+ "grad_norm": 532.918212890625,
131
+ "learning_rate": 7.847658979734451e-06,
132
+ "loss": 5.310472412109375,
133
+ "step": 800
134
+ },
135
+ {
136
+ "epoch": 1.3958932238193018,
137
+ "grad_norm": 481.7142639160156,
138
+ "learning_rate": 7.672955974842768e-06,
139
+ "loss": 5.16358154296875,
140
+ "step": 850
141
+ },
142
+ {
143
+ "epoch": 1.478028747433265,
144
+ "grad_norm": 427.3961181640625,
145
+ "learning_rate": 7.498252969951084e-06,
146
+ "loss": 5.792083740234375,
147
+ "step": 900
148
+ },
149
+ {
150
+ "epoch": 1.5601642710472279,
151
+ "grad_norm": 571.2908935546875,
152
+ "learning_rate": 7.3235499650594e-06,
153
+ "loss": 4.886295166015625,
154
+ "step": 950
155
+ },
156
+ {
157
+ "epoch": 1.642299794661191,
158
+ "grad_norm": 310.74542236328125,
159
+ "learning_rate": 7.148846960167716e-06,
160
+ "loss": 5.547396240234375,
161
+ "step": 1000
162
+ },
163
+ {
164
+ "epoch": 1.724435318275154,
165
+ "grad_norm": 210.18771362304688,
166
+ "learning_rate": 6.974143955276031e-06,
167
+ "loss": 5.537097778320312,
168
+ "step": 1050
169
+ },
170
+ {
171
+ "epoch": 1.806570841889117,
172
+ "grad_norm": 323.7012023925781,
173
+ "learning_rate": 6.799440950384347e-06,
174
+ "loss": 4.974610290527344,
175
+ "step": 1100
176
+ },
177
+ {
178
+ "epoch": 1.8887063655030802,
179
+ "grad_norm": 300.61309814453125,
180
+ "learning_rate": 6.624737945492663e-06,
181
+ "loss": 5.379744262695312,
182
+ "step": 1150
183
+ },
184
+ {
185
+ "epoch": 1.9708418891170432,
186
+ "grad_norm": 420.67388916015625,
187
+ "learning_rate": 6.4500349406009785e-06,
188
+ "loss": 5.358375854492188,
189
+ "step": 1200
190
+ },
191
+ {
192
+ "epoch": 2.0,
193
+ "eval_f1": 0.8758669056339127,
194
+ "eval_loss": 4.113088607788086,
195
+ "eval_precision": 0.8614347026364194,
196
+ "eval_recall": 0.8907909335869393,
197
+ "eval_runtime": 44.1674,
198
+ "eval_samples_per_second": 48.995,
199
+ "eval_steps_per_second": 6.136,
200
+ "step": 1218
201
+ },
202
+ {
203
+ "epoch": 2.0525667351129364,
204
+ "grad_norm": 716.19775390625,
205
+ "learning_rate": 6.275331935709295e-06,
206
+ "loss": 5.002279052734375,
207
+ "step": 1250
208
+ },
209
+ {
210
+ "epoch": 2.1347022587268993,
211
+ "grad_norm": 269.1075439453125,
212
+ "learning_rate": 6.100628930817611e-06,
213
+ "loss": 4.724185180664063,
214
+ "step": 1300
215
+ },
216
+ {
217
+ "epoch": 2.2168377823408623,
218
+ "grad_norm": 386.7925720214844,
219
+ "learning_rate": 5.925925925925926e-06,
220
+ "loss": 4.566873779296875,
221
+ "step": 1350
222
+ },
223
+ {
224
+ "epoch": 2.2989733059548256,
225
+ "grad_norm": 348.7635803222656,
226
+ "learning_rate": 5.751222921034242e-06,
227
+ "loss": 4.5791323852539065,
228
+ "step": 1400
229
+ },
230
+ {
231
+ "epoch": 2.3811088295687886,
232
+ "grad_norm": 226.85601806640625,
233
+ "learning_rate": 5.576519916142558e-06,
234
+ "loss": 4.002293090820313,
235
+ "step": 1450
236
+ },
237
+ {
238
+ "epoch": 2.4632443531827515,
239
+ "grad_norm": 324.4167785644531,
240
+ "learning_rate": 5.401816911250875e-06,
241
+ "loss": 4.811328125,
242
+ "step": 1500
243
+ },
244
+ {
245
+ "epoch": 2.545379876796715,
246
+ "grad_norm": 265.19696044921875,
247
+ "learning_rate": 5.22711390635919e-06,
248
+ "loss": 4.3527978515625,
249
+ "step": 1550
250
+ },
251
+ {
252
+ "epoch": 2.6275154004106778,
253
+ "grad_norm": 255.17453002929688,
254
+ "learning_rate": 5.052410901467506e-06,
255
+ "loss": 4.515827026367187,
256
+ "step": 1600
257
+ },
258
+ {
259
+ "epoch": 2.7096509240246407,
260
+ "grad_norm": 343.71630859375,
261
+ "learning_rate": 4.877707896575822e-06,
262
+ "loss": 4.646475830078125,
263
+ "step": 1650
264
+ },
265
+ {
266
+ "epoch": 2.7917864476386036,
267
+ "grad_norm": 309.7668151855469,
268
+ "learning_rate": 4.703004891684137e-06,
269
+ "loss": 4.717439880371094,
270
+ "step": 1700
271
+ },
272
+ {
273
+ "epoch": 2.8739219712525665,
274
+ "grad_norm": 211.75811767578125,
275
+ "learning_rate": 4.528301886792453e-06,
276
+ "loss": 4.192425231933594,
277
+ "step": 1750
278
+ },
279
+ {
280
+ "epoch": 2.95605749486653,
281
+ "grad_norm": 471.5155334472656,
282
+ "learning_rate": 4.353598881900769e-06,
283
+ "loss": 5.051603088378906,
284
+ "step": 1800
285
+ },
286
+ {
287
+ "epoch": 3.0,
288
+ "eval_f1": 0.88046875,
289
+ "eval_loss": 4.196066379547119,
290
+ "eval_precision": 0.8681250962871668,
291
+ "eval_recall": 0.8931684894595023,
292
+ "eval_runtime": 43.3428,
293
+ "eval_samples_per_second": 49.928,
294
+ "eval_steps_per_second": 6.252,
295
+ "step": 1827
296
+ },
297
+ {
298
+ "epoch": 3.037782340862423,
299
+ "grad_norm": 235.75936889648438,
300
+ "learning_rate": 4.1788958770090845e-06,
301
+ "loss": 4.453041381835938,
302
+ "step": 1850
303
+ },
304
+ {
305
+ "epoch": 3.119917864476386,
306
+ "grad_norm": 343.1545715332031,
307
+ "learning_rate": 4.0041928721174006e-06,
308
+ "loss": 3.923203430175781,
309
+ "step": 1900
310
+ },
311
+ {
312
+ "epoch": 3.202053388090349,
313
+ "grad_norm": 272.7549743652344,
314
+ "learning_rate": 3.829489867225717e-06,
315
+ "loss": 4.473578796386719,
316
+ "step": 1950
317
+ },
318
+ {
319
+ "epoch": 3.284188911704312,
320
+ "grad_norm": 205.64874267578125,
321
+ "learning_rate": 3.6547868623340327e-06,
322
+ "loss": 3.830061340332031,
323
+ "step": 2000
324
+ },
325
+ {
326
+ "epoch": 3.3663244353182753,
327
+ "grad_norm": 508.5237121582031,
328
+ "learning_rate": 3.4800838574423483e-06,
329
+ "loss": 3.810235595703125,
330
+ "step": 2050
331
+ },
332
+ {
333
+ "epoch": 3.4484599589322382,
334
+ "grad_norm": 292.8867492675781,
335
+ "learning_rate": 3.3053808525506643e-06,
336
+ "loss": 3.886056213378906,
337
+ "step": 2100
338
+ },
339
+ {
340
+ "epoch": 3.530595482546201,
341
+ "grad_norm": 348.3034362792969,
342
+ "learning_rate": 3.13067784765898e-06,
343
+ "loss": 3.2952536010742186,
344
+ "step": 2150
345
+ },
346
+ {
347
+ "epoch": 3.612731006160164,
348
+ "grad_norm": 287.3987121582031,
349
+ "learning_rate": 2.9559748427672955e-06,
350
+ "loss": 4.358919067382812,
351
+ "step": 2200
352
+ },
353
+ {
354
+ "epoch": 3.6948665297741274,
355
+ "grad_norm": 186.44305419921875,
356
+ "learning_rate": 2.7812718378756116e-06,
357
+ "loss": 4.031048583984375,
358
+ "step": 2250
359
+ },
360
+ {
361
+ "epoch": 3.7770020533880904,
362
+ "grad_norm": 588.447509765625,
363
+ "learning_rate": 2.606568832983927e-06,
364
+ "loss": 4.055077819824219,
365
+ "step": 2300
366
+ },
367
+ {
368
+ "epoch": 3.8591375770020533,
369
+ "grad_norm": 305.3722229003906,
370
+ "learning_rate": 2.4318658280922432e-06,
371
+ "loss": 3.518572998046875,
372
+ "step": 2350
373
+ },
374
+ {
375
+ "epoch": 3.9412731006160167,
376
+ "grad_norm": 403.2993469238281,
377
+ "learning_rate": 2.2571628232005593e-06,
378
+ "loss": 4.462532958984375,
379
+ "step": 2400
380
+ },
381
+ {
382
+ "epoch": 4.0,
383
+ "eval_f1": 0.878969957081545,
384
+ "eval_loss": 4.369068145751953,
385
+ "eval_precision": 0.8656624654165386,
386
+ "eval_recall": 0.8926929782849897,
387
+ "eval_runtime": 42.2843,
388
+ "eval_samples_per_second": 51.177,
389
+ "eval_steps_per_second": 6.409,
390
+ "step": 2436
391
+ },
392
+ {
393
+ "epoch": 4.02299794661191,
394
+ "grad_norm": 281.2543029785156,
395
+ "learning_rate": 2.082459818308875e-06,
396
+ "loss": 3.9037939453125,
397
+ "step": 2450
398
+ },
399
+ {
400
+ "epoch": 4.105133470225873,
401
+ "grad_norm": 371.0896911621094,
402
+ "learning_rate": 1.907756813417191e-06,
403
+ "loss": 3.2074765014648436,
404
+ "step": 2500
405
+ },
406
+ {
407
+ "epoch": 4.187268993839836,
408
+ "grad_norm": 297.3424987792969,
409
+ "learning_rate": 1.7330538085255066e-06,
410
+ "loss": 3.682501220703125,
411
+ "step": 2550
412
+ },
413
+ {
414
+ "epoch": 4.269404517453799,
415
+ "grad_norm": 367.3387756347656,
416
+ "learning_rate": 1.5583508036338226e-06,
417
+ "loss": 3.2262432861328123,
418
+ "step": 2600
419
+ },
420
+ {
421
+ "epoch": 4.351540041067762,
422
+ "grad_norm": 250.43655395507812,
423
+ "learning_rate": 1.3836477987421384e-06,
424
+ "loss": 3.864920349121094,
425
+ "step": 2650
426
+ },
427
+ {
428
+ "epoch": 4.4336755646817245,
429
+ "grad_norm": 296.9447937011719,
430
+ "learning_rate": 1.2089447938504543e-06,
431
+ "loss": 3.5194046020507814,
432
+ "step": 2700
433
+ },
434
+ {
435
+ "epoch": 4.515811088295688,
436
+ "grad_norm": 321.5145263671875,
437
+ "learning_rate": 1.03424178895877e-06,
438
+ "loss": 3.8251571655273438,
439
+ "step": 2750
440
+ },
441
+ {
442
+ "epoch": 4.597946611909651,
443
+ "grad_norm": 273.0017395019531,
444
+ "learning_rate": 8.59538784067086e-07,
445
+ "loss": 3.709759521484375,
446
+ "step": 2800
447
+ },
448
+ {
449
+ "epoch": 4.680082135523614,
450
+ "grad_norm": 221.5639190673828,
451
+ "learning_rate": 6.84835779175402e-07,
452
+ "loss": 3.486819152832031,
453
+ "step": 2850
454
+ },
455
+ {
456
+ "epoch": 4.762217659137577,
457
+ "grad_norm": 214.02008056640625,
458
+ "learning_rate": 5.101327742837178e-07,
459
+ "loss": 3.5221002197265623,
460
+ "step": 2900
461
+ },
462
+ {
463
+ "epoch": 4.84435318275154,
464
+ "grad_norm": 300.3870544433594,
465
+ "learning_rate": 3.3542976939203357e-07,
466
+ "loss": 3.477908935546875,
467
+ "step": 2950
468
+ },
469
+ {
470
+ "epoch": 4.926488706365503,
471
+ "grad_norm": 416.9628601074219,
472
+ "learning_rate": 1.6072676450034943e-07,
473
+ "loss": 3.711861877441406,
474
+ "step": 3000
475
+ },
476
+ {
477
+ "epoch": 5.0,
478
+ "eval_f1": 0.8796317965519931,
479
+ "eval_loss": 4.447880744934082,
480
+ "eval_precision": 0.8660522273425499,
481
+ "eval_recall": 0.893644000634015,
482
+ "eval_runtime": 41.9192,
483
+ "eval_samples_per_second": 51.623,
484
+ "eval_steps_per_second": 6.465,
485
+ "step": 3045
486
+ }
487
+ ],
488
+ "logging_steps": 50,
489
+ "max_steps": 3045,
490
+ "num_input_tokens_seen": 0,
491
+ "num_train_epochs": 5,
492
+ "save_steps": 500,
493
+ "stateful_callbacks": {
494
+ "EarlyStoppingCallback": {
495
+ "args": {
496
+ "early_stopping_patience": 2,
497
+ "early_stopping_threshold": 0.0
498
+ },
499
+ "attributes": {
500
+ "early_stopping_patience_counter": 2
501
+ }
502
+ },
503
+ "TrainerControl": {
504
+ "args": {
505
+ "should_epoch_stop": false,
506
+ "should_evaluate": false,
507
+ "should_log": false,
508
+ "should_save": true,
509
+ "should_training_stop": true
510
+ },
511
+ "attributes": {}
512
+ }
513
+ },
514
+ "total_flos": 0.0,
515
+ "train_batch_size": 8,
516
+ "trial_name": null,
517
+ "trial_params": null
518
+ }
checkpoint-3045/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97858c4638f99430a1879ac2e22898be13fdaf4eb03fabedc400f472205c63d0
3
+ size 5201
checkpoint-609/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe0e30051ae237ef164c550f5dcb3e487285978129f5a1d1e04d6dd554fdb311
3
+ size 498726232
checkpoint-609/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:742aae66fb774561fea8409d1a686f7e3904d50f03255cd0ac0334ed468c6a33
3
+ size 992853771
checkpoint-609/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a49c3dda9a9b0c96cb6edbd8ac80d359fbc7c5de327759d73472394cb2862b1
3
+ size 14645
checkpoint-609/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f92786f9857c13a7306e7bdedf19eec87a1017458a9774feeed8265292da2830
3
+ size 1383
checkpoint-609/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3783a058d579a4bebde371fc21e863100872f2a65c8b89e47625047cbb941522
3
+ size 1465
checkpoint-609/trainer_state.json ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 609,
3
+ "best_metric": 0.8755947274003588,
4
+ "best_model_checkpoint": "./ner_crf_boundary_output/checkpoint-609",
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 609,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.08213552361396304,
14
+ "grad_norm": 289.9013977050781,
15
+ "learning_rate": 2.677595628415301e-06,
16
+ "loss": 7.03633056640625,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.16427104722792607,
21
+ "grad_norm": 397.5795593261719,
22
+ "learning_rate": 5.409836065573772e-06,
23
+ "loss": 5.944567260742187,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.2464065708418891,
28
+ "grad_norm": 1030.340576171875,
29
+ "learning_rate": 8.14207650273224e-06,
30
+ "loss": 6.386118774414062,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 0.32854209445585214,
35
+ "grad_norm": 416.71173095703125,
36
+ "learning_rate": 9.944095038434662e-06,
37
+ "loss": 6.638558349609375,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 0.4106776180698152,
42
+ "grad_norm": 379.8328857421875,
43
+ "learning_rate": 9.769392033542979e-06,
44
+ "loss": 5.887216186523437,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 0.4928131416837782,
49
+ "grad_norm": 328.294921875,
50
+ "learning_rate": 9.594689028651294e-06,
51
+ "loss": 6.057736206054687,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 0.5749486652977412,
56
+ "grad_norm": 306.49560546875,
57
+ "learning_rate": 9.41998602375961e-06,
58
+ "loss": 6.300731201171875,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 0.6570841889117043,
63
+ "grad_norm": 406.1339111328125,
64
+ "learning_rate": 9.245283018867926e-06,
65
+ "loss": 5.523515625,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 0.7392197125256673,
70
+ "grad_norm": 405.34136962890625,
71
+ "learning_rate": 9.070580013976241e-06,
72
+ "loss": 6.377322998046875,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 0.8213552361396304,
77
+ "grad_norm": 219.61463928222656,
78
+ "learning_rate": 8.895877009084557e-06,
79
+ "loss": 5.774469604492188,
80
+ "step": 500
81
+ },
82
+ {
83
+ "epoch": 0.9034907597535934,
84
+ "grad_norm": 294.69683837890625,
85
+ "learning_rate": 8.721174004192873e-06,
86
+ "loss": 6.709805297851562,
87
+ "step": 550
88
+ },
89
+ {
90
+ "epoch": 0.9856262833675564,
91
+ "grad_norm": 397.64190673828125,
92
+ "learning_rate": 8.546470999301189e-06,
93
+ "loss": 5.980140991210938,
94
+ "step": 600
95
+ },
96
+ {
97
+ "epoch": 1.0,
98
+ "eval_f1": 0.8755947274003588,
99
+ "eval_loss": 4.1545538902282715,
100
+ "eval_precision": 0.8619471744471745,
101
+ "eval_recall": 0.8896814075130766,
102
+ "eval_runtime": 44.15,
103
+ "eval_samples_per_second": 49.015,
104
+ "eval_steps_per_second": 6.138,
105
+ "step": 609
106
+ }
107
+ ],
108
+ "logging_steps": 50,
109
+ "max_steps": 3045,
110
+ "num_input_tokens_seen": 0,
111
+ "num_train_epochs": 5,
112
+ "save_steps": 500,
113
+ "stateful_callbacks": {
114
+ "EarlyStoppingCallback": {
115
+ "args": {
116
+ "early_stopping_patience": 2,
117
+ "early_stopping_threshold": 0.0
118
+ },
119
+ "attributes": {
120
+ "early_stopping_patience_counter": 0
121
+ }
122
+ },
123
+ "TrainerControl": {
124
+ "args": {
125
+ "should_epoch_stop": false,
126
+ "should_evaluate": false,
127
+ "should_log": false,
128
+ "should_save": true,
129
+ "should_training_stop": false
130
+ },
131
+ "attributes": {}
132
+ }
133
+ },
134
+ "total_flos": 0.0,
135
+ "train_batch_size": 8,
136
+ "trial_name": null,
137
+ "trial_params": null
138
+ }
checkpoint-609/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97858c4638f99430a1879ac2e22898be13fdaf4eb03fabedc400f472205c63d0
3
+ size 5201
config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model": "FacebookAI/roberta-base",
3
+ "num_labels": 35,
4
+ "label2id": {
5
+ "O": 0,
6
+ "B-PER": 1,
7
+ "I-PER": 2,
8
+ "B-ORG": 3,
9
+ "I-ORG": 4,
10
+ "B-LOC": 5,
11
+ "I-LOC": 6,
12
+ "B-FAC": 7,
13
+ "I-FAC": 8,
14
+ "B-DATE": 9,
15
+ "I-DATE": 10,
16
+ "B-TIME": 11,
17
+ "I-TIME": 12,
18
+ "B-EVT": 13,
19
+ "I-EVT": 14,
20
+ "B-PROD": 15,
21
+ "I-PROD": 16,
22
+ "B-MONEY": 17,
23
+ "I-MONEY": 18,
24
+ "B-PCT": 19,
25
+ "I-PCT": 20,
26
+ "B-LAW": 21,
27
+ "I-LAW": 22,
28
+ "B-NORP": 23,
29
+ "I-NORP": 24,
30
+ "B-LANG": 25,
31
+ "I-LANG": 26,
32
+ "B-WOA": 27,
33
+ "I-WOA": 28,
34
+ "B-QTY": 29,
35
+ "I-QTY": 30,
36
+ "B-ORD": 31,
37
+ "I-ORD": 32,
38
+ "B-CARD": 33,
39
+ "I-CARD": 34
40
+ },
41
+ "id2label": {
42
+ "0": "O",
43
+ "1": "B-PER",
44
+ "2": "I-PER",
45
+ "3": "B-ORG",
46
+ "4": "I-ORG",
47
+ "5": "B-LOC",
48
+ "6": "I-LOC",
49
+ "7": "B-FAC",
50
+ "8": "I-FAC",
51
+ "9": "B-DATE",
52
+ "10": "I-DATE",
53
+ "11": "B-TIME",
54
+ "12": "I-TIME",
55
+ "13": "B-EVT",
56
+ "14": "I-EVT",
57
+ "15": "B-PROD",
58
+ "16": "I-PROD",
59
+ "17": "B-MONEY",
60
+ "18": "I-MONEY",
61
+ "19": "B-PCT",
62
+ "20": "I-PCT",
63
+ "21": "B-LAW",
64
+ "22": "I-LAW",
65
+ "23": "B-NORP",
66
+ "24": "I-NORP",
67
+ "25": "B-LANG",
68
+ "26": "I-LANG",
69
+ "27": "B-WOA",
70
+ "28": "I-WOA",
71
+ "29": "B-QTY",
72
+ "30": "I-QTY",
73
+ "31": "B-ORD",
74
+ "32": "I-ORD",
75
+ "33": "B-CARD",
76
+ "34": "I-CARD"
77
+ },
78
+ "boundary_loss_weight": 0.3,
79
+ "boundary_smoothing_eps": 0.1,
80
+ "fgm_epsilon": 1.0,
81
+ "architecture": "RobertaCRFBoundaryForNER",
82
+ "notes": "RoBERTa encoder + linear classifier + CRF, extended with a boundary-guided interaction module (boundary_start_head/boundary_end_head), boundary-smoothed multi-task loss, and FGM adversarial training. Fine-tuned starting from Souvikbasur/roberta-crf-news-ner."
83
+ }
confusion_matrix_boundary.csv ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ gold\pred,CARD,DATE,EVT,FAC,LANG,LAW,LOC,MISSED,MONEY,NORP,ORD,ORG,PCT,PER,PROD,QTY,SPURIOUS,TIME,WOA
2
+ CARD,441,1,0,0,0,0,0,34,0,0,0,0,0,0,0,2,0,0,0
3
+ DATE,1,810,0,0,0,0,0,103,0,0,0,0,0,0,0,0,0,4,0
4
+ EVT,0,2,69,0,0,0,0,19,0,0,0,1,0,2,0,0,0,0,0
5
+ FAC,0,0,0,40,0,0,3,12,0,0,0,9,0,0,0,0,0,0,0
6
+ LANG,0,0,0,0,24,0,0,2,0,0,0,0,0,0,0,0,0,0,0
7
+ LAW,0,0,0,0,0,50,0,17,0,0,0,1,0,0,0,0,0,0,0
8
+ LOC,0,0,0,6,0,0,1232,60,0,2,0,10,0,3,1,0,0,1,1
9
+ MONEY,0,0,0,0,0,0,0,21,200,0,0,0,0,0,1,0,0,0,0
10
+ NORP,0,0,0,0,3,0,1,30,0,501,0,6,0,2,0,0,0,0,1
11
+ ORD,0,1,0,0,0,0,0,4,0,0,109,0,0,0,0,0,0,0,0
12
+ ORG,0,0,0,5,0,4,4,179,0,5,0,1199,0,14,6,0,0,0,9
13
+ PCT,1,0,0,0,0,0,0,12,0,0,0,0,139,0,0,0,0,0,0
14
+ PER,0,0,0,0,0,2,5,40,0,1,0,6,0,1056,1,0,0,0,1
15
+ PROD,0,0,0,1,0,0,0,16,0,0,0,10,0,1,122,0,0,0,1
16
+ QTY,7,4,0,0,0,0,0,21,0,0,0,0,0,0,0,69,0,0,0
17
+ SPURIOUS,70,129,17,14,1,25,59,0,22,41,20,215,18,61,19,23,0,18,49
18
+ TIME,0,3,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,64,0
19
+ WOA,0,1,1,0,0,1,0,34,0,0,0,5,0,0,3,0,0,0,91
entity_error_log_boundary.csv ADDED
The diff for this file is too large to render. See raw diff
 
final_test_report_crf_boundary.txt ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ precision recall f1-score support
2
+
3
+ CARD 0.8464 0.9245 0.8838 477
4
+ DATE 0.8538 0.8982 0.8755 904
5
+ EVT 0.8161 0.7634 0.7889 93
6
+ FAC 0.6061 0.6250 0.6154 64
7
+ LANG 0.8571 0.9231 0.8889 26
8
+ LAW 0.6463 0.7794 0.7067 68
9
+ LOC 0.9471 0.9413 0.9442 1312
10
+ MONEY 0.9009 0.9009 0.9009 222
11
+ NORP 0.9309 0.9412 0.9360 544
12
+ ORD 0.8450 0.9561 0.8971 114
13
+ ORG 0.8323 0.8539 0.8430 1424
14
+ PCT 0.8854 0.9145 0.8997 152
15
+ PER 0.9350 0.9612 0.9479 1108
16
+ PROD 0.8170 0.8278 0.8224 151
17
+ QTY 0.7340 0.6832 0.7077 101
18
+ TIME 0.7356 0.8101 0.7711 79
19
+ WOA 0.6013 0.6765 0.6367 136
20
+
21
+ micro avg 0.8724 0.8985 0.8852 6975
22
+ macro avg 0.8112 0.8459 0.8274 6975
23
+ weighted avg 0.8738 0.8985 0.8857 6975
roberta_crf_boundary_ner.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59da642e67f12de5bb7cd11d1fb3f803f90832df902a9c8876d260f15a08721f
3
+ size 498790741
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "errors": "replace",
8
+ "is_local": false,
9
+ "local_files_only": false,
10
+ "mask_token": "<mask>",
11
+ "model_max_length": 512,
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "tokenizer_class": "RobertaTokenizer",
15
+ "trim_offsets": true,
16
+ "unk_token": "<unk>"
17
+ }