We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在使用 from modeling_cpt import CPTForConditionalGeneration 时出现这个bug:TypeError: add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class'。定位在class CPTModel(CPTPretrainedModel),modeling_cpt文件的863行。我不清楚该怎么解决这个问题,请问这一般是由于什么原因呢?
The text was updated successfully, but these errors were encountered:
我对应部位注释掉就可以使用了
Sorry, something went wrong.
我也遇到了类似的问题,我是直接参考这个issue:openai/gpt-2#299 把 tokenizer_class 改成了 processor_class 反正能跑起来了
No branches or pull requests
在使用 from modeling_cpt import CPTForConditionalGeneration 时出现这个bug:TypeError: add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class'。定位在class CPTModel(CPTPretrainedModel),modeling_cpt文件的863行。我不清楚该怎么解决这个问题,请问这一般是由于什么原因呢?
The text was updated successfully, but these errors were encountered: