Revert "Use code on the Hub from another repo"
Reverts huggingface/transformers#22698 as it broke three tests on main.
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22813). All of your documentation changes will be reflected on that endpoint.