Text Classification
Transformers
Safetensors
PyTorch
English
topic-classification
ag-news
distilbert
Eval Results (legacy)
Instructions to use Koushim/distilbert-agnews with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Koushim/distilbert-agnews with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Koushim/distilbert-agnews")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Koushim/distilbert-agnews", dtype="auto") - Notebooks
- Google Colab
- Kaggle