Finetuning
Is it possible to finetune VILA through hugging face with a custom image dataset? I don't see any documentation about this.
Did you ever figure this out I've been trying to do this with xtuner and I'm having some issues
You can follow the https://github.com/NVlabs/VILA?tab=readme-ov-file#step-3-supervised-fine-tuning to start. We also plan to add some tutorial docs later. Could you list some datasets that you are going to finetune with?
I've been working with the Supervised finetuning instructions and I'm running into some issues getting this to work. The data mixture expects dictionary items and then finds the data path from that however I'm not sure where this is reading and getting its values (huggingface perhaps?). My custom data set is on device and I'm just trying to get it to read that path but when I pass this into data mixture I get
KeyError: './data/data.json'
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 22981) of binary: /usr/bin/python3
Traceback (most recent call last):
File "/usr/local/bin/torchrun", line 8, in <module>
sys.exit(main())
which data you are going to add?
I have a llava data set following this format. Do I need to define the splits in the json or something?
data = {
"id": link,
"image": image_path,
"conversations": [
{
"from": "human",
"value": metadata,
},
{
"from": "gpt",
"value": response,
}
]
}
the data set is a custom data set in the following format
Hello @Lyken17 thanks for your awesome work on VILA1.5! Wondering if you have updates on the tutorial docs for finetuning? I was planning to finetune VILA on infrared videos so the docs/tutorials would be truly helpful. Any comments on this would be truly appreciated! Thanks a lot! :)
Hi, I'm very new to the world of VLMs. Can I find an example of a multimodal dataset (e.g., something like image sequences + prompts + ground truth) for fine-tuning? Also, can I use the Hugging Face SFT Trainer, as described in this guide? Thanks!
I want to fine-tune X-VILA on a multimodal dataset. Is it possible? If yes, can you provide resources on how to do it?
the issue has been non-active for a while. Feel free to reopen if the issue still exists