Train MBART Model: forward() got an unexpected keyword argument 'label_mask'
anhdungitvn opened this issue · comments
Anh-Dung Vo commented
Raj Dabre commented
Hi,
Are you using the version of transformers provided with this toolkit, or did you install it using "pip install transformers?"
If you used the latter, then you will get this error.
To fix this:
- pip uninstall transformers
- cd yanmtt/transformers
- python setup.py install
Anh-Dung Vo commented