Text Classification
Adapters
PyTorch
bert
cybersecurity
africa
threat-detection
NLP
Allsafeafrica
cyber-aware
Instructions to use Allsafeafrica/GreenGuard-AI-Defender with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use Allsafeafrica/GreenGuard-AI-Defender with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("Allsafeafrica/GreenGuard-AI-Defender", set_active=True) - Notebooks
- Google Colab
- Kaggle
Create special_tokens_map.json
Browse files- special_tokens_map.json +7 -0
special_tokens_map.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"unk_token": "[UNK]",
|
| 3 |
+
"sep_token": "[SEP]",
|
| 4 |
+
"pad_token": "[PAD]",
|
| 5 |
+
"cls_token": "[CLS]",
|
| 6 |
+
"mask_token": "[MASK]"
|
| 7 |
+
}
|