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
There is a deprecated reference to tokenizer.max_len with tokenizer.model_max_length - similar to issue 8739 and PR 8604.
See error example in Colab here. it causes AttributeError: 'BertTokenizer' object has no attribute 'max_len'
The error happens when glue_convert_examples_to_features() is called without max_length parameter specified. In that case line 119 with wrong reference gets called.
I submitted a simple PR #10220. It should be able to fix this issue.
The text was updated successfully, but these errors were encountered:
There is a deprecated reference to
tokenizer.max_len
withtokenizer.model_max_length
- similar to issue 8739 and PR 8604.See error example in Colab here. it causes
AttributeError: 'BertTokenizer' object has no attribute 'max_len'
The error happens when
glue_convert_examples_to_features()
is called withoutmax_length
parameter specified. In that case line 119 with wrong reference gets called.I submitted a simple PR #10220. It should be able to fix this issue.
The text was updated successfully, but these errors were encountered: