fancyzhx/ag_news
Viewer • Updated • 128k • 123k • 190
How to use Alesteba/deep_model_09_clasificador-news with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Alesteba/deep_model_09_clasificador-news") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Alesteba/deep_model_09_clasificador-news")
model = AutoModelForSequenceClassification.from_pretrained("Alesteba/deep_model_09_clasificador-news")This model is a fine-tuned version of bert-base-uncased on the ag_news dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.3384 | 1.0 | 2500 | 0.3871 | 0.9053 |
| 0.208 | 2.0 | 5000 | 0.3549 | 0.9171 |
| 0.0861 | 3.0 | 7500 | 0.3664 | 0.9290 |