Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use AIJonas/ModernBert_AG_News_Classifier_V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIJonas/ModernBert_AG_News_Classifier_V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AIJonas/ModernBert_AG_News_Classifier_V2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AIJonas/ModernBert_AG_News_Classifier_V2") model = AutoModelForSequenceClassification.from_pretrained("AIJonas/ModernBert_AG_News_Classifier_V2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
End of training
Verified signatureb52b2c5 -
Training in progress, step 1565
Verified signature00a3a94 -
Training in progress, step 1500
Verified signature6187450 -
Training in progress, step 1000
Verified signature61971c8 -
Training in progress, step 500
Verified signature92a4904 -
initial commit
Verified signaturea29895b