PaddleNLP icon indicating copy to clipboard operation
PaddleNLP copied to clipboard

P-tuning用自己准备的二分类数据做测试时,预测的概率很小,正负概率和远小于1

Open bultiful opened this issue 4 years ago • 26 comments

你好,

在做p-tuning模型,采用的是自己的二分类数据集,训练后进行predict的预测,预测后的概率总是很小,正负概率和远小于1。想请教一下这是什么问题导致的。以及自测数据在p-tuning中有没有参考代码。需要做什么另外的处理吗。谢谢

bultiful avatar Dec 03 '21 07:12 bultiful

您好,P-Tuning 预测空间是在整个词表规模进行,具体到某个 Lable 上绝对概率数值很小符合预期,概率值的相对大小更具有参考意义。自测数据在 p-tuning 中有没有参考代码 这个具体需求或者问题可以再明确下吗?没太理解您的需求。

tianxin1860 avatar Dec 05 '21 14:12 tianxin1860

您好,感谢你的回答。

我还想问个关于代码的原理问题。 image

bultiful avatar Dec 10 '21 11:12 bultiful

假设做新闻分类任务,给定分类文本: 姚明狂砍 38 分,这是一条[MASK][MASK]新闻,Label 是 体育, 预测出 Label 为 体育 的概率 = P(体) * P(育)

tianxin1860 avatar Dec 15 '21 04:12 tianxin1860

您发给我的信件已经收到!Best Regards!

bultiful avatar Dec 15 '21 04:12 bultiful

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

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

您发给我的信件已经收到!Best Regards!

bultiful avatar Jan 27 '23 00:01 bultiful

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

github-actions[bot] avatar Mar 29 '23 00:03 github-actions[bot]

您发给我的信件已经收到!Best Regards!

bultiful avatar Mar 29 '23 00:03 bultiful

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

github-actions[bot] avatar May 29 '23 00:05 github-actions[bot]

您发给我的信件已经收到!Best Regards!

bultiful avatar May 29 '23 00:05 bultiful

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

github-actions[bot] avatar Jul 30 '23 00:07 github-actions[bot]

您发给我的信件已经收到!Best Regards!

bultiful avatar Jul 30 '23 00:07 bultiful

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

github-actions[bot] avatar Sep 30 '23 00:09 github-actions[bot]

您发给我的信件已经收到!Best Regards!

bultiful avatar Sep 30 '23 00:09 bultiful

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

github-actions[bot] avatar Dec 01 '23 00:12 github-actions[bot]

您发给我的信件已经收到!Best Regards!

bultiful avatar Dec 01 '23 00:12 bultiful

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

github-actions[bot] avatar Feb 02 '24 00:02 github-actions[bot]

您发给我的信件已经收到!Best Regards!

bultiful avatar Feb 02 '24 00:02 bultiful

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

github-actions[bot] avatar Apr 07 '24 00:04 github-actions[bot]

您发给我的信件已经收到!Best Regards!

bultiful avatar Apr 07 '24 00:04 bultiful

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

github-actions[bot] avatar Jun 07 '24 00:06 github-actions[bot]

您发给我的信件已经收到!Best Regards!

bultiful avatar Jun 07 '24 00:06 bultiful

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

github-actions[bot] avatar Aug 09 '24 00:08 github-actions[bot]

您发给我的信件已经收到!Best Regards!

bultiful avatar Aug 09 '24 00:08 bultiful