stanfordnlp/imdb
Viewer • Updated • 100k • 183k • 424
How to use versae/gzipbert_imdb_rpe_250k_v4 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="versae/gzipbert_imdb_rpe_250k_v4") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("versae/gzipbert_imdb_rpe_250k_v4")
model = AutoModelForSequenceClassification.from_pretrained("versae/gzipbert_imdb_rpe_250k_v4", device_map="auto")This model is a fine-tuned version of versae/gzip-bert 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 |
|---|---|---|---|---|
| 0.0425 | 1.0 | 1563 | 2.5908 | 0.5231 |
| 0.0357 | 2.0 | 3126 | 2.8405 | 0.5343 |
| 0.0291 | 3.0 | 4689 | 2.8759 | 0.5562 |
| 0.0313 | 4.0 | 6252 | 3.1563 | 0.5257 |
| 0.0288 | 5.0 | 7815 | 3.4034 | 0.4951 |
Base model
versae/gzip-bert