Datasets:
DatasetGenerationError
Hi,
Trying to get the dataset using
dataset = load_dataset('biglam/lampeter_corpus')
I am getting this error:
"DatasetGenerationError: An error occurred while generating the dataset"
Could you please check and tell me if problem is in your side or its from my side.
tnx
Hi, @akkasi . I just checked and it seems to be working fine on my end.
Hi @shamikbose89 , I am still getting the same error!
Can you provide the following information please?
- Operating system
- Python version
- datasets version
Operating system = Windows 11 pro
Python version : 3.10.12
datasets version = 2.14.5
Hey @akkasi ,
it is working for me too. Could you try to load the dataset with:
dataset = load_dataset('biglam/lampeter_corpus', download_mode='force_redownload')
It forces a re-download of the dataset. My output then looks like:
In [3]: dataset = load_dataset('biglam/lampeter_corpus', download_mode='force_redownload')
Downloading builder script: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 4.74k/4.74k [00:00<00:00, 21.1MB/s]
Downloading readme: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 6.40k/6.40k [00:00<00:00, 20.3MB/s]
Downloading data: 8.71MB [00:06, 1.36MB/s]
Generating train split: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 120/120 [00:02<00:00, 58.25 examples/s]
In [4]:
Could you paste the full error message log in case it is still not working? Thanks π€
Ah, I see: could you try to install a parser library:
https://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-a-parser
Hopefully pip3 install lxml
fixes the problem :)
Solved! Thank you.
Thanks, @stefan-it for jumping on this