stanfordnlp/imdb
Viewer • Updated • 100k • 183k • 465
How to use Etelis/IMDB_XLNET_5E with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Etelis/IMDB_XLNET_5E") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Etelis/IMDB_XLNET_5E")
model = AutoModelForSequenceClassification.from_pretrained("Etelis/IMDB_XLNET_5E", device_map="auto")This model is a fine-tuned version of xlnet-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 |
|---|---|---|---|---|
| 0.3192 | 0.63 | 50 | 0.2033 | 0.94 |
| 0.196 | 1.27 | 100 | 0.2036 | 0.9467 |
| 0.1651 | 1.9 | 150 | 0.2106 | 0.9267 |
| 0.0628 | 2.53 | 200 | 0.3531 | 0.92 |
| 0.0865 | 3.16 | 250 | 0.2186 | 0.9533 |
| 0.0436 | 3.8 | 300 | 0.2718 | 0.9533 |
| 0.0254 | 4.43 | 350 | 0.3195 | 0.94 |