stanfordnlp/imdb
Viewer • Updated • 100k • 175k • 394
How to use rithwik-db/sentiment_version_2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="rithwik-db/sentiment_version_2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("rithwik-db/sentiment_version_2")
model = AutoModelForSequenceClassification.from_pretrained("rithwik-db/sentiment_version_2", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased 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: