imdb-sentiment
Collection
A collection of IMDB movie-review sentiment classification models for a machine learning course project. • 2 items • Updated
This repository contains a high-accuracy IMDB sentiment classifier for the 2026 machine learning course task.
The model is based on textattack/roberta-base-imdb, a RoBERTa sequence-classification model fine-tuned for IMDB sentiment analysis.
imdb_top_500.csv0 = negative, 1 = positivefrom transformers import pipeline
classifier = pipeline(
"sentiment-analysis",
model="ceilf6/imdb-sentiment-roberta",
tokenizer="ceilf6/imdb-sentiment-roberta",
)
print(classifier("This movie is great and deeply moving."))
GitHub Actions evaluates the model and uploads this repository only when accuracy is at least 0.92.
Base model
textattack/roberta-base-imdb