NourFakih commited on
Commit
bfe5f0e
·
verified ·
1 Parent(s): a89b241

Upload checkpoint and eval results at step 800

Browse files
checkpoint-800/config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "benign",
16
+ "1": "malicious"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "is_decoder": false,
21
+ "label2id": {
22
+ "benign": 0,
23
+ "malicious": 1
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "output_past": true,
31
+ "pad_token_id": 1,
32
+ "tie_word_embeddings": true,
33
+ "transformers_version": "5.12.1",
34
+ "type_vocab_size": 1,
35
+ "use_cache": false,
36
+ "vocab_size": 50265
37
+ }
checkpoint-800/eval_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "step": 800,
3
+ "epoch": 0.6472491909385113,
4
+ "time": "2026-06-26 20:27:20",
5
+ "metrics": {
6
+ "eval_loss": 0.14249353110790253,
7
+ "eval_accuracy": 0.965133906013138,
8
+ "eval_precision": 0.967511371020143,
9
+ "eval_recall": 0.9874005305039788,
10
+ "eval_f1": 0.9773547751887102
11
+ }
12
+ }
checkpoint-800/eval_step_000800.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "step": 800,
3
+ "epoch": 0.6472491909385113,
4
+ "time": "2026-06-26 20:27:20",
5
+ "metrics": {
6
+ "eval_loss": 0.14249353110790253,
7
+ "eval_accuracy": 0.965133906013138,
8
+ "eval_precision": 0.967511371020143,
9
+ "eval_recall": 0.9874005305039788,
10
+ "eval_f1": 0.9773547751887102,
11
+ "eval_runtime": 34.6417,
12
+ "eval_samples_per_second": 57.128,
13
+ "eval_steps_per_second": 3.58,
14
+ "epoch": 0.6472491909385113
15
+ }
16
+ }
checkpoint-800/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:077d729a91aeb26f274d2ff2649e8566e54d505ecdfeb2e5dfa90ad4f069e8f5
3
+ size 498612824
checkpoint-800/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f290985c52402fdf78a8ee530e10adb2c7cd4c09c026c306a9a2f0205fec3f53
3
+ size 997348747
checkpoint-800/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be7ea52e301e5c370808f1b746f42154bba24d5ae179897fd70607a80bf8a1fa
3
+ size 14645
checkpoint-800/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fef122931c86c2d2736773be787da21ac6460d41580735381e953556fb410be
3
+ size 1383
checkpoint-800/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03d66fd3ac27d88c94392fa1c099bcc8bc02d0b72a915ac72cc4e2783c1344c7
3
+ size 1465
checkpoint-800/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-800/tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
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": 1000000000,
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "tokenizer_class": "RobertaTokenizer",
15
+ "trim_offsets": true,
16
+ "unk_token": "<unk>"
17
+ }
checkpoint-800/trainer_state.json ADDED
@@ -0,0 +1,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 800,
3
+ "best_metric": 0.9773547751887102,
4
+ "best_model_checkpoint": "/kaggle/working/outputs/codebert_rd_keystrokes/checkpoint-800",
5
+ "epoch": 0.6472491909385113,
6
+ "eval_steps": 400,
7
+ "global_step": 800,
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.0008090614886731392,
14
+ "grad_norm": 4.001261234283447,
15
+ "learning_rate": 0.0,
16
+ "loss": 0.748644232749939,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.020226537216828478,
21
+ "grad_norm": 2.0581886768341064,
22
+ "learning_rate": 9.716599190283402e-07,
23
+ "loss": 0.7263915538787842,
24
+ "step": 25
25
+ },
26
+ {
27
+ "epoch": 0.040453074433656956,
28
+ "grad_norm": 3.1348977088928223,
29
+ "learning_rate": 1.9838056680161946e-06,
30
+ "loss": 0.7004936218261719,
31
+ "step": 50
32
+ },
33
+ {
34
+ "epoch": 0.06067961165048544,
35
+ "grad_norm": 7.536289215087891,
36
+ "learning_rate": 2.995951417004049e-06,
37
+ "loss": 0.6983621978759765,
38
+ "step": 75
39
+ },
40
+ {
41
+ "epoch": 0.08090614886731391,
42
+ "grad_norm": 5.387710094451904,
43
+ "learning_rate": 4.008097165991903e-06,
44
+ "loss": 0.6408506774902344,
45
+ "step": 100
46
+ },
47
+ {
48
+ "epoch": 0.1011326860841424,
49
+ "grad_norm": 4.4866790771484375,
50
+ "learning_rate": 5.020242914979757e-06,
51
+ "loss": 0.5292000961303711,
52
+ "step": 125
53
+ },
54
+ {
55
+ "epoch": 0.12135922330097088,
56
+ "grad_norm": 5.9393534660339355,
57
+ "learning_rate": 6.0323886639676124e-06,
58
+ "loss": 0.4315451049804688,
59
+ "step": 150
60
+ },
61
+ {
62
+ "epoch": 0.14158576051779936,
63
+ "grad_norm": 4.814444065093994,
64
+ "learning_rate": 7.044534412955466e-06,
65
+ "loss": 0.3674881362915039,
66
+ "step": 175
67
+ },
68
+ {
69
+ "epoch": 0.16181229773462782,
70
+ "grad_norm": 2.463817834854126,
71
+ "learning_rate": 8.056680161943322e-06,
72
+ "loss": 0.29549776077270506,
73
+ "step": 200
74
+ },
75
+ {
76
+ "epoch": 0.1820388349514563,
77
+ "grad_norm": 1.6270427703857422,
78
+ "learning_rate": 9.068825910931175e-06,
79
+ "loss": 0.19513965606689454,
80
+ "step": 225
81
+ },
82
+ {
83
+ "epoch": 0.2022653721682848,
84
+ "grad_norm": 15.206025123596191,
85
+ "learning_rate": 1.008097165991903e-05,
86
+ "loss": 0.258267822265625,
87
+ "step": 250
88
+ },
89
+ {
90
+ "epoch": 0.22249190938511326,
91
+ "grad_norm": 5.6893134117126465,
92
+ "learning_rate": 1.1093117408906884e-05,
93
+ "loss": 0.3252030563354492,
94
+ "step": 275
95
+ },
96
+ {
97
+ "epoch": 0.24271844660194175,
98
+ "grad_norm": 15.90676498413086,
99
+ "learning_rate": 1.2105263157894737e-05,
100
+ "loss": 0.2558871841430664,
101
+ "step": 300
102
+ },
103
+ {
104
+ "epoch": 0.26294498381877024,
105
+ "grad_norm": 1.5257281064987183,
106
+ "learning_rate": 1.3117408906882592e-05,
107
+ "loss": 0.20428178787231446,
108
+ "step": 325
109
+ },
110
+ {
111
+ "epoch": 0.28317152103559873,
112
+ "grad_norm": 20.172571182250977,
113
+ "learning_rate": 1.4129554655870446e-05,
114
+ "loss": 0.2579817008972168,
115
+ "step": 350
116
+ },
117
+ {
118
+ "epoch": 0.30339805825242716,
119
+ "grad_norm": 0.42674902081489563,
120
+ "learning_rate": 1.5141700404858302e-05,
121
+ "loss": 0.3013817977905273,
122
+ "step": 375
123
+ },
124
+ {
125
+ "epoch": 0.32362459546925565,
126
+ "grad_norm": 0.6443495750427246,
127
+ "learning_rate": 1.6153846153846154e-05,
128
+ "loss": 0.22500619888305665,
129
+ "step": 400
130
+ },
131
+ {
132
+ "epoch": 0.32362459546925565,
133
+ "eval_accuracy": 0.9560384032339565,
134
+ "eval_f1": 0.9716889033517735,
135
+ "eval_loss": 0.16199301183223724,
136
+ "eval_precision": 0.9539936102236422,
137
+ "eval_recall": 0.9900530503978779,
138
+ "eval_runtime": 34.745,
139
+ "eval_samples_per_second": 56.958,
140
+ "eval_steps_per_second": 3.569,
141
+ "step": 400
142
+ },
143
+ {
144
+ "epoch": 0.34385113268608414,
145
+ "grad_norm": 12.952281951904297,
146
+ "learning_rate": 1.716599190283401e-05,
147
+ "loss": 0.23191883087158202,
148
+ "step": 425
149
+ },
150
+ {
151
+ "epoch": 0.3640776699029126,
152
+ "grad_norm": 19.496694564819336,
153
+ "learning_rate": 1.8178137651821864e-05,
154
+ "loss": 0.26200836181640624,
155
+ "step": 450
156
+ },
157
+ {
158
+ "epoch": 0.3843042071197411,
159
+ "grad_norm": 2.9963057041168213,
160
+ "learning_rate": 1.9190283400809718e-05,
161
+ "loss": 0.164515438079834,
162
+ "step": 475
163
+ },
164
+ {
165
+ "epoch": 0.4045307443365696,
166
+ "grad_norm": 0.2180398553609848,
167
+ "learning_rate": 1.999993769982229e-05,
168
+ "loss": 0.2513391304016113,
169
+ "step": 500
170
+ },
171
+ {
172
+ "epoch": 0.42475728155339804,
173
+ "grad_norm": 15.512799263000488,
174
+ "learning_rate": 1.9997757275108847e-05,
175
+ "loss": 0.30474105834960935,
176
+ "step": 525
177
+ },
178
+ {
179
+ "epoch": 0.4449838187702265,
180
+ "grad_norm": 23.762832641601562,
181
+ "learning_rate": 1.9992462617728763e-05,
182
+ "loss": 0.214493408203125,
183
+ "step": 550
184
+ },
185
+ {
186
+ "epoch": 0.465210355987055,
187
+ "grad_norm": 0.5767886638641357,
188
+ "learning_rate": 1.9984055376931414e-05,
189
+ "loss": 0.23740652084350586,
190
+ "step": 575
191
+ },
192
+ {
193
+ "epoch": 0.4854368932038835,
194
+ "grad_norm": 3.6927132606506348,
195
+ "learning_rate": 1.9972538171514525e-05,
196
+ "loss": 0.2517130470275879,
197
+ "step": 600
198
+ },
199
+ {
200
+ "epoch": 0.5056634304207119,
201
+ "grad_norm": 2.146721363067627,
202
+ "learning_rate": 1.9957914589008405e-05,
203
+ "loss": 0.21869991302490235,
204
+ "step": 625
205
+ },
206
+ {
207
+ "epoch": 0.5258899676375405,
208
+ "grad_norm": 9.424388885498047,
209
+ "learning_rate": 1.9940189184558487e-05,
210
+ "loss": 0.2582887077331543,
211
+ "step": 650
212
+ },
213
+ {
214
+ "epoch": 0.5461165048543689,
215
+ "grad_norm": 4.679764747619629,
216
+ "learning_rate": 1.9919367479506413e-05,
217
+ "loss": 0.2324064254760742,
218
+ "step": 675
219
+ },
220
+ {
221
+ "epoch": 0.5663430420711975,
222
+ "grad_norm": 3.0119147300720215,
223
+ "learning_rate": 1.989545595967018e-05,
224
+ "loss": 0.23698102951049804,
225
+ "step": 700
226
+ },
227
+ {
228
+ "epoch": 0.5865695792880259,
229
+ "grad_norm": 10.184627532958984,
230
+ "learning_rate": 1.986846207332384e-05,
231
+ "loss": 0.23535886764526368,
232
+ "step": 725
233
+ },
234
+ {
235
+ "epoch": 0.6067961165048543,
236
+ "grad_norm": 51.39314651489258,
237
+ "learning_rate": 1.9838394228877443e-05,
238
+ "loss": 0.13176690101623534,
239
+ "step": 750
240
+ },
241
+ {
242
+ "epoch": 0.6270226537216829,
243
+ "grad_norm": 18.441652297973633,
244
+ "learning_rate": 1.980526179225785e-05,
245
+ "loss": 0.2888069725036621,
246
+ "step": 775
247
+ },
248
+ {
249
+ "epoch": 0.6472491909385113,
250
+ "grad_norm": 0.9691627621650696,
251
+ "learning_rate": 1.97690750839913e-05,
252
+ "loss": 0.29139081954956053,
253
+ "step": 800
254
+ },
255
+ {
256
+ "epoch": 0.6472491909385113,
257
+ "eval_accuracy": 0.965133906013138,
258
+ "eval_f1": 0.9773547751887102,
259
+ "eval_loss": 0.14249353110790253,
260
+ "eval_precision": 0.967511371020143,
261
+ "eval_recall": 0.9874005305039788,
262
+ "eval_runtime": 34.6417,
263
+ "eval_samples_per_second": 57.128,
264
+ "eval_steps_per_second": 3.58,
265
+ "step": 800
266
+ }
267
+ ],
268
+ "logging_steps": 25,
269
+ "max_steps": 4944,
270
+ "num_input_tokens_seen": 0,
271
+ "num_train_epochs": 4,
272
+ "save_steps": 400,
273
+ "stateful_callbacks": {
274
+ "EarlyStoppingCallback": {
275
+ "args": {
276
+ "early_stopping_patience": 2,
277
+ "early_stopping_threshold": 0.0
278
+ },
279
+ "attributes": {
280
+ "early_stopping_patience_counter": 0
281
+ }
282
+ },
283
+ "TrainerControl": {
284
+ "args": {
285
+ "should_epoch_stop": false,
286
+ "should_evaluate": false,
287
+ "should_log": false,
288
+ "should_save": true,
289
+ "should_training_stop": false
290
+ },
291
+ "attributes": {}
292
+ }
293
+ },
294
+ "total_flos": 3367821508608000.0,
295
+ "train_batch_size": 16,
296
+ "trial_name": null,
297
+ "trial_params": null
298
+ }
checkpoint-800/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab81eb8f627d496428c93c1d48c52e0479518be7570628b71c7a023704823dee
3
+ size 5201