Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use ehottl/ModernBERT-spam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ehottl/ModernBERT-spam with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ehottl/ModernBERT-spam")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ehottl/ModernBERT-spam") model = AutoModelForSequenceClassification.from_pretrained("ehottl/ModernBERT-spam", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 2bece7891df7fa1339ad28407153b28f0c81906a68eb367ab6244343f881ba77
- Size of remote file:
- 5.3 kB
- SHA256:
- c0bb674df622f403394c54fdc11048d644683631ca49a7f69f64be41928b950a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.