cardiffnlp/tweet_eval
Viewer • Updated • 201k • 40.3k • 144
How to use aXhyra/presentation_hate_1234567 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="aXhyra/presentation_hate_1234567") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("aXhyra/presentation_hate_1234567")
model = AutoModelForSequenceClassification.from_pretrained("aXhyra/presentation_hate_1234567")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("aXhyra/presentation_hate_1234567")
model = AutoModelForSequenceClassification.from_pretrained("aXhyra/presentation_hate_1234567")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.6027 | 1.0 | 282 | 0.5186 | 0.7209 |
| 0.3537 | 2.0 | 564 | 0.4989 | 0.7619 |
| 0.0969 | 3.0 | 846 | 0.6405 | 0.7697 |
| 0.0514 | 4.0 | 1128 | 0.8438 | 0.7680 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aXhyra/presentation_hate_1234567")