stanfordnlp/imdb
Viewer • Updated • 100k • 253k • 375
How to use ttwj-sutd/finetuning-sentiment-model-3000-samples-6pm with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ttwj-sutd/finetuning-sentiment-model-3000-samples-6pm") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ttwj-sutd/finetuning-sentiment-model-3000-samples-6pm")
model = AutoModelForSequenceClassification.from_pretrained("ttwj-sutd/finetuning-sentiment-model-3000-samples-6pm")This model is a fine-tuned version of distilbert-base-uncased on the imdb 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 | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 188 | 0.3436 | 0.8633 | 0.8 | 0.8304 | 0.8367 |
| No log | 2.0 | 376 | 0.2896 | 0.875 | 0.8867 | 0.8808 | 0.88 |
| 0.3 | 3.0 | 564 | 0.3330 | 0.8693 | 0.8867 | 0.8779 | 0.8767 |
| 0.3 | 4.0 | 752 | 0.4378 | 0.8766 | 0.9 | 0.8882 | 0.8867 |
| 0.3 | 5.0 | 940 | 0.5198 | 0.8284 | 0.9333 | 0.8777 | 0.87 |