Pytorch example encoded_input fix #1

There is a problem like in t5-large from hugging face" with 'size'. Link to solved issue https://github.com/huggingface/transformers/issues/5480.
The returned object is a dict, not a tensor for the model. ['input_ids'] fixes PyTorch example.