Closed stefdam closed 3 years ago
xlmroberta
is supported for Classification. sliding_window
is a model args
, which is why you get that error.
model_args = ClassificationArgs()
model_args.sliding_window = True
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello ,
I am not sure if this is a bug or just these models are not yet supported.
I tried binary classification using class ClassificationModel and I encoutered the following errors:
1) keyerror using 'xlmroberta' as model type
2) unexpected keyword using xlm multilingual models like xlm-mlm-xnli15-1024
"init() got an unexpected keyword argument 'sliding_window' "