Downloads · 30 days
9
13% of all-time downloads
starkdv123/agnews-distilbert-ft
agnews-distilbert-ft is a text classification model from starkdv123. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains a DistilBERT model fine-tuned on the AG News dataset.
Downloads · 30 days
9
13% of all-time downloads
All-time downloads
67
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This repository contains a DistilBERT model fine-tuned on the AG News dataset.
| Model | Test Accuracy | Macro F1 |
|---|---|---|
| Full Fine-Tune | 0.9426 | 0.9427 |
World Sports Busines Sci/Tec
World 1797 13 42 48
Sports 10 1871 13 6
Busines 39 3 1692 166
Sci/Tec 26 8 62 1804
from transformers import pipeline
clf = pipeline("text-classification", model="starkdv123/agnews-distilbert-ft")
clf(["Markets tumble as central bank raises rates."])
distilbert-base-uncasedKaran D Vasa — https://huggingface.co/starkdv123