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

InternVL-Chat 1.5 Fine-Tune About Visual Grounding Task #910

Closed
MVP-D77 opened this issue May 11, 2024 · 1 comment
Closed

InternVL-Chat 1.5 Fine-Tune About Visual Grounding Task #910

MVP-D77 opened this issue May 11, 2024 · 1 comment

Comments

@MVP-D77
Copy link

MVP-D77 commented May 11, 2024

有关InternVL-Chat 1.5最佳实践中所提到的微调过程,想问下可以对Visual Grounding任务进行微调么?以及如果可以的话,prompt模板是什么样子的?

{
    "id": "n0167", 
    "image": "xxxxx", 
    "conversations": [
        {
            "from": "human", 
            "value": "<image>\nPlease provide the bounding box coordinate of the region this sentence describes: <ref>xxx</ref>"
        }, 
        {
            "from": "gpt", 
            "value": "<ref>xxx</ref><box>[[308, 765, 592, 1094]]</box>"
        }
    ]
}

请问如上述的模板可以参考哪里修改成可以微调的数据?
除此之外,如果我有多个微调数据集,怎么把他们同时交给微调脚本,以及可否设置每个数据集进行几次访问,数据增强等?

@hjh0119
Copy link
Collaborator

hjh0119 commented May 14, 2024

自定义数据集参考

多个微调数据集,源码安装参考中的dataset
pip安装参考

@hjh0119 hjh0119 closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants