stanfordnlp/imdb
Viewer โข Updated โข 100k โข 170k โข 954
How to use muhtasham/finetuned-base_base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/finetuned-base_base") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/finetuned-base_base")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/finetuned-base_base", device_map="auto")This model is a fine-tuned version of google/bert_uncased_L-12_H-768_A-12 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.2414 | 1.0 | 500 | 0.1796 | 0.9343 | 0.9660 |
| 0.1235 | 2.0 | 1000 | 0.2042 | 0.9311 | 0.9643 |
| 0.0633 | 3.0 | 1500 | 0.3590 | 0.8997 | 0.9472 |
| 0.0398 | 4.0 | 2000 | 0.3594 | 0.9094 | 0.9525 |