cornell-movie-review-data/rotten_tomatoes
Viewer β’ Updated β’ 10.7k β’ 54.7k β’ 116
How to use sofiane-isi/distilbert-sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="sofiane-isi/distilbert-sentiment") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("sofiane-isi/distilbert-sentiment")
model = AutoModelForSequenceClassification.from_pretrained("sofiane-isi/distilbert-sentiment", device_map="auto")DistilBERT fine-tuned for sentiment analysis on Rotten Tomatoes movie reviews.
sofiane-isi/distilbert-sentiment
cornell-movie-review-data/rotten_tomatoes
Classes:
distilbert-base-uncased
Dataset β tokenization β fine-tuning β evaluation β Hugging Face Hub β Model Card β Space.
Educational binary sentiment classifier fine-tuned specifically on Rotten Tomatoes.