Skip to content

Chapter 2: Cannot load emotion dataset #151

@IlyaMichlin

Description

@IlyaMichlin

Information

The problem arises in chapter:

  • [ x] Introduction
  • Text Classification
  • Transformer Anatomy
  • Multilingual Named Entity Recognition
  • Text Generation
  • Summarization
  • Question Answering
  • Making Transformers Efficient in Production
  • Dealing with Few to No Labels
  • Training Transformers from Scratch
  • Future Directions

Describe the bug

When loading the load_dataset("emotion"), there is an error FileNotFoundError: Couldn't find file at https://www.dropbox.com/s/1pzkadrvffbqw6o/train.txt?dl=1.

Tried to use an alternative dataset SetFit/emotion and got ValueError: Invalid pattern: '**' can only be an entire path component

The second error comes from the new version of fsspec. Setting it to fsspec==2023.9.2 fixed the issue.

To Reproduce

Steps to reproduce the behavior:

  1. Create python env from requirements.txt
  2. Try to load emotion dataset

Expected behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions