Qwen-VL icon indicating copy to clipboard operation
Qwen-VL copied to clipboard

关于 chat模型 和 base模型的微调

Open 1456416403 opened this issue 8 months ago • 0 comments

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • [X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • [X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

尊敬的作者你好,我是大模型微调方面的新手,想请教一下chat模型的微调和base模型的微调 是否应该在数据的输入格式上有所区分? chat模型的输入数据格式是对话形式的,这已经在finetune.py的preprocess中体现了 base模型的功能是补全,如果我的需求只是完成一个分类任务,我是否应该将preprocess函数中的 target 修改为我的目标分类,而不是一整段完整的对话

期望行为 | Expected Behavior

No response

复现方法 | Steps To Reproduce

No response

运行环境 | Environment

- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?

No response

1456416403 avatar Jun 18 '24 03:06 1456416403