The following `model_kwargs` are not used by the model: ['bad_word_ids']
#2
by
Yugohg
- opened
例を使って実行しましたが
エラー「ValueError: The following model_kwargs
are not used by the model: ['bad_word_ids'] (note: typos in the generate arguments will also show up in this list)」
が出てきたので
bad_word_ids=[[tokenizer.unk_token_id]] を
bad_words_ids=[[tokenizer.unk_token_id]] に変えたら実行できました。
Thank you very much for pointing out the typo!
It is now corrected in commit e50d65b5a28a176a38043a57717b9540c631bf18.
tianyuz
changed discussion status to
closed