Black-Box-Tuning icon indicating copy to clipboard operation
Black-Box-Tuning copied to clipboard

modeling_roberta.py line 632

Open wuruochen9 opened this issue 2 years ago • 1 comments

TypeError: add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class' How to solve it?

wuruochen9 avatar Jul 30 '22 05:07 wuruochen9

First check if your transformers version is 4.1.1, or you can simply remove @add_code_sample_docstrings (line 631-636)

txsun1997 avatar Jul 30 '22 13:07 txsun1997