根据错误信息,add_code_sample_docstrings()函数不接受名为'tokenizer_c'的关键字参数。实际上,错误信息中的参数名应该是'tokenizer_class',而不是'tokenizer_c'。这可能是由于输入错误或复制粘贴时的笔误。 确认是否误将其他函数或方法的参数错误地传递给了add_code_sample_docstrings(): 看起来像是误将'tokenizer...
Code for the paper "Language Models are Unsupervised Multitask Learners" - TypeError: add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class' · Issue #299 · openai/gpt-2
When I tried your command for wikiQA t5 prefix, I got the following error: File "/home/pouramini/UnifiedSKG/models/unified/prefixtuning.py", line 8, in <module> from ..prompt.modeling_auto import AutoModelForSeq2SeqLM File "/home/pourami...