APE icon indicating copy to clipboard operation
APE copied to clipboard

How to finetune

Open chenlindu opened this issue 2 years ago • 3 comments

Great job! I’m wondering if there are any scripts available that I can use to fine-tune this model for my specific task.

chenlindu avatar Dec 12 '23 13:12 chenlindu

Hi @CDchenlin, Our training script should be able to fine-tune your task with some preparation.

  1. register new data to detectron2
  2. maybe need to modify the data mapper
  3. add the data to model configs
  4. maybe need to modify the loss function

shenyunhang avatar Dec 13 '23 09:12 shenyunhang

微调对设备有什么要求吗?一张rtx4090,只有少量数据可以不?

skylning avatar Jan 29 '24 07:01 skylning

我们是在V100上训练。 RTX4090的显存可能不太够,可以考虑冻结部分层,或者语言模型离线提取prompt,可以节省些内存。 我们也在训练ViT-Ti的小模型。

shenyunhang avatar Feb 01 '24 05:02 shenyunhang