MiniGPT-4 icon indicating copy to clipboard operation
MiniGPT-4 copied to clipboard

Launching MiniGPT4 after finetuning.

Open eduardofarina opened this issue 1 year ago • 6 comments

Hi everyone, I've finished the finetuning stage and how can I launch the model API using this last version I've just finetuned? Best,

eduardofarina avatar May 01 '23 18:05 eduardofarina

понедельник, 1 мая 2023 г. пользователь Eduardo Farina < @.***> написал:

Hi everyone, I've finished the finetuning stage and how can I launch the model API using this last version I've just finetuned? Best,

— Reply to this email directly, view it on GitHub https://github.com/Vision-CAIR/MiniGPT-4/issues/178, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7KUGCGLVR4KKFL7EXI2WKTXD76PXANCNFSM6AAAAAAXSBK5ME . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- unlocking

Ericsson12resffd0 avatar May 02 '23 00:05 Ericsson12resffd0

@eduardofarina Do you know how much is the memory requirement for the finetune stage?

kuoyenlo avatar May 02 '23 01:05 kuoyenlo

@eduardofarina hello, you can modify the evaluation checkpoint path to the model checkpoint you fine-tuned in the config file eval_configs/minigpt4_eval.yaml

TsuTikgiau avatar May 02 '23 08:05 TsuTikgiau

Thanks @TsuTikgiau !

@kuoyenlo I am using A100 80GB, but for finetuning the 7B llama it required 24GB NVRAM.

eduardofarina avatar May 02 '23 11:05 eduardofarina

@eduardofarina Thanks for your reply. Did you finetune with the official dataset or your own dataset? Wondering whether the memory depends on the size of dataset.

kuoyenlo avatar May 02 '23 13:05 kuoyenlo

@kuoyenlo Hello! The GPU memory usage depends on the batch size and is not related to the dataset size.

TsuTikgiau avatar May 02 '23 13:05 TsuTikgiau