NourFakih commited on
Commit
3d0be64
·
verified ·
1 Parent(s): b6e15db

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # microsoft/codebert-base Script Detector
2
+
3
+ ## Summary
4
+
5
+ | Field | Value |
6
+ | --- | --- |
7
+ | Base model | `microsoft/codebert-base` |
8
+ | Phase | `phase1` |
9
+ | Target repo | `HID-APP/script-detector-microsoft-codebert-base` |
10
+ | Datasets | `HID-APP/All-combined` |
11
+ | Text column | `text` |
12
+ | Epochs | 3.0000 |
13
+ | Max length | 512 |
14
+ | Train batch size | 4 |
15
+ | Eval batch size | 8 |
16
+ | Gradient accumulation steps | 4 |
17
+ | Learning rate | 0.0000 |
18
+ | Precision | fp16 |
19
+ | Optimizer | adamw_torch |
20
+ | Dataloader workers | 0 |
21
+ | Gradient checkpointing | False |
22
+ | Group by length | True |
23
+ | LoRA enabled | False |
24
+
25
+ ## Dataset Sources
26
+
27
+ | Source | Type | Revision | Fingerprint |
28
+ | --- | --- | --- | --- |
29
+ | HID-APP/All-combined | huggingface | default | 81f16d3fdbb4f97d3574f5c78bce8ada7b15c9ccd625913daa095cae6d545d67 |
30
+
31
+ ## Training And Validation History
32
+
33
+ _No rows._
model/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
+ }
model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f2915549735f198e99ce60ee0aee4ef2ff6cdb587fb24b4e07bcf5f6c8d9254
3
+ size 498612824
model/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
model/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
+ }
training_log_history.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "log_history": [],
3
+ "last_upload": "step 200"
4
+ }