Downloads ยท 30 days
14
25% of all-time downloads
Akirami/distillbert-uncased-ag-news
distillbert-uncased-ag-news is a text classification model from Akirami. Use it when you need a label for a piece of text. It is set up for transformers.
This is the model card of a ๐ค transformers model that has been pushed on the Hub. This model card has been automatically generated.
Downloads ยท 30 days
14
25% of all-time downloads
All-time downloads
57
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 is the model card of a ๐ค transformers model that has been pushed on the Hub. This model card has been automatically generated.
Use the code below to get started with the model.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Akirami/distillbert-uncased-ag-news")
model = AutoModelForSequenceClassification.from_pretrained("Akirami/distillbert-uncased-ag-news")
The model has been trained through Knowledge Distillation, where the teacher model is nateraw/bert-base-uncased-ag-news and the student model is distilbert/distilbert-base-uncased
[More Information Needed]
[More Information Needed]
The test portion of AG News data is used for testing
Classification Report:
| Class | Precision | Recall | F1-Score | Support |
|---|---|---|---|---|
| 0 | 0.95 | 0.92 | 0.94 | 1900 |
| 1 | 0.98 | 0.98 | 0.98 | 1900 |
| 2 | 0.90 | 0.88 | 0.89 | 1900 |
| 3 | 0.88 | 0.92 | 0.90 | 1900 |
| Accuracy | 0.93 | 7600 | ||
| Macro Avg | 0.93 | 0.93 | 0.93 | 7600 |
| Weighted Avg | 0.93 | 0.93 | 0.93 | 7600 |
Balanced Accuracy Score: 0.926578947368421
Accuracy Score: 0.9265789473684211
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).