Accept token in trainer.push_to_hub() (#30093)
* pass token to trainer.push_to_hub
* fmt
* Update src/transformers/trainer.py
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
* pass token to create_repo, update_folder
---------
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>