wannian1997
wannian1997
罪名和法条
> 自己保存
> Issues里那么多给你白嫖的预测函数还不够么 —、— 催更习惯了
我将这句改为了assert len(mask_id) >= 1,但是这样输出的结果为类似{(8, ''): [('[', 0.8247228860855103), (']', 0.08479063957929611), ('被', 0.006882567889988422), ('/', 0.0036284865345805883), ('『', 0.0036059825215488672)]},缺少了原本的错误的字。
> 'import xmnlp modelPath = r"E:\deepLearning\xmnlp-onnx-models" xmnlp.set_model(modelPath) text = "不能适应体育专业选拔人材的要求" print(xmnlp.checker(text))' Lazy load checker... Traceback (most recent call last): File "E:/deepLearning/Bert-Chinese-Text-Classification-Pytorch/toolTest.py", line 6, in print(xmnlp.checker(text)) File "D:\Programs\Anaconda\envs\py36\lib\site-packages\xmnlp\checker\__init__.py", line 40, in...