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
Traceback (most recent call last):
File "run_plm.py", line 498, in
main()
File "run_plm.py", line 330, in main
model = XLNetLMHeadModel.from_config(config)
AttributeError: type object 'XLNetLMHeadModel' has no attribute 'from_config'
The problem arises when using:
the official example scripts: (give details below)
The tasks I am working on is:
my own task or dataset: (give details below)
portuguese wikipedia dataset
The text was updated successfully, but these errors were encountered:
Environment info
transformers
version: 4.8.0Who can help
@patrickvonplaten
Information
Model I am trying to train a XLNet model from scratch to portuguese but when i run this script: https://github.com/huggingface/transformers/blob/v4.8.2-release/examples/pytorch/language-modeling/run_plm.py i get this error:
Traceback (most recent call last):
File "run_plm.py", line 498, in
main()
File "run_plm.py", line 330, in main
model = XLNetLMHeadModel.from_config(config)
AttributeError: type object 'XLNetLMHeadModel' has no attribute 'from_config'
The problem arises when using:
The tasks I am working on is:
portuguese wikipedia dataset
The text was updated successfully, but these errors were encountered: