stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/finetuned-base_small_db with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/finetuned-base_small_db") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/finetuned-base_small_db")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/finetuned-base_small_db")This model is a fine-tuned version of google/bert_uncased_L-4_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.2743 | 2.55 | 500 | 0.1548 | 0.9408 | 0.9695 |
| 0.1227 | 5.1 | 1000 | 0.2545 | 0.9206 | 0.9586 |
| 0.0569 | 7.65 | 1500 | 0.4467 | 0.8902 | 0.9419 |
| 0.0316 | 10.2 | 2000 | 0.2838 | 0.9351 | 0.9665 |