Skip to content

document page 404 not found after redirection #6576

@annahung31

Description

@annahung31

Describe the bug

The redirected page encountered 404 not found.

Steps to reproduce the bug

  1. In this tutorial: https://huggingface.co/learn/nlp-course/chapter5/4?fw=pt
    original md: https://github.com/huggingface/course/blob/2c733c2246b8b7e0e6f19a9e5d15bb12df43b2a3/chapters/en/chapter5/4.mdx#L49
By default, 🤗 Datasets will decompress the files needed to load a dataset. If you want to preserve hard drive space, you can pass `DownloadConfig(delete_extracted=True)` to the `download_config` argument of `load_dataset()`. See the [documentation](https://huggingface.co/docs/datasets/package_reference/builder_classes.html?#datasets.utils.DownloadConfig) for more details.

The documentation points to https://huggingface.co/docs/datasets/package_reference/builder_classes.html?#datasets.utils.DownloadConfig

it shows The documentation page PACKAGE_REFERENCE/BUILDER_CLASSES.HTML doesn’t exist in v2.16.1, but exists on the main version. Click [here](https://huggingface.co/docs/datasets/main/en/package_reference/builder_classes.html) to redirect to the main version of the documentation.

But the redirected website https://huggingface.co/docs/datasets/main/en/package_reference/builder_classes.html is 404 not found.

Expected behavior

I Guess the redirected webisite should be
https://huggingface.co/docs/datasets/main/en/package_reference/builder_classes (without .html)
or https://huggingface.co/docs/datasets/main/en/package_reference/builder_classes#datasets.DownloadConfig.

Environment info

Datasets main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions