Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use ContextNews/news-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ContextNews/news-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ContextNews/news-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ContextNews/news-classifier") model = AutoModelForSequenceClassification.from_pretrained("ContextNews/news-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add per-class optimal thresholds (tuned on validation split)
Verified signature240e62e
-
Upload tokenizer
Verified signatureb4508d8 -
End of training
Verified signature8ddb4a0 -
Training in progress, epoch 3
Verified signature9a68a0d -
Training in progress, epoch 2
Verified signature87c3012 -
Training in progress, epoch 1
Verified signature97fef00 -
initial commit
Verified signaturec90f94f