stanfordnlp/sst2
Viewer • Updated • 70k • 27.5k • 162
How to use Kai1014/distilbert-finetuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Kai1014/distilbert-finetuned") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Kai1014/distilbert-finetuned")
model = AutoModelForSequenceClassification.from_pretrained("Kai1014/distilbert-finetuned")This model is a fine-tuned version of distilbert-base-uncased on the 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:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.227 | 1.0 | 8419 | 0.4213 | 0.8819 |
| 0.1453 | 2.0 | 16838 | 0.4544 | 0.8922 |
| 0.0816 | 3.0 | 25257 | 0.4770 | 0.9014 |