"swift训练的模型推到魔搭之后,在魔搭一键部署(不管是FC还是PAI-EAS的方式)时,出现下面报错:
The repository for /mnt/ms-fc-85fdc1f3-00d5-model-cache/playmake/Moushu2_Merge contains custom code which must be executed to correctlyload the model. You can inspect the repository content at https://hf.co//mnt/ms-fc-85fdc1f3-00d5-model-cache/playmake/Moushu2_Merge.
Please pass the argument trust_remote_code=True
to allow custom code to be run.
请问ModelScope中,要怎么解决以上问题?"
ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352