CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation
481
stars
70
forks
source link
RuntimeError:add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class'RuntimeError: Failed to import roformer.modeling_roformer because of the following error (look up to see its traceback): add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class' #45
Cause HuggingFace Transoformers updated,https://github.com/huggingface/transformers/commit/f5af87361718be29a1d3ddb2d8ef23f85b1c70c3