NourFakih commited on
Commit
3e3c62c
·
verified ·
1 Parent(s): 3ab059e

Upload checkpoint and eval results at step 400

Browse files
checkpoint-400/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-400/eval_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "step": 400,
3
+ "epoch": 0.32362459546925565,
4
+ "time": "2026-06-26 20:20:21",
5
+ "metrics": {
6
+ "eval_loss": 0.16199301183223724,
7
+ "eval_accuracy": 0.9560384032339565,
8
+ "eval_precision": 0.9539936102236422,
9
+ "eval_recall": 0.9900530503978779,
10
+ "eval_f1": 0.9716889033517735
11
+ }
12
+ }
checkpoint-400/eval_step_000400.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "step": 400,
3
+ "epoch": 0.32362459546925565,
4
+ "time": "2026-06-26 20:20:21",
5
+ "metrics": {
6
+ "eval_loss": 0.16199301183223724,
7
+ "eval_accuracy": 0.9560384032339565,
8
+ "eval_precision": 0.9539936102236422,
9
+ "eval_recall": 0.9900530503978779,
10
+ "eval_f1": 0.9716889033517735,
11
+ "eval_runtime": 34.745,
12
+ "eval_samples_per_second": 56.958,
13
+ "eval_steps_per_second": 3.569,
14
+ "epoch": 0.32362459546925565
15
+ }
16
+ }
checkpoint-400/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f46e89f79ca5430a8129b12193f6c838cf5d640299cbfd7c61c248463ac1a81f
3
+ size 498612824
checkpoint-400/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f1d3b02dc6155bb8bc72111bca9844730fd82fb029f516e10ee80dce2ef653d
3
+ size 997348747
checkpoint-400/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:200f02172478cb5a16379b16f4d12141a4d3522bdd7e1d91fd78412a6a8173ab
3
+ size 14645
checkpoint-400/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30858f23bcb22d0baef45bd4add9d6fa474141308c12653c706077b87d932e49
3
+ size 1383
checkpoint-400/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3adcd664068c7d91429362b86fa0051a6fc411fec08c6dffd3a537a40dedb9e5
3
+ size 1465
checkpoint-400/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-400/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-400/trainer_state.json ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 400,
3
+ "best_metric": 0.9716889033517735,
4
+ "best_model_checkpoint": "/kaggle/working/outputs/codebert_rd_keystrokes/checkpoint-400",
5
+ "epoch": 0.32362459546925565,
6
+ "eval_steps": 400,
7
+ "global_step": 400,
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
+ "logging_steps": 25,
145
+ "max_steps": 4944,
146
+ "num_input_tokens_seen": 0,
147
+ "num_train_epochs": 4,
148
+ "save_steps": 400,
149
+ "stateful_callbacks": {
150
+ "EarlyStoppingCallback": {
151
+ "args": {
152
+ "early_stopping_patience": 2,
153
+ "early_stopping_threshold": 0.0
154
+ },
155
+ "attributes": {
156
+ "early_stopping_patience_counter": 0
157
+ }
158
+ },
159
+ "TrainerControl": {
160
+ "args": {
161
+ "should_epoch_stop": false,
162
+ "should_evaluate": false,
163
+ "should_log": false,
164
+ "should_save": true,
165
+ "should_training_stop": false
166
+ },
167
+ "attributes": {}
168
+ }
169
+ },
170
+ "total_flos": 1683910754304000.0,
171
+ "train_batch_size": 16,
172
+ "trial_name": null,
173
+ "trial_params": null
174
+ }
checkpoint-400/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab81eb8f627d496428c93c1d48c52e0479518be7570628b71c7a023704823dee
3
+ size 5201