v2.1.0
NEW FEATURE (thanks to @aryehgigi):
Predict function signature changed to support tokenized text as input:
texts: Union[str, List[str], List[List[str]]], # similar to huggingface tokenizer inputs
is_split_into_words: bool = Falseif you send a tokenized text to the predict function use is_split_into_words=True
If you want to use a single tokenized sequence you must setis_split_into_words=True (to lift the ambiguity with a batch of sequences)