Open leon2milan opened 2 years ago
我现在直接使用pipeline测试一下模型的结果,模型直接输出输入的整个context作为答案,好家伙
跟https://huggingface.co/luhua/chinese_pretrain_mrc_roberta_wwm_ext_large
测试结果不一样
我现在直接使用pipeline测试一下模型的结果,模型直接输出输入的整个context作为答案,好家伙
老铁你解决了吗。。。我也想用pipeline @basketballandlearn
我现在直接使用pipeline测试一下模型的结果,模型直接输出输入的整个context作为答案,好家伙
是的我也是一样的问题,是不是大佬模型传错了啊
需要升级transformers
需要升级transformers
后来确认不是transformers的问题,是下载的模型有问题,不要下载好解压进去,要直接代码下载缓存好
下载
chinese_pretrain_mrc_roberta_wwm_ext_large
到本地 参数为:predict 代码如下
返回结果为no answer