报错截图:
换版本解决:
pip install transformers==4.26.1
【transformers版本问题】Can‘t get attribute ‘GPT2Block‘ on transformers.models.gpt2.modeling_gpt2
于 2023-02-21 20:10:24 首次发布
报错截图:
换版本解决:
pip install transformers==4.26.1