mmf icon indicating copy to clipboard operation
mmf copied to clipboard

Fine-tuning pretrained VILBERT on a custom dataset

Open ir0nt0ad opened this issue 2 years ago • 1 comments

❓ Questions and Help

Hi, I want to use the Hateful Memes VILBERT checkpoint from the zoo to fine-tune it on my custom dataset. I run the following command, and it appears to work:

mmf_run config=mmf/projects/my_dataset/configs/vilbert/direct.yaml model=vilbert dataset=my_dataset checkpoint.resume_zoo=vilbert.finetuned.hateful_memes.direct checkpoint.resume_pretrained=True run_type=train_val

Just wanted to make sure that it actually does what I want it to do. Thanks!

ir0nt0ad avatar May 13 '22 18:05 ir0nt0ad

Hey, can you tell me how you converted your dataset "my_dataset" in the repo, share the script too if possible.

ApoorvVerma5 avatar Dec 16 '22 14:12 ApoorvVerma5