Text Classification
Transformers
Safetensors
English
modernbert
cyber-threat-intelligence
mitre-attack
multi-label-classification
defensive-security
blue-team
synthetic-data-augmentation
text-embeddings-inference
Instructions to use ctokx/cti-attack-mapper-modernbert-synth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ctokx/cti-attack-mapper-modernbert-synth with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ctokx/cti-attack-mapper-modernbert-synth")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ctokx/cti-attack-mapper-modernbert-synth") model = AutoModelForSequenceClassification.from_pretrained("ctokx/cti-attack-mapper-modernbert-synth", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "ModernBertForSequenceClassification" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 50281, | |
| "classifier_activation": "gelu", | |
| "classifier_bias": false, | |
| "classifier_dropout": 0.0, | |
| "classifier_pooling": "mean", | |
| "cls_token_id": 50281, | |
| "decoder_bias": true, | |
| "deterministic_flash_attn": false, | |
| "dtype": "float32", | |
| "embedding_dropout": 0.0, | |
| "eos_token_id": 50282, | |
| "global_attn_every_n_layers": 3, | |
| "gradient_checkpointing": false, | |
| "hidden_activation": "gelu", | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "T1003.001", | |
| "1": "T1005", | |
| "2": "T1012", | |
| "3": "T1016", | |
| "4": "T1021.001", | |
| "5": "T1027", | |
| "6": "T1033", | |
| "7": "T1036.005", | |
| "8": "T1041", | |
| "9": "T1047", | |
| "10": "T1053.005", | |
| "11": "T1055", | |
| "12": "T1056.001", | |
| "13": "T1057", | |
| "14": "T1059.003", | |
| "15": "T1068", | |
| "16": "T1070.004", | |
| "17": "T1071.001", | |
| "18": "T1072", | |
| "19": "T1074.001", | |
| "20": "T1078", | |
| "21": "T1082", | |
| "22": "T1083", | |
| "23": "T1090", | |
| "24": "T1095", | |
| "25": "T1105", | |
| "26": "T1106", | |
| "27": "T1110", | |
| "28": "T1112", | |
| "29": "T1113", | |
| "30": "T1140", | |
| "31": "T1190", | |
| "32": "T1204.002", | |
| "33": "T1210", | |
| "34": "T1218.011", | |
| "35": "T1219", | |
| "36": "T1484.001", | |
| "37": "T1518.001", | |
| "38": "T1543.003", | |
| "39": "T1547.001", | |
| "40": "T1548.002", | |
| "41": "T1552.001", | |
| "42": "T1562.001", | |
| "43": "T1564.001", | |
| "44": "T1566.001", | |
| "45": "T1569.002", | |
| "46": "T1570", | |
| "47": "T1573.001", | |
| "48": "T1574.002" | |
| }, | |
| "initializer_cutoff_factor": 2.0, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1152, | |
| "label2id": { | |
| "T1003.001": 0, | |
| "T1005": 1, | |
| "T1012": 2, | |
| "T1016": 3, | |
| "T1021.001": 4, | |
| "T1027": 5, | |
| "T1033": 6, | |
| "T1036.005": 7, | |
| "T1041": 8, | |
| "T1047": 9, | |
| "T1053.005": 10, | |
| "T1055": 11, | |
| "T1056.001": 12, | |
| "T1057": 13, | |
| "T1059.003": 14, | |
| "T1068": 15, | |
| "T1070.004": 16, | |
| "T1071.001": 17, | |
| "T1072": 18, | |
| "T1074.001": 19, | |
| "T1078": 20, | |
| "T1082": 21, | |
| "T1083": 22, | |
| "T1090": 23, | |
| "T1095": 24, | |
| "T1105": 25, | |
| "T1106": 26, | |
| "T1110": 27, | |
| "T1112": 28, | |
| "T1113": 29, | |
| "T1140": 30, | |
| "T1190": 31, | |
| "T1204.002": 32, | |
| "T1210": 33, | |
| "T1218.011": 34, | |
| "T1219": 35, | |
| "T1484.001": 36, | |
| "T1518.001": 37, | |
| "T1543.003": 38, | |
| "T1547.001": 39, | |
| "T1548.002": 40, | |
| "T1552.001": 41, | |
| "T1562.001": 42, | |
| "T1564.001": 43, | |
| "T1566.001": 44, | |
| "T1569.002": 45, | |
| "T1570": 46, | |
| "T1573.001": 47, | |
| "T1574.002": 48 | |
| }, | |
| "layer_norm_eps": 1e-05, | |
| "layer_types": [ | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention" | |
| ], | |
| "local_attention": 128, | |
| "max_position_embeddings": 8192, | |
| "mlp_bias": false, | |
| "mlp_dropout": 0.0, | |
| "model_type": "modernbert", | |
| "norm_bias": false, | |
| "norm_eps": 1e-05, | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 22, | |
| "pad_token_id": 50283, | |
| "position_embedding_type": "absolute", | |
| "problem_type": "multi_label_classification", | |
| "rope_parameters": { | |
| "full_attention": { | |
| "rope_theta": 160000.0, | |
| "rope_type": "default" | |
| }, | |
| "sliding_attention": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "default" | |
| } | |
| }, | |
| "sep_token_id": 50282, | |
| "sparse_pred_ignore_index": -100, | |
| "sparse_prediction": false, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.13.1", | |
| "vocab_size": 50368 | |
| } | |