happy-transformer icon indicating copy to clipboard operation
happy-transformer copied to clipboard

TypeError: TextEncodeInput must be Union[TextInputSequence, Tuple[InputSequence, InputSequence]]

Open tuanndhust opened this issue 2 years ago • 1 comments

I got that error when trying to train the model with my custom dataset

tuanndhust avatar Nov 01 '22 14:11 tuanndhust

Please show a minimal reproducible example. Which function is throwing the error and what are you passing into it?

ted537 avatar Nov 01 '22 17:11 ted537