

TITLE
Update training scripts docs

COMMENTS
1

REACTIONS
+1: 0
-1: 0
laugh: 0
hooray: 0
heart: 0
rocket: 0
eyes: 0

BODY
This PR updates the [Examples](https://huggingface.co/docs/transformers/examples) docs with examples for running a training script on distributed setups, with mixed precision, TPUs and Accelerate. It also adds examples for helpful options like using your own custom dataset, resume training from a checkpoint, and uploading to the Hub. 

The examples are centered around one task, but the user is expected to be able to generalize this guide to training scripts for other tasks as well. Feel free to let me know if I'm missing any major difference between the tasks that should be mentioned. I also created this guide as a new `mdx` file to be able to use the framework switcher, so we can remove `examples` from the toctree when we merge.