Instructions to use ainewtrend07/ModernBert-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ainewtrend07/ModernBert-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ainewtrend07/ModernBert-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ainewtrend07/ModernBert-classifier") model = AutoModelForSequenceClassification.from_pretrained("ainewtrend07/ModernBert-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload tokenizer
Verified signature2aad9ca -
Upload tokenizer
Verified signature56469e3 -
Upload BertForSequenceClassification
Verified signaturea2441a7
-
Upload tokenizer
Verified signature4586d2f -
Upload ModernBertForSequenceClassification
Verified signature0be29b1 -
initial commit
Verified signature7c33cb6