stanfordnlp/imdb
Viewer • Updated • 100k • 184k • 389
How to use seanghay/xlm-roberta-base-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="seanghay/xlm-roberta-base-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("seanghay/xlm-roberta-base-imdb")
model = AutoModelForSequenceClassification.from_pretrained("seanghay/xlm-roberta-base-imdb")This model is a fine-tuned version of xlm-roberta-base 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.2345 | 1.0 | 1563 | 0.1808 | 0.9306 |
| 0.1612 | 2.0 | 3126 | 0.2223 | 0.9394 |