cornell-movie-review-data/rotten_tomatoes
Viewer โข Updated โข 10.7k โข 55.5k โข 116
How to use 92amineee/distilbert-sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="92amineee/distilbert-sentiment") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("92amineee/distilbert-sentiment")
model = AutoModelForSequenceClassification.from_pretrained("92amineee/distilbert-sentiment", device_map="auto")DistilBERT fine-tuned for sentiment analysis on Rotten Tomatoes movie reviews.
92amineee/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.