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