stanfordnlp/imdb
Viewer • Updated • 100k • 179k • 370
How to use pachequinho/sentiment_roberta_twitter_imdb_10 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="pachequinho/sentiment_roberta_twitter_imdb_10") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("pachequinho/sentiment_roberta_twitter_imdb_10")
model = AutoModelForSequenceClassification.from_pretrained("pachequinho/sentiment_roberta_twitter_imdb_10")This model is a fine-tuned version of cardiffnlp/twitter-roberta-base-sentiment-latest on the imdb dataset with only 10% of the training data. 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 |
|---|---|---|---|---|
| No log | 1.0 | 157 | 0.2284 | 0.9260 |
| No log | 2.0 | 314 | 0.2534 | 0.9288 |