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
File size: 356 Bytes
2f51899 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"base_model": "answerdotai/ModernBERT-base",
"split_scheme": "document",
"epochs": 6,
"best_epoch": 5,
"best_dev_macro_f1": 0.4927,
"best_dev_global_threshold": 0.6,
"max_length": 256,
"batch_size": 16,
"grad_accum": 2,
"learning_rate": 3e-05,
"seed": 20260802,
"n_train": 16818,
"n_dev": 3134,
"n_labels": 49
} |