Fix broken links to distillation on index page of documentation
Author: amitness
Pull request: yes

# What does this PR do?

<!--
Congratulations! You've made it this far! You're not quite done yet though.

Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.

Then, please replace this with a description of the change and which issue is fixed (if applicable). Please also include relevant motivation and context. List any dependencies (if any) that are required for this change.

Once you're done, someone will review your PR shortly (see the section "Who can review?" below to tag some potential reviewers). They may suggest changes to make the code even better. If no one reviewed your PR after a week has passed, don't hesitate to post a new comment @-mentioning the same persons---sometimes notifications get lost.
-->

<!-- Remove if not applicable -->

Fixes broken links to DistilGPT2, DistilRoberta, and DistilmBERT on the homepage of documentation.

![image](https://user-images.githubusercontent.com/8587189/145648331-74d88898-137e-4f79-9b19-7b61de0e7eff.png)


## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests),
      Pull Request section?

## Who can review?
@sgugger

<!-- Your PR will be replied to more quickly if you can figure out the right person to tag with @

 If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**.
 Please tag fewer than 3 people.

Models:

- albert, bert, xlm: @LysandreJik
- blenderbot, bart, marian, pegasus, encoderdecoder,  t5: @patrickvonplaten, @patil-suraj
- longformer, reformer, transfoxl, xlnet: @patrickvonplaten
- fsmt: @stas00
- funnel: @sgugger
- gpt2: @patrickvonplaten, @LysandreJik
- rag: @patrickvonplaten, @lhoestq
- tensorflow: @LysandreJik

Library:

- benchmarks: @patrickvonplaten
- deepspeed: @stas00
- ray/raytune: @richardliaw, @amogkam
- text generation: @patrickvonplaten
- tokenizers: @n1t0, @LysandreJik
- trainer: @sgugger
- pipelines: @LysandreJik

Documentation: @sgugger

HF projects:

- datasets: [different repo](https://github.com/huggingface/datasets)
- rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)

Examples:

- maintained examples (not research project or legacy): @sgugger, @patil-suraj
- research_projects/bert-loses-patience: @JetRunner
- research_projects/distillation: @VictorSanh

 -->


Comments:
@sgugger Running that command modifies `index.mdx` and resets the links back to the broken link. I'm not sure why that's the case.

![image](https://user-images.githubusercontent.com/8587189/145652891-5b315b7b-cad8-4581-b5fc-06fc937b3ae8.png)


Ah you need to fix them in the main README, the rest is updated from it.

@sgugger Thank you, that makes sense. Do I need to apply these also to the language-specific READMEs or are those auto-generated?
![image](https://user-images.githubusercontent.com/8587189/145653451-040acf9b-6d52-4357-928a-c600d1cf5a73.png)


If you run `make fix-copies`, all your changes should be propagated.

Hello @amitness, let us know if you'd like for us to run `make fix-copies` on your fork (and if so, please invite us as contributors so that we may push to it!)

Thanks!

@LysandreJik I have already run `make fix-copies` and there are no changes to any file after running it. The CI is still failing due to some other reason.

![image](https://user-images.githubusercontent.com/8587189/145996416-888fabc9-a865-4604-b18d-d07e4be15f22.png)

This [CI task](https://app.circleci.com/pipelines/github/huggingface/transformers/31179/workflows/4b5e0854-ff3f-4ccc-8669-1cf826a02e3d/jobs/321016) says the failure is due to code quality checks in docs, but my change is only switching the links in a README. Thoughts?

Ah, indeed the error says  the following:
```
Traceback (most recent call last):
  File "utils/style_doc.py", line 550, in <module>
    main(*args.files, max_len=args.max_len, check_only=args.check_only)
  File "utils/style_doc.py", line 538, in main
    raise ValueError(f"{len(changed)} files should be restyled!")
ValueError: 1 files should be restyled!

Exited with code exit status 1

```

Can you run `make fixup`, which should take care of everything style-related?

@LysandreJik Thank you. That worked and I have pushed all changes.

Thanks again for fixing!