Text Classification
Transformers
Safetensors
English
modernbert
cyber-threat-intelligence
mitre-attack
multi-label-classification
defensive-security
blue-team
threat-intelligence
text-embeddings-inference
Instructions to use ctokx/cti-attack-mapper-modernbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ctokx/cti-attack-mapper-modernbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ctokx/cti-attack-mapper-modernbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ctokx/cti-attack-mapper-modernbert") model = AutoModelForSequenceClassification.from_pretrained("ctokx/cti-attack-mapper-modernbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download src/cti_attack/__init__.py from ctokx/cti-attack-mapper-modernbert: direct link, hf CLI and curl.
- Browser
- Download file 105 Bytes
-
https://huggingface.co/ctokx/cti-attack-mapper-modernbert/resolve/main/src/cti_attack/__init__.py
- Command line
-
hf download hf://ctokx/cti-attack-mapper-modernbert/src/cti_attack/__init__.py
-
curl -L -o __init__.py https://huggingface.co/ctokx/cti-attack-mapper-modernbert/resolve/main/src/cti_attack/__init__.py
105 Bytes
| """cti-attack-mapper — sentence-level MITRE ATT&CK technique classification.""" | |
| __version__ = "0.1.0" | |