Skip to content

Dataset · stanfordnlp

IMDb reviews for sentiment analysis

stanfordnlp/imdb

50k labeled movie reviews for binary sentiment classification in English.

What's inside

The Large Movie Review Dataset contains 25k training and 25k test reviews with binary sentiment labels. Unlabeled data is also included. Language is English, format is text reviews; this is a classic benchmark for sentiment analysis.

What you can do with it

  • Training and evaluating a sentiment classifier
  • LoRA fine-tuning for sentiment analysis
  • Benchmarking models on a standard dataset
Tasks
Text classification
Languages
English
Size
100K–1M rows
Downloads this month
160.1K
Likes
963

How to load it

from datasets import load_dataset

ds = load_dataset("stanfordnlp/imdb")