Text Classification
Transformers
Safetensors
English
magic-bert
binary-analysis
file-type-detection
byte-level
classification
mime-type
security
custom_code
Eval Results (legacy)
Instructions to use mjbommar/magic-bert-50m-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mjbommar/magic-bert-50m-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mjbommar/magic-bert-50m-classification", trust_remote_code=True)# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("mjbommar/magic-bert-50m-classification", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K