cardiffnlp/tweet_eval
Viewer • Updated • 201k • 37.3k • 143
How to use marcolatella/Hps_seed1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="marcolatella/Hps_seed1") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("marcolatella/Hps_seed1")
model = AutoModelForSequenceClassification.from_pretrained("marcolatella/Hps_seed1")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("marcolatella/Hps_seed1")
model = AutoModelForSequenceClassification.from_pretrained("marcolatella/Hps_seed1")This model is a fine-tuned version of distilbert-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 | F1 |
|---|---|---|---|---|
| 0.6553 | 1.0 | 1426 | 0.6275 | 0.7095 |
| 0.4945 | 2.0 | 2852 | 0.6181 | 0.7251 |
| 0.366 | 3.0 | 4278 | 0.7115 | 0.7274 |
| 0.2374 | 4.0 | 5704 | 0.8368 | 0.7133 |
| 0.1658 | 5.0 | 7130 | 0.9681 | 0.7177 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="marcolatella/Hps_seed1")