cardiffnlp/tweet_eval
Viewer • Updated • 201k • 41.3k • 144
How to use Priyanka-Balivada/bert-5-epoch-sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Priyanka-Balivada/bert-5-epoch-sentiment") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Priyanka-Balivada/bert-5-epoch-sentiment")
model = AutoModelForSequenceClassification.from_pretrained("Priyanka-Balivada/bert-5-epoch-sentiment")This model is a fine-tuned version of bert-base-uncased 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.0381 | 1.0 | 2851 | 2.4402 | 0.6588 | 0.6676 | 0.6588 | 0.6588 | 0.6588 |
| 0.0401 | 2.0 | 5702 | 2.7499 | 0.6527 | 0.6647 | 0.6527 | 0.6527 | 0.6527 |
| 0.1609 | 3.0 | 8553 | 2.0380 | 0.6687 | 0.6724 | 0.6687 | 0.6687 | 0.6687 |
| 0.1811 | 4.0 | 11404 | 2.3206 | 0.6679 | 0.6753 | 0.6679 | 0.6679 | 0.6679 |
| 0.0987 | 5.0 | 14255 | 2.5187 | 0.6754 | 0.6780 | 0.6754 | 0.6754 | 0.6754 |
Base model
google-bert/bert-base-uncased