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
While testing cfe code, which requires both transformers and polyjuice_nlp packages, figures out that after installing everything needed according to the offical website from polyjuice_nlp, there is always an error:
ValueError: The following `model_kwargs` are not used by the model: ['n'] (note: typos in the generate arguments will also show up in this list)
This issue is also mentioned in repo of transformers.
The easiest way to solve it, is just to use lower version.
2.
If running code and encounter this problem:
AttributeError: Can't get attribute 'Trie' on <module 'transformers.tokenization_utils'.
1.
While testing cfe code, which requires both transformers and polyjuice_nlp packages, figures out that after installing everything needed according to the offical website from polyjuice_nlp, there is always an error:
This issue is also mentioned in repo of transformers.
The easiest way to solve it, is just to use lower version.
2.
If running code and encounter this problem:
One similar issue can be found here.
Make sure that your transformers version is 4.18.0
3.
If you want to install polyjuice_nlp, it's better to clone the git and install then directly(instead of pip/conda).
The text was updated successfully, but these errors were encountered: