Datasets:
Error when loading LFS files
#2
by
oligou
- opened
Hello,
I cannot download LFS files (Xet-based files work fine).
For example:
from datasets import load_dataset
ds = load_dataset(
"epfml/FineWeb-HQ",
data_files="data/CC-MAIN-2024-26/000_00003.parquet",
)
This results in:
HfHubHTTPError: 403 Forbidden: None.
Cannot access content at: https://cdn-lfs-us-1.hf.co/repos/...
Make sure your token has the correct permissions.
...
<Error><Code>AccessDenied</Code><Message>Access Denied</Message></Error>
Hi,
I am able to reproduce the error. Some other LFS files work fine, for example, https://huggingface.co/datasets/epfml/FineWeb-HQ/blob/main/data/CC-MAIN-2024-42/000_00027.parquet. Unfortunately, I am not aware of changes that we can make to fix the issue from our side and it might be worth to raise the issue with HuggingFace.