pretrainedtokenizerfast object has no attribute legacy

#36
by sigutyHu - opened

This error occurs when I'm fine-tuning the model with my own data, how can I fix it?

which happen in
image.png
,and when I set tokenizer.legacy=True before this error code, happens
image.png

@siguty were you able to resolve this issue?

Same issue. Have you resolve the problem?

Sign up or log in to comment