AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / Tabular

    MovieLens (1998)

    Millions of 0.5–5 star movie ratings from the MovieLens site, the classic recommender dataset.

    Why it matters

    For two decades, the default dataset for recommender systems. Each row is one (user, movie, rating) triple, so the data is a huge, mostly empty matrix. The task is to fill in the gaps: collaborative filtering, matrix factorization, then neural recommenders. The ratings come from a real research site that people used to get movie suggestions, which made it realistic and, unlike commercial data, freely shareable.

    Get the data

    # pip install -U huggingface_hub
    hf download ashraq/movielens_ratings --repo-type dataset \
      --local-dir movielens

    This is a community copy of about 1M ratings with titles and poster links. The official releases (100K to 32M) are zip files on the GroupLens site.

    Year
    1998
    Creators
    GroupLens Research (University of Minnesota)
    Task
    Recommendation (predict how a user rates a movie)
    Size
    Versions from 100k to 32M ratings; the copy sampled here has ~1M
    Splits
    train 891,382 · validation 99,043
    Input
    User id, movie id (with title and genres)
    Labels
    Rating, 0.5–5 stars
    License
    GroupLens research license (non-commercial use)
    Paper
    The MovieLens Datasets: History and Context

    Samples

    Showing 8 of 16 sampled rows(from 99,043 in the validation split)
    user_idmovie_idtitlegenresrating
    42486343Crystal Fairy & the Magical Cactus and 2012 (2013)Adventure|Comedy3
    304411844Insurgent (2015)Action|Sci-Fi|Thriller0.5
    108016119La La Land (2016)Comedy|Drama|Romance4
    16037739Gone Girl (2014)Drama|Thriller5
    42432663Lucy (2014)Action|Sci-Fi1.5
    3968012462Bird Box (2018)Drama|Sci-Fi|Thriller1.5
    26878759Guardians of the Galaxy (2014)Action|Adventure|Sci-Fi4.5
    169773986Nocturnal AnimalsDrama|Thriller4.5

    ∅ = missing value

    What one record actually looks like (raw JSON, row 66351)
    {
      "genres": "Adventure|Comedy",
      "imdbId": "tt2332579",
      "movie_id": 343,
      "posters": "https://m.media-amazon.com/images/M/MV5BMTk3Mjk5NjUxNF5BMl5BanBnXkFtZTcwMTk3OTA4OQ@@._V1_SX300.jpg",
      "rating": 3,
      "title": "Crystal Fairy & the Magical Cactus and 2012 (2013)",
      "tmdbId": "157409",
      "user_id": 42486
    }

    Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.

    Sampled 2026-11-07 from ashraq/movielens_ratings at revision a1c7c33

    Worth knowing

    Related datasets

    • Netflix Prize: 2006, 100M ratings and a $1M prizeen.wikipedia.org ↗
    • MovieLens 100K: 1998, the original release, with user demographicsHugging Face ↗

    Landmark papers