We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用qwen-7B-VL模型用来做检测任务,提示词中已明确要求只需要回答YES和NO,但模型在回答的时候还是给出了多种回答,例如(是的,图片是xxx、xxx, 所以我无法不确定,、根据图片内容,不是xxx),如何对模型的回答进行有效的约束,只让模型输出固定选项的回答。
No response
- OS: centos - Python:3.8 - Transformers: latest - PyTorch:latest - CUDA (`12.1`):
The text was updated successfully, but these errors were encountered:
这得要SFT
Sorry, something went wrong.
你是用yolo检测结果做的数据集吗,问是否存在dog,答yes no。多少个标签,多少数据量,多目标多标签的情况是如何处理的。
不是,就算简单的输入一张图片,要求模型回答指定的选项,比如输入一张猫的图片,希望模型回答图片中有还是没有猫,但是模型给的回答并没有按照预期只说”有“和”没有“两种,而是会多了其它内容,比如图片的具体内容、有可能有等情况
No branches or pull requests
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
使用qwen-7B-VL模型用来做检测任务,提示词中已明确要求只需要回答YES和NO,但模型在回答的时候还是给出了多种回答,例如(是的,图片是xxx、xxx, 所以我无法不确定,、根据图片内容,不是xxx),如何对模型的回答进行有效的约束,只让模型输出固定选项的回答。
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
备注 | Anything else?
No response
The text was updated successfully, but these errors were encountered: