PaddleNLP icon indicating copy to clipboard operation
PaddleNLP copied to clipboard

bert staric 运行预测脚本无结果输出

Open rGitcy opened this issue 2 years ago • 1 comments

请提出你的问题

按照官方脚本对fintune后的模型进行测试,运行预测脚本: image

无输出结果。屏幕截图如下: image

rGitcy avatar Nov 03 '22 00:11 rGitcy

你好,看了下当前的这个代码确实是没有输出 https://github.com/PaddlePaddle/PaddleNLP/blob/develop/model_zoo/bert/static/predict_glue.py#L161 ,只算是个示例不是很完善,您可以先按照需要使用这里的返回值 https://github.com/PaddlePaddle/PaddleNLP/blob/develop/model_zoo/bert/static/predict_glue.py#L133

guoshengCS avatar Nov 03 '22 10:11 guoshengCS

This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。

github-actions[bot] avatar Jan 03 '23 00:01 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。

github-actions[bot] avatar Jan 17 '23 00:01 github-actions[bot]