datasets icon indicating copy to clipboard operation
datasets copied to clipboard

How to use generate this multitask dataset for SQUAD? I am getting a value error.

Open gsk1692 opened this issue 4 years ago • 4 comments

Dataset viewer issue for 'squad_multitask*'

Link: https://huggingface.co/datasets/vershasaxena91/squad_multitask

short description of the issue

I am trying to generate the multitask dataset for squad dataset. However, gives the error in dataset explorer as well as my local machine. I tried the command: dataset = load_dataset("vershasaxena91/squad_multitask", 'highlight_qg_format') Error: Status code: 400 Exception: TypeError Message: argument of type 'Value' is not iterable

Kindly advice.

gsk1692 avatar Mar 24 '22 09:03 gsk1692

Hi! Replacing nlp.<obj> with datasets.<obj> in the script should fix the problem. nlp has been renamed to datasets more than a year ago, so please use datasets instead to avoid weird issues.

mariosasko avatar Mar 24 '22 13:03 mariosasko

Thank You! Was able to solve with the help of this.

gsk1692 avatar Mar 26 '22 03:03 gsk1692

But I request you to please fix the same in the dataset hub explorer as well...

gsk1692 avatar Mar 26 '22 03:03 gsk1692

May I ask how to get this dataset?

tonyken12345 avatar Mar 26 '22 09:03 tonyken12345