Pytorch example encoded_input fix
#1
by
DimOgu
- opened
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.
thank you, DimOgu! Already merged your request:-)
tbs17
changed pull request status to
merged