[t5 doc] make the example work out of the box
This PR expands the training example to include the correct model type for the example to work, e.g. with `T5Model` this example will break.

Fixes: https://github.com/huggingface/transformers/issues/12238

@patrickvonplaten
