cardiffnlp/tweet_eval
Viewer • Updated • 201k • 26k • 147
How to use Priyanka-Balivada/electra-5-epoch-sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Priyanka-Balivada/electra-5-epoch-sentiment") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Priyanka-Balivada/electra-5-epoch-sentiment")
model = AutoModelForSequenceClassification.from_pretrained("Priyanka-Balivada/electra-5-epoch-sentiment", device_map="auto")TOKENIZER & TRAINER CORRUPTED
This model is a fine-tuned version of google/electra-small-discriminator on the tweet_eval 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 | Precision | Recall | Micro-avg-recall | Micro-avg-precision |
|---|---|---|---|---|---|---|---|---|
| 0.5949 | 1.0 | 2851 | 0.6963 | 0.6926 | 0.6943 | 0.6926 | 0.6926 | 0.6926 |
| 0.6502 | 2.0 | 5702 | 0.7348 | 0.6911 | 0.6929 | 0.6911 | 0.6911 | 0.6911 |
| 0.556 | 3.0 | 8553 | 0.7322 | 0.6943 | 0.6952 | 0.6943 | 0.6943 | 0.6943 |
| 0.4561 | 4.0 | 11404 | 0.7601 | 0.6895 | 0.6916 | 0.6895 | 0.6895 | 0.6895 |
| 0.471 | 5.0 | 14255 | 0.7949 | 0.6894 | 0.6914 | 0.6894 | 0.6894 | 0.6894 |
Base model
google/electra-small-discriminator