运行LLaMA-7b模型有时候会报错“configuration_auto.py in getitem raise KeyError(key) KeyError:llama”如下所示: 解决办法升级安装transformer库即可,如下所示:
pip install transformers==4.30.0
运行LLaMA-7b模型有时候会报错“configuration_auto.py in getitem raise KeyError(key) KeyError:llama”如下所示: 解决办法升级安装transformer库即可,如下所示:
pip install transformers==4.30.0