Skip to content

Chapter 2: load_dataset("emotion") show file not found #95

Open
@chesterxgchen

Description

@chesterxgchen

Information

The problem arises in chapter 2

  • Introduction
  • [X ] 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

emotions = load_dataset("emotion")

datasets/utils/file_utils.py:608, in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params)
606 raise FileNotFoundError(f"Couldn't find file at {url}")
607 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}")
--> 608 raise ConnectionError(f"Couldn't reach {url}")
610 # Try a second time
611 filename = hash_url_to_filename(cached_url, etag)

ConnectionError: Couldn't reach https://www.dropbox.com/s/1pzkadrvffbqw6o/train.txt?dl=1

To Reproduce

Steps to reproduce the behavior:

  1. launch Chapter 2 notebook
  2. run cmd 5:
    emotions = load_dataset("emotion")
  3. will show above error

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