Failed to import transformers.models.gpt2
flyricci opened this issue · comments
Error occurred when executing ChinesePrompt_Mix:
Failed to import transformers.models.gpt2.modeling_tf_gpt2 because of the following error (look up to see its traceback):
Your currently installed version of Keras is Keras 3, but this is not yet supported in Transformers. Please install the backwards-compatible tf-keras package with pip install tf-keras
,I reinstalled keras as requested and this error is still reported