Type Error while training
rishav1122 opened this issue · comments
File "/home/rishabh/Rishabclip/lib/python3.6/site-packages/transformers/tokenization_utils_base.py", line 2430, in call
"text input must of type
str(single example),
List[str] (batch or single pretokenized example) "
ValueError: text input must of type
str(single example),
List[str](batch or single pretokenized example) or
List[List[str]] (batch of pretokenized examples).
Could you provide what are the versions of tokenizer and torch used in your code