NourFakih commited on
Commit
e8bc54b
·
verified ·
1 Parent(s): 83295da

Upload folder using huggingface_hub

Browse files
checkpoints/checkpoint-373/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "problem_type": "single_label_classification",
33
+ "tie_word_embeddings": true,
34
+ "transformers_version": "5.12.1",
35
+ "type_vocab_size": 1,
36
+ "use_cache": false,
37
+ "vocab_size": 50265
38
+ }
checkpoints/checkpoint-373/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:486b995644901b558a11665afed2cc6857967543037961148c17b8994eaa915e
3
+ size 498612824
checkpoints/checkpoint-373/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0932dc36f6d0f61eea786c3d9ae05c4a774c7d9d73a410fb78f566c7a329f739
3
+ size 997345931
checkpoints/checkpoint-373/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d14976c2ce94ff6763e782a0be2a9a7eee47c88c3fabc3e025c846ffcf3d81b
3
+ size 14645
checkpoints/checkpoint-373/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a952edad49a120f28043464bdd48b2869473d88d670a4e3feacdbf53b4b8628
3
+ size 1383
checkpoints/checkpoint-373/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6df707bdffb7fc0fee5f390a92e058b1d524641eca3e0a1ffad4efd70d2d1c08
3
+ size 1465
checkpoints/checkpoint-373/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints/checkpoint-373/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": 512,
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "tokenizer_class": "RobertaTokenizer",
15
+ "trim_offsets": true,
16
+ "unk_token": "<unk>"
17
+ }
checkpoints/checkpoint-373/trainer_state.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 373,
3
+ "best_metric": 0.8898085876875323,
4
+ "best_model_checkpoint": "/kaggle/working/outputs/codebert-all-combined/microsoft-codebert-base/checkpoint-373",
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 373,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "grad_norm": 8.451900482177734,
15
+ "learning_rate": 1.3351206434316355e-05,
16
+ "loss": 3.253069430190181,
17
+ "step": 373
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "eval_accuracy": 0.8352668213457076,
22
+ "eval_f1": 0.8898085876875323,
23
+ "eval_loss": 0.5276884436607361,
24
+ "eval_precision": 0.8143939393939394,
25
+ "eval_recall": 0.9806157354618016,
26
+ "eval_runtime": 26.2521,
27
+ "eval_samples_per_second": 49.253,
28
+ "eval_steps_per_second": 3.085,
29
+ "step": 373
30
+ }
31
+ ],
32
+ "logging_steps": 500,
33
+ "max_steps": 1119,
34
+ "num_input_tokens_seen": 0,
35
+ "num_train_epochs": 3,
36
+ "save_steps": 500,
37
+ "stateful_callbacks": {
38
+ "TrainerControl": {
39
+ "args": {
40
+ "should_epoch_stop": false,
41
+ "should_evaluate": false,
42
+ "should_log": false,
43
+ "should_save": true,
44
+ "should_training_stop": false
45
+ },
46
+ "attributes": {}
47
+ }
48
+ },
49
+ "total_flos": 3134178891448320.0,
50
+ "train_batch_size": 8,
51
+ "trial_name": null,
52
+ "trial_params": null
53
+ }
checkpoints/checkpoint-373/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:598d860116460531531bc67a3275a56e23b861c99aa3b705d980c0bea50f75d7
3
+ size 5201