stanfordnlp/imdb
Viewer • Updated • 100k • 269k • 375
How to use versae/gzipbert_imdb_roberta_lowlr with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="versae/gzipbert_imdb_roberta_lowlr") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("versae/gzipbert_imdb_roberta_lowlr")
model = AutoModelForSequenceClassification.from_pretrained("versae/gzipbert_imdb_roberta_lowlr")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("versae/gzipbert_imdb_roberta_lowlr")
model = AutoModelForSequenceClassification.from_pretrained("versae/gzipbert_imdb_roberta_lowlr")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.7068 | 1.0 | 1563 | 0.7024 | 0.5 |
| 0.7027 | 2.0 | 3126 | 0.6952 | 0.5 |
| 0.6999 | 3.0 | 4689 | 0.6943 | 0.5 |
| 0.6994 | 4.0 | 6252 | 0.6933 | 0.5 |
| 0.6976 | 5.0 | 7815 | 0.6932 | 0.5 |
Base model
versae/gzip-bert
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="versae/gzipbert_imdb_roberta_lowlr")