Skip to content

The code fails to run due to errors in datasets version 2.16.1, and it returns to normal after upgrading to version 2.21.0. #690

@pgq8stpfgh-dot

Description

@pgq8stpfgh-dot

System Info

Image Image Image

Multiple tests confirm that datasets 2.17.0 / 2.18.0 / 2.19.0 raise identical errors, while version 2.20.0 works normally.

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

Environment & Config
Python: 3.11
datasets==2.16.1 (ERROR)
datasets==2.21.0 (FIXED)
(Multiple tests confirm that datasets 2.17.0 / 2.18.0 / 2.19.0 raise identical errors, while version 2.20.0 works normally.)

Expected behavior

The code should run normally without exceptions when using the datasets library.
There should be no import or runtime errors in version 2.16.1.
Multiple tests confirm that datasets 2.17.0 / 2.18.0 / 2.19.0 raise identical errors, while version 2.20.0 works normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions