Closed sdip15fa closed 1 month ago
@sdip15fa hello! I think you can use this script: https://github.com/huggingface/transformers/blob/main/src/transformers/models/paligemma/convert_paligemma_weights_to_hf.py
@merveenoyan Thanks a lot!
@merveenoyan I tried the script that you shared, but it's giving me this error. Do you know how to fix it?
Traceback (most recent call last):
File "/content/convert_paligemma.py", line 340, in
Hi, I have tried to fine-tune paligemma using the notebook provided and got .npz models. Is it possible I can convert them to the format as in google/paligemma-3b-pt-224 so I can use them with transformers? Thanks.