nyu-mll/glue
Viewer • Updated • 1.49M • 460k • 504
How to use MahmoudMohsen/finetuning-SentimentAnalysis-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="MahmoudMohsen/finetuning-SentimentAnalysis-model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("MahmoudMohsen/finetuning-SentimentAnalysis-model")
model = AutoModelForSequenceClassification.from_pretrained("MahmoudMohsen/finetuning-SentimentAnalysis-model")This model is a fine-tuned version of distilbert-base-uncased-finetuned-sst-2-english on the glue 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 | F1 |
|---|---|---|---|---|---|
| 0.0575 | 1.0 | 1053 | 0.2953 | 0.9071 | 0.9070 |
| 0.0328 | 2.0 | 2106 | 0.3755 | 0.9025 | 0.9024 |