You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
....
tokenized_docs = tokenize_document(
File "..../python3.9/site-packages/pie_modules/document/processing/tokenization.py", line 314, in tokenize_document
for batch_encoding in tokenized_text.encodings:
TypeError: 'NoneType' object is not iterable
ArneBinder
changed the title
tokenize_document() doesn't work if the model do not support fast tokenizer
tokenize_document() doesn't work if the model does not support fast tokenizer
Apr 24, 2024
Model: cl-tohoku/bert-base-japanese
Package Requirements: ipadic, fugashi (pip install ipadic fugashi)
Code to replicate the issue:
Error Message:
Update: Current fix using huggingface/transformers#12381
The text was updated successfully, but these errors were encountered: