赞
踩
ValueError: The checkpoint you are trying to load has model type `qwen2_moe` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
原因:pip中的最新版的transformers还没有更新,因此用github上的版本更新
解决方案:pip install git+https://github.com/huggingface/transformers
参考链接
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。