Text Classification
Transformers
Safetensors
English
roberta
security
vulnerability
cve
mitre-attack
cti
multi-label-classification
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use CIRCL/vulnerability-attack-technique-classification-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CIRCL/vulnerability-attack-technique-classification-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CIRCL/vulnerability-attack-technique-classification-roberta-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CIRCL/vulnerability-attack-technique-classification-roberta-base") model = AutoModelForSequenceClassification.from_pretrained("CIRCL/vulnerability-attack-technique-classification-roberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,667 Bytes
40ad73e 3b98a1d 40ad73e 3b98a1d 40ad73e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | {
"add_cross_attention": false,
"architectures": [
"RobertaForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"dtype": "float32",
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "T1003",
"1": "T1005",
"2": "T1021",
"3": "T1036",
"4": "T1040",
"5": "T1041",
"6": "T1046",
"7": "T1055",
"8": "T1059",
"9": "T1068",
"10": "T1070",
"11": "T1071",
"12": "T1078",
"13": "T1082",
"14": "T1083",
"15": "T1087",
"16": "T1091",
"17": "T1098",
"18": "T1105",
"19": "T1106",
"20": "T1110",
"21": "T1133",
"22": "T1136",
"23": "T1185",
"24": "T1189",
"25": "T1190",
"26": "T1202",
"27": "T1203",
"28": "T1204",
"29": "T1210",
"30": "T1211",
"31": "T1212",
"32": "T1485",
"33": "T1486",
"34": "T1496",
"35": "T1497",
"36": "T1498",
"37": "T1499",
"38": "T1505",
"39": "T1528",
"40": "T1542",
"41": "T1543",
"42": "T1548",
"43": "T1550",
"44": "T1552",
"45": "T1555",
"46": "T1557",
"47": "T1563",
"48": "T1565",
"49": "T1566",
"50": "T1574",
"51": "T1608",
"52": "T1685"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"T1003": 0,
"T1005": 1,
"T1021": 2,
"T1036": 3,
"T1040": 4,
"T1041": 5,
"T1046": 6,
"T1055": 7,
"T1059": 8,
"T1068": 9,
"T1070": 10,
"T1071": 11,
"T1078": 12,
"T1082": 13,
"T1083": 14,
"T1087": 15,
"T1091": 16,
"T1098": 17,
"T1105": 18,
"T1106": 19,
"T1110": 20,
"T1133": 21,
"T1136": 22,
"T1185": 23,
"T1189": 24,
"T1190": 25,
"T1202": 26,
"T1203": 27,
"T1204": 28,
"T1210": 29,
"T1211": 30,
"T1212": 31,
"T1485": 32,
"T1486": 33,
"T1496": 34,
"T1497": 35,
"T1498": 36,
"T1499": 37,
"T1505": 38,
"T1528": 39,
"T1542": 40,
"T1543": 41,
"T1548": 42,
"T1550": 43,
"T1552": 44,
"T1555": 45,
"T1557": 46,
"T1563": 47,
"T1565": 48,
"T1566": 49,
"T1574": 50,
"T1608": 51,
"T1685": 52
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"problem_type": "multi_label_classification",
"tie_word_embeddings": true,
"transformers_version": "5.13.0",
"type_vocab_size": 1,
"use_cache": false,
"vocab_size": 50265
}
|