stanfordnlp/imdb
Viewer • Updated • 100k • 177k • 1.27k
How to use vaalto/test_trainer with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="vaalto/test_trainer") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("vaalto/test_trainer")
model = AutoModelForSequenceClassification.from_pretrained("vaalto/test_trainer", device_map="auto")This model is a fine-tuned version of bert-base-cased 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 |
|---|---|---|---|---|
| No log | 1.0 | 25 | 0.6720 | 0.58 |
| No log | 2.0 | 50 | 0.5366 | 0.82 |
Base model
google-bert/bert-base-cased