stanfordnlp/imdb
Viewer • Updated • 100k • 174k • 472
How to use JeffreyJIANG/albert-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="JeffreyJIANG/albert-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("JeffreyJIANG/albert-imdb")
model = AutoModelForSequenceClassification.from_pretrained("JeffreyJIANG/albert-imdb", device_map="auto")This model is a fine-tuned version of albert-base-v2 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 | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 0.3213 | 1.0 | 1563 | 0.2683 | 0.8922 | 0.8921 | 0.8930 | 0.8922 |
| 0.2211 | 2.0 | 3126 | 0.2559 | 0.9082 | 0.9082 | 0.9082 | 0.9082 |
Base model
albert/albert-base-v2