cardiffnlp/tweet_eval
Viewer • Updated • 201k • 38.4k • 143
How to use aXhyra/presentation_hate_31415 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="aXhyra/presentation_hate_31415") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("aXhyra/presentation_hate_31415")
model = AutoModelForSequenceClassification.from_pretrained("aXhyra/presentation_hate_31415")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("aXhyra/presentation_hate_31415")
model = AutoModelForSequenceClassification.from_pretrained("aXhyra/presentation_hate_31415")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.363 | 1.0 | 282 | 0.4997 | 0.7401 |
| 0.2145 | 2.0 | 564 | 0.5071 | 0.7773 |
| 0.1327 | 3.0 | 846 | 0.7109 | 0.7645 |
| 0.0157 | 4.0 | 1128 | 0.8632 | 0.7730 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aXhyra/presentation_hate_31415")