Hi! I run the sample in README using Option2 (the local context), with Transformers 4.16.2.
I encountered an Error: TypeError: TextInputSequence must be str
It happened in line candidates = bert_reader.predict(question, contexts). Could someone help with it? Thank you a lot in advance.
Hi! I run the sample in README using Option2 (the local context), with Transformers 4.16.2. I encountered an Error: TypeError: TextInputSequence must be str It happened in line
candidates = bert_reader.predict(question, contexts)
. Could someone help with it? Thank you a lot in advance.