cardiffnlp/tweet_eval
Viewer • Updated • 201k • 41.5k • 144
How to use Priyanka-Balivada/electra-1-epoch-sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Priyanka-Balivada/electra-1-epoch-sentiment") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Priyanka-Balivada/electra-1-epoch-sentiment")
model = AutoModelForSequenceClassification.from_pretrained("Priyanka-Balivada/electra-1-epoch-sentiment")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.6466 | 1.0 | 2851 | 0.7128 | 0.6924 | 0.6935 | 0.6924 | 0.6924 | 0.6924 |
Base model
google/electra-small-discriminator