Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Koushim
/
distilbert-agnews

Text Classification
Transformers
Safetensors
PyTorch
English
topic-classification
ag-news
distilbert
Eval Results (legacy)
Model card Files Files and versions
xet
Community

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
distilbert-agnews
538 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Koushim's picture
Koushim
Update README.md
78fdad8 verified 12 months ago
  • model_label_smoothing
    Add model_label_smoothing 12 months ago
  • model_no_smoothing
    Add model_no_smoothing 12 months ago
  • .gitattributes
    1.52 kB
    initial commit 12 months ago
  • README.md
    3 kB
    Update README.md 12 months ago