Datasets:

Multilinguality:
multilingual
Language Creators:
found
Annotations Creators:
no-annotation
Source Datasets:
original
ArXiv:
License:

Error loading korean data

#4
by conceptofmind - opened

Hi all,

When trying to load the Korean data:

from datasets import load_dataset

mc4_subset = load_dataset(
     "allenai/c4",
     revision="mC4_3.1.0", 
     data_files="multilingual/c4-ko*.json.gz"
)

I receive this error

    raise TypeError(f"Couldn't cast array of type\n{array.type}\nto\n{feature}")
TypeError: Couldn't cast array of type
struct<ko.tfrecord: double>
to
{'ko': Value(dtype='float64', id=None)}

Any help would be appreciated.

Thank you,

Enrico

my investigations indicate that it might be this file

c4-ko-validation.00000-00001.json.gz

Sign up or log in to comment