modeling_roberta.py line 632
Closed this issue · 1 comments
wuruochen9 commented
TypeError: add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class'
How to solve it?
txsun1997 commented
First check if your transformers
version is 4.1.1, or you can simply remove @add_code_sample_docstrings
(line 631-636)