stanfordnlp/sst2
Viewer • Updated • 70k • 26.9k • 161
How to use Thamer/distilbert-fine-tuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Thamer/distilbert-fine-tuned") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Thamer/distilbert-fine-tuned")
model = AutoModelForSequenceClassification.from_pretrained("Thamer/distilbert-fine-tuned")This model is a fine-tuned version of distilbert-base-cased on an sst2 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:
| Train Loss | Validation Loss | Train Recall | Epoch |
|---|---|---|---|
| 0.2134 | 0.2835 | 0.9144 | 0 |
| 0.1135 | 0.2992 | 0.8671 | 1 |
| 0.0581 | 0.3206 | 0.8761 | 2 |
Base model
distilbert/distilbert-base-cased