Skip to content

Access to Transformers example Pytorch link broken . Impact on navigation as well #25444

@SoyGema

Description

@SoyGema

Hello there! 👋

Context

Exploring Pytorch translation example

Issue

There seems to be a broken link in Pytorch example in the Translation example, similar to what happened in #24497

# https://huggingface.co/docs/datasets/loading_datasets.html.

When I follow the link , the following message appears. And when I click the here link

Captura de pantalla 2023-08-10 a las 18 19 10

It redirects me to https://huggingface.co/docs/transformers/main/en/examples with an 404 error.

Potential fix

  1. Is that ok if I submit a quick fix as in Fix loading dataset docs link in run_translation.py example #24594 ?
  2. Would it be hard to try to submit a contrib of something like this? ...

specify doc redirects using a redirects.yml like in datasets and other libraries: https://github.com/huggingface/datasets/blob/main/docs/source/_redirects.yml

Do you know if this entails more than create than source folder and .yaml file? Would I have to study this?

@sgugger
Keep up the good work!

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