Fix TOO MANY REQUESTS error

#2
by albertvillanova HF staff - opened
BigScience Biomedical Datasets org
edited Nov 23, 2022

This PR optimizes the code in the loading script so that it performs much less requests to the server hosting the data files.

This should fix the error:

aiohttp.client_exceptions.ClientResponseError: 429, message='TOO MANY REQUESTS', url=URL('https://zenodo.org/record/55013/files/datasets.zip')

Close https://huggingface.co/datasets/bigscience-biomedical/ask_a_patient/discussions/1

albertvillanova changed pull request status to open
gabrielaltay changed pull request status to merged

Sign up or log in to comment