Upload folder using huggingface_hub
Browse files- config.json +113 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +14 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation": "gelu",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"DistilBertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"dtype": "float32",
|
| 11 |
+
"eos_token_id": null,
|
| 12 |
+
"hidden_dim": 3072,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "B-ATTACK-PATTERN",
|
| 15 |
+
"1": "I-ATTACK-PATTERN",
|
| 16 |
+
"2": "B-CAMPAIGN",
|
| 17 |
+
"3": "I-CAMPAIGN",
|
| 18 |
+
"4": "B-DOMAIN",
|
| 19 |
+
"5": "I-DOMAIN",
|
| 20 |
+
"6": "B-EMAIL",
|
| 21 |
+
"7": "I-EMAIL",
|
| 22 |
+
"8": "B-FILEPATH",
|
| 23 |
+
"9": "I-FILEPATH",
|
| 24 |
+
"10": "B-IDENTITY",
|
| 25 |
+
"11": "I-IDENTITY",
|
| 26 |
+
"12": "B-INFRASTUCTURE",
|
| 27 |
+
"13": "I-INFRASTUCTURE",
|
| 28 |
+
"14": "B-IPV4",
|
| 29 |
+
"15": "I-IPV4",
|
| 30 |
+
"16": "B-LOCATION",
|
| 31 |
+
"17": "I-LOCATION",
|
| 32 |
+
"18": "B-MALWARE",
|
| 33 |
+
"19": "I-MALWARE",
|
| 34 |
+
"20": "B-MD5",
|
| 35 |
+
"21": "I-MD5",
|
| 36 |
+
"22": "B-REGISTRYKEY",
|
| 37 |
+
"23": "I-REGISTRYKEY",
|
| 38 |
+
"24": "B-SHA1",
|
| 39 |
+
"25": "I-SHA1",
|
| 40 |
+
"26": "B-SHA2",
|
| 41 |
+
"27": "I-SHA2",
|
| 42 |
+
"28": "B-SOFTWARE",
|
| 43 |
+
"29": "I-SOFTWARE",
|
| 44 |
+
"30": "B-THREAT-ACTOR",
|
| 45 |
+
"31": "I-THREAT-ACTOR",
|
| 46 |
+
"32": "B-TIME",
|
| 47 |
+
"33": "I-TIME",
|
| 48 |
+
"34": "B-TOOLS",
|
| 49 |
+
"35": "I-TOOLS",
|
| 50 |
+
"36": "B-URL",
|
| 51 |
+
"37": "I-URL",
|
| 52 |
+
"38": "B-VULNERABILITY",
|
| 53 |
+
"39": "I-VULNERABILITY",
|
| 54 |
+
"40": "O"
|
| 55 |
+
},
|
| 56 |
+
"initializer_range": 0.02,
|
| 57 |
+
"label2id": {
|
| 58 |
+
"B-ATTACK-PATTERN": 0,
|
| 59 |
+
"B-CAMPAIGN": 2,
|
| 60 |
+
"B-DOMAIN": 4,
|
| 61 |
+
"B-EMAIL": 6,
|
| 62 |
+
"B-FILEPATH": 8,
|
| 63 |
+
"B-IDENTITY": 10,
|
| 64 |
+
"B-INFRASTUCTURE": 12,
|
| 65 |
+
"B-IPV4": 14,
|
| 66 |
+
"B-LOCATION": 16,
|
| 67 |
+
"B-MALWARE": 18,
|
| 68 |
+
"B-MD5": 20,
|
| 69 |
+
"B-REGISTRYKEY": 22,
|
| 70 |
+
"B-SHA1": 24,
|
| 71 |
+
"B-SHA2": 26,
|
| 72 |
+
"B-SOFTWARE": 28,
|
| 73 |
+
"B-THREAT-ACTOR": 30,
|
| 74 |
+
"B-TIME": 32,
|
| 75 |
+
"B-TOOLS": 34,
|
| 76 |
+
"B-URL": 36,
|
| 77 |
+
"B-VULNERABILITY": 38,
|
| 78 |
+
"I-ATTACK-PATTERN": 1,
|
| 79 |
+
"I-CAMPAIGN": 3,
|
| 80 |
+
"I-DOMAIN": 5,
|
| 81 |
+
"I-EMAIL": 7,
|
| 82 |
+
"I-FILEPATH": 9,
|
| 83 |
+
"I-IDENTITY": 11,
|
| 84 |
+
"I-INFRASTUCTURE": 13,
|
| 85 |
+
"I-IPV4": 15,
|
| 86 |
+
"I-LOCATION": 17,
|
| 87 |
+
"I-MALWARE": 19,
|
| 88 |
+
"I-MD5": 21,
|
| 89 |
+
"I-REGISTRYKEY": 23,
|
| 90 |
+
"I-SHA1": 25,
|
| 91 |
+
"I-SHA2": 27,
|
| 92 |
+
"I-SOFTWARE": 29,
|
| 93 |
+
"I-THREAT-ACTOR": 31,
|
| 94 |
+
"I-TIME": 33,
|
| 95 |
+
"I-TOOLS": 35,
|
| 96 |
+
"I-URL": 37,
|
| 97 |
+
"I-VULNERABILITY": 39,
|
| 98 |
+
"O": 40
|
| 99 |
+
},
|
| 100 |
+
"max_position_embeddings": 512,
|
| 101 |
+
"model_type": "distilbert",
|
| 102 |
+
"n_heads": 12,
|
| 103 |
+
"n_layers": 6,
|
| 104 |
+
"pad_token_id": 0,
|
| 105 |
+
"qa_dropout": 0.1,
|
| 106 |
+
"seq_classif_dropout": 0.2,
|
| 107 |
+
"sinusoidal_pos_embds": false,
|
| 108 |
+
"tie_weights_": true,
|
| 109 |
+
"tie_word_embeddings": true,
|
| 110 |
+
"transformers_version": "5.0.0",
|
| 111 |
+
"use_cache": false,
|
| 112 |
+
"vocab_size": 30522
|
| 113 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e59092bb1d2b138bc1f4200cf31580505330f7efb9f3007f80c2b3afb0662594
|
| 3 |
+
size 265589988
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_lower_case": true,
|
| 5 |
+
"is_local": false,
|
| 6 |
+
"mask_token": "[MASK]",
|
| 7 |
+
"model_max_length": 512,
|
| 8 |
+
"pad_token": "[PAD]",
|
| 9 |
+
"sep_token": "[SEP]",
|
| 10 |
+
"strip_accents": null,
|
| 11 |
+
"tokenize_chinese_chars": true,
|
| 12 |
+
"tokenizer_class": "BertTokenizer",
|
| 13 |
+
"unk_token": "[UNK]"
|
| 14 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:503e726e470b74937d0d8be4534b504c1ce1ab7834d312967eae27cc87f5be69
|
| 3 |
+
size 5137
|