stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use goktug14/bert_imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="goktug14/bert_imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("goktug14/bert_imdb")
model = AutoModelForSequenceClassification.from_pretrained("goktug14/bert_imdb")This model is a fine-tuned version of google-bert/bert-base-uncased on imdb dataset. It achieves the following results on the evaluation set:
To acccess my finetuning tutorial you can check the following repository.
Reference: Paperswithcode
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | Precision |
|---|---|---|---|---|---|---|
| 0.2099 | 1.0 | 1563 | 0.2456 | 0.9102 | 0.8481 | 0.9683 |
| 0.1379 | 2.0 | 3126 | 0.2443 | 0.9274 | 0.8911 | 0.9608 |
| 0.0752 | 3.0 | 4689 | 0.2845 | 0.9391 | 0.9509 | 0.9290 |
| 0.0352 | 4.0 | 6252 | 0.3119 | 0.9403 | 0.9430 | 0.9379 |
Base model
google-bert/bert-base-uncased