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
Using the code from moverscore_v2.py, I'm getting the following error:
AttributeError: 'DistilBertTokenizer' object has no attribute 'max_len'
It looks like the attribute has been renamed.
Thanks so much for this work!
The text was updated successfully, but these errors were encountered:
Yes, the attribute max_len was renamed to model_max_length from the transformers version 3.0.0 onwards. The code runs properly on my side (Transformers==3.1.0).
Hi everyone,
Using the code from moverscore_v2.py, I'm getting the following error:
AttributeError: 'DistilBertTokenizer' object has no attribute 'max_len'
It looks like the attribute has been renamed.
Thanks so much for this work!
The text was updated successfully, but these errors were encountered: