开发者社区> 问答> 正文

请问在windows里,要怎么配置这个参数呀?

请问在windows里,要怎么配置这个参数呀?2022-11-04 12:55:08,538 - modelscope - INFO - All the weights of SbertForFaqQuestionAnswering were initialized from the model checkpoint If your task is similar to the task the model of the checkpoint was trained on, you can already use SbertForFaqQuestionAnswering for predictions without further training. 2022-11-04 12:55:08,541 - modelscope - ERROR - No val key and type key found in preprocessor domain of configuration.json file. 2022-11-04 12:55:08,541 - modelscope - ERROR - Cannot find available config to build preprocessor at mode inference, current config: {'max_seq_length': 50, 'model_dir': 'C:\Users\admin\.cache\modelscope\hub\damo\nlp_structbert_faq-question-answering_chinese-base', 'device': 'gpu'}. trying to build by task and model information. C:\Users\admin.conda\envs\pythonProject1\lib\site-packages\transformers\modeling_utils.py:764: FutureWarning: The device argument is deprecated and will be removed in v5 of Transformers.

展开
收起
fuxixi 2022-11-07 17:52:04 688 0
0 条回答
写回答
取消 提交回答
来源圈子
更多
收录在圈子:
+ 订阅
技术图谱:由专家组参与技术图谱的绘制与编写,知识与实践的结合让开发者们掌握学习路线与逻辑,快速提升技能 电子书:电子书由阿里内外专家打造,供开发者们下载学习,更与课程相结合,使用户更易理解掌握课程内容 训练营:学习训练营 深入浅出,专家授课,带领开发者们快速上云 精品课程:汇集知识碎片,解决技术难题,体系化学习场景,深入浅出,易于理解 技能自测:提供免费测试,摸底自查 体验实验室:学完即练,云资源免费使用
问答排行榜
最热
最新

相关电子书

更多
《云服务器运维之Windows篇》 立即下载
TAKING WINDOWS 10 KERNEL 立即下载
ECS运维指南之Windows系统诊断 立即下载