Add documentation of Trainer.create_model_card
# What does this PR do?

This PR adds some documentation for `Trainer.create_model_card` and fixes the type annotations.
_The documentation is not available anymore as the PR was closed or merged._