Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use fehrno/modern-bert-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fehrno/modern-bert-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="fehrno/modern-bert-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("fehrno/modern-bert-classifier") model = AutoModelForSequenceClassification.from_pretrained("fehrno/modern-bert-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
0324621 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:1bc19a9d0fd367c698b76c8f0eced0959924c6ba44f43ca598eb53bfbc5b1a5f
size 5304
|