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: 458 Bytes
12097aa | 1 2 3 4 5 6 7 8 | # Security notes
This repository intentionally contains custom Python model and tokenizer code. Loading it through Hugging Face Auto classes uses `trust_remote_code=True`.
Review custom code before running it. If consuming a third-party copy or fork, pin the `revision` parameter to a commit you reviewed.
The classifier output is a triage signal only. Do not use it as the sole basis for blocking accounts, isolating endpoints, or declaring an incident.
|