Hope and Nostalgia Classifiers
Collection
This collection entails my Hope and Nostalgia Classifiers. Documentation: https://github.com/BeJa1996/political_hope_nostalgia/ โข 6 items โข Updated
How to use beja1996/deberta-v3-base_finetuned_nostalgia with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="beja1996/deberta-v3-base_finetuned_nostalgia") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("beja1996/deberta-v3-base_finetuned_nostalgia")
model = AutoModelForSequenceClassification.from_pretrained("beja1996/deberta-v3-base_finetuned_nostalgia", device_map="auto")This model is a fine-tuned version of microsoft/deberta-v3-base on the None 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 | F1 Macro | Accuracy Balanced | F1 Micro | Precision Macro | Recall Macro | Precision Micro | Recall Micro |
|---|---|---|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 73 | 0.3903 | 0.8759 | 0.8470 | 0.8251 | 0.8759 | 0.8890 | 0.8251 | 0.8759 | 0.8759 |
| No log | 2.0 | 146 | 0.2130 | 0.9103 | 0.8933 | 0.8783 | 0.9103 | 0.9149 | 0.8783 | 0.9103 | 0.9103 |
| No log | 3.0 | 219 | 0.1253 | 0.9379 | 0.9288 | 0.9264 | 0.9379 | 0.9313 | 0.9264 | 0.9379 | 0.9379 |
| No log | 4.0 | 292 | 0.2694 | 0.9310 | 0.9229 | 0.9324 | 0.9310 | 0.9154 | 0.9324 | 0.9310 | 0.9310 |
| No log | 5.0 | 365 | 0.1924 | 0.9448 | 0.9370 | 0.9370 | 0.9448 | 0.9370 | 0.9370 | 0.9448 | 0.9448 |
| No log | 6.0 | 438 | 0.2648 | 0.9379 | 0.9288 | 0.9264 | 0.9379 | 0.9313 | 0.9264 | 0.9379 | 0.9379 |
| 0.1908 | 7.0 | 511 | 0.3431 | 0.9379 | 0.9288 | 0.9264 | 0.9379 | 0.9313 | 0.9264 | 0.9379 | 0.9379 |
| 0.1908 | 8.0 | 584 | 0.3450 | 0.9379 | 0.9288 | 0.9264 | 0.9379 | 0.9313 | 0.9264 | 0.9379 | 0.9379 |
| 0.1908 | 9.0 | 657 | 0.3538 | 0.9379 | 0.9279 | 0.9209 | 0.9379 | 0.9362 | 0.9209 | 0.9379 | 0.9379 |
| 0.1908 | 10.0 | 730 | 0.3772 | 0.9379 | 0.9288 | 0.9264 | 0.9379 | 0.9313 | 0.9264 | 0.9379 | 0.9379 |
Base model
microsoft/deberta-v3-base