nlp-with-transformers / notebooks

Jupyter notebooks for the Natural Language Processing with Transformers book
https://transformersbook.com/
Apache License 2.0
3.91k stars 1.22k forks source link

Cannot load configurations for the XTREME dataset #132

Open ziyuanzhao2000 opened 8 months ago

ziyuanzhao2000 commented 8 months ago

Information

The problem arises in chapter:

Describe the bug

The PAN-X subset of the xtreme dataset can no longer be accessed in the way described in the book.

To Reproduce

Steps to reproduce the behavior:

  1. Execute the following code:
    
    from datasets import get_dataset_config_names

xtreme_subsets = get_dataset_config_names("xtreme") print(f"XTREME has {len(xtreme_subsets)} configurations")

The output says 

Downloading readme: 100%  131k/131k [00:00<00:00, 4.37MB/s] XTREME has 1 configurations


<!-- If you have code snippets, error messages, stack traces please provide them here as well.
     Important! Use code tags to correctly format your code. See https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting
     Do not use screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.-->

## Expected behavior

<!-- A clear and concise description of what you would expect to happen. -->

As in the book, expected to see `XTREME has 183 configurations`