Datasets:

Sub-tasks:
extractive-qa
Languages:
Spanish
ArXiv:
License:

_URL missing "/" at the end

#7
by mikel403 - opened

Hello,

If you try to load the dataset (load_dataset("PlanTL-GOB-ES/SQAC")) you get an error. I will copy the part of the code where the error is.

_URL = "https://huggingface.co/datasets/PlanTL-GOB-ES/SQAC/tree/main"
_TRAINING_FILE = "train.json"
_DEV_FILE = "dev.json"
_TEST_FILE = "test.json"

urls_to_download = {
"train": f"{_URL}{_TRAINING_FILE}",
"dev": f"{_URL}{_DEV_FILE}",
"test": f"{_URL}{_TEST_FILE}",
}

This results on trying to download from https://huggingface.co/datasets/PlanTL-GOB-ES/SQAC/tree/maintrain.json.

A "/" is missing either on the end of _URL or begining of the files.

Thank you for your time,
Mikel

Sign up or log in to comment