FileNotFoundError when loading the LIUM/tedlium data on Windows
I've been getting this error FileNotFoundError: Couldn’t find file at https://huggingface.co/datasets/LIUM/tedlium/resolve/main/TEDLIUM_release1\train.tar.gz when trying to load this dataset using the datasets library on my Windows PC
I initially thought it was a general issue till I raised an issue on the HuggingFace forum here: https://discuss.huggingface.co/t/filenotfounderror-when-loading-lium-tedlium-dataset/68196.
I tried the code on Colab and it worked, but it still refused to work on my Windows PC. Then after debugging, I found out that the URL in the FileNotFoundError returns a 404 error when I use the request library to try to access it both on my Windows PC and Colab.
The issue with the URL is the backward slash "" before the train.tar.gz in the URL, and it seems this backward slash only appears in the URL on a Windows PC, as that's why the error doesn't come up on Colab.
I’m using Datasets Version 2.18.0
Here is my code:
from datasets import load_dataset
tedlium = load_dataset(“LIUM/tedlium”, “release1”, split=“train[:100]”)
What could be done to solve this problem?
I face the same problem. It seems you didn't find a solution yet?
No, I didn't find a solution
Could you try with:
from datasets import load_dataset
tedlium = load_dataset(“LIUM/tedlium”, “release3”, split=“train[:100]”, revision="refs/convert/parquet")
It's the same dataset, just converted to parquet format
Now a new error occurs: ValueError: BuilderConfig 'release3' not found. Available: ['default']
it seems to be working, if I don't specify a release.