OFA-Sys / OFA

Official repository of OFA (ICML 2022). Paper: OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework
Apache License 2.0
2.39k stars 248 forks source link

How to use Finetuned checkpoint for Caption on COCO #413

Open Moeinh77 opened 1 year ago

Moeinh77 commented 1 year ago

Hi, thanks for the great work with this project. I am trying to load the "Finetuned checkpoint for Caption on COCO" but it seems like it is not compatible with hugging face transformers format. Is there any simple way of loading the checkpoint with HF?

logicwong commented 12 months ago

OFA doesn't support HF transformers. You can use the code from this repo for fine-tuning