Downloads · 30 days
9
14% of all-time downloads
martian786/agnews-roberta-seed42-fulltext-1pct
agnews-roberta-seed42-fulltext-1pct is a text classification model from martian786. 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 model is a fine-tuned roberta-base sequence classifier for the AG News four-class classification task.
Downloads · 30 days
9
14% of all-time downloads
All-time downloads
66
Public
Parameters
125M
499 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors499 MB · 99%
From the Hugging Face model README
This model is a fine-tuned roberta-base sequence classifier for the AG News four-class classification task.
roberta-base| Label ID | Label |
|---|---|
| 0 | World |
| 1 | Sports |
| 2 | Business |
| 3 | Sci/Tech |
| Metric | Value |
|---|---|
| Test accuracy | 0.903289 |
| Test macro F1 | 0.903156 |
| Accuracy 95% Wilson CI | 0.896439–0.909732 |
| Misclassified examples | 735 |
| Single-example latency mean | 12.693 ms |
| Training time | 84.11 s |
| Class | F1 |
|---|---|
| World | 0.907149 |
| Sports | 0.972215 |
| Business | 0.858696 |
| Sci/Tech | 0.874564 |
repo_id = "martian786/agnews-roberta-seed42-fulltext-1pct"
Use AutoTokenizer.from_pretrained(repo_id) and AutoModelForSequenceClassification.from_pretrained(repo_id).
This model was fine-tuned on AG News and is intended for controlled academic comparison rather than production deployment.