stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/finetuned-base_medium with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/finetuned-base_medium") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/finetuned-base_medium")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/finetuned-base_medium")This model is a fine-tuned version of google/bert_uncased_L-8_H-512_A-8 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 | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.2292 | 2.55 | 500 | 0.1077 | 0.9633 | 0.9813 |
| 0.0789 | 5.1 | 1000 | 0.2340 | 0.9386 | 0.9683 |
| 0.0367 | 7.65 | 1500 | 0.3223 | 0.9299 | 0.9637 |
| 0.0227 | 10.2 | 2000 | 0.1906 | 0.9568 | 0.9779 |