Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: 文本匹配任务中,交换query和title,会得到完全不同的预测结果 #9402

Open
Yitianw opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@Yitianw
Copy link

Yitianw commented Nov 11, 2024

请提出你的问题

根据https://github.com/PaddlePaddle/PaddleNLP/tree/develop/slm/examples/text_matching/simnet的模型预测GPU 启动方式,仅改变predict.py中的data,发现改变data中两个词语的位置,会得到完全不同的预测结果。query_ids, title_ids没有问题,模型推理后的logits就不一样了,probs也不同。
image
image

@Yitianw Yitianw added the question Further information is requested label Nov 11, 2024
@Yitianw Yitianw changed the title [Question]: 文本匹配任务中,交换query和title,会得到差异很大的概率 [Question]: 文本匹配任务中,交换query和title,会得到差异很大的预测结果 Nov 11, 2024
@Yitianw Yitianw changed the title [Question]: 文本匹配任务中,交换query和title,会得到差异很大的预测结果 [Question]: 文本匹配任务中,交换query和title,会得到完全不同的预测结果 Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants