问题背景:
在运行 Qwen2-7B-Instruct 时,报错:KeyError: 'qwen2'
原因说明:
Transformer版本过低,需要升级版本
解决方案:
pip install -U transformers
参考:
【modelscope_Qwen2-7B-Instruct】
在运行 Qwen2-7B-Instruct 时,报错:KeyError: 'qwen2'
Transformer版本过低,需要升级版本
pip install -U transformers
【modelscope_Qwen2-7B-Instruct】