Text Classification
Transformers
Safetensors
PyTorch
English
modernbert
spam-detection
automation-detection
long-context
text-embeddings-inference
Instructions to use WeReCooking/ModernBERT-risk-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WeReCooking/ModernBERT-risk-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="WeReCooking/ModernBERT-risk-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("WeReCooking/ModernBERT-risk-classifier") model = AutoModelForSequenceClassification.from_pretrained("WeReCooking/ModernBERT-risk-classifier") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 0b840e072660ce15ee0d6598824ea706b41b9507c797c5ee3afe0ebe36b3da2b
- Size of remote file:
- 598 MB
- SHA256:
- 408e1705a3c7400865574a49f356292379fde32a293b20d7a21f4b59d9de894d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.