Skip to content

[bug] dataset path: rotten_tomatoes → cornell-movie-review-data/rotten_tomatoes in data_utils.py #179

Description

@GovIndLok

Where

  • Phase / lesson: Phase 0 · 09-data-management
  • File / URL: phases/00-setup-and-tooling/09-data-management/code/data_utils.py

What's wrong

The main demo block uses "rotten_tomatoes" as the dataset path, which fails to load with the current datasets library. The correct Hugging Face identifier is "cornell-movie-review-data/rotten_tomatoes". This breaks the setup script for anyone running it fresh.

Reproduce

  1. Clone repo
  2. Install python as shown in phases/00-setup-and-tooling/01-dev-environment/docs/en.md
  3. Activate venv if not activated already
  4. Run phases/00-setup-and-tooling/09-data-management/code/data_utils.py

Environment

  • OS: Fedora Linux 42 (WSL) x86_64
  • Python / Node / other runtime version: Python 3.13.13
  • How you ran it (local, Colab, Docker, etc.): local

Screenshot or logs

Image

Proposed fix

Update the dataset path from "rotten_tomatoes" to "cornell-movie-review-data/rotten_tomatoes" in the main block. I've tested this locally and it resolves the issue. PR coming next.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions