Text Classification
Transformers
Safetensors
PyTorch
English
tiny_log_classifier
cybersecurity
blue-team
log-analysis
custom-code
custom_code
Instructions to use mozarilla/tiny-blue-log-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mozarilla/tiny-blue-log-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mozarilla/tiny-blue-log-classifier", trust_remote_code=True)# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("mozarilla/tiny-blue-log-classifier", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 306 Bytes
12097aa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"auto_map": {
"AutoTokenizer": [
"tokenization_tiny_log.TinyLogTokenizer",
null
]
},
"model_max_length": 96,
"pad_token": "[PAD]",
"padding_side": "right",
"tokenizer_class": "TinyLogTokenizer",
"truncation_side": "right",
"unk_token": "[UNK]",
"vocab_size": 1024
}
|