Open adventure2165 opened 1 year ago
Hi,
You can leverage the conversion script to convert the original checkpoint to the HF format: https://github.com/huggingface/transformers/blob/main/src/transformers/models/blip/convert_blip_original_pytorch_to_hf.py
I followed the pretrain.py code provided here and trained a model using Custom Data by only modifying the Tokenizer to work with Korean language. However, I now want to load a pre-trained pth file trained using Hugging Face's BLIP model. Is there a way to do this?