Replace YAML keys from int to str

#2
by albertvillanova HF staff - opened

Replace YAML metadata integer keys with strings, as the Hub does not support integers.
See: https://github.com/huggingface/datasets/issues/5275

albertvillanova changed pull request status to merged

Hi,

The issue is closed but I still get the "TypeError: can only concatenate str (not "int") to str" error when loading the dataset (either with load_dataset or by cloning the repo). Is there any fix available?
Thanks a lot in advance

EDIT: I have updated datasets with pip as suggested in https://github.com/huggingface/datasets/issues/5406 and it now works!

Yes, you should update datasets to get the fix.

Sign up or log in to comment