Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Default Tutorial Not Working - Can't download MRPC data #257

@Jadiker

Description

@Jadiker

When running the "prepare for training" tutorial code in Google Colab, I get the following error:

**** Model output directory: gs://albert_glue_tutorial/albert-tfhub/models/MRPC *****
Cloning into 'download_glue_repo'...
remote: Enumerating objects: 24, done.
remote: Total 24 (delta 0), reused 0 (delta 0), pack-reused 24
Unpacking objects: 100% (24/24), done.
Processing MRPC...
Traceback (most recent call last):
  File "download_glue_repo/download_glue_data.py", line 150, in <module>
    sys.exit(main(sys.argv[1:]))
  File "download_glue_repo/download_glue_data.py", line 142, in main
    format_mrpc(args.data_dir, args.path_to_mrpc)
  File "download_glue_repo/download_glue_data.py", line 65, in format_mrpc
    URLLIB.urlretrieve(MRPC_TRAIN, mrpc_train_file)
NameError: name 'URLLIB' is not defined
***** Task data directory: glue_data *****

I've followed the instructions as written on the Colab, setting up storage and filling in the parameter, as well as setting the runtime to TPU, then clicked "run all". How can I download the glue data needed for MRPC?

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