model_type: CLYP vs CLIP - Quick Question!

#3
by chochonchon - opened

Hey! I'm trying to convert a model to ONNX using the awesome Transformers.js library (following the guide here: https://github.com/huggingface/transformers.js?tab=readme-ov-file#convert-your-models-to-onnx).

I ran into a little snag. The conversion script seems to be looking for model_type: CLIP, but I'm seeing CLYP in my case. This is causing the conversion to fail.

Is CLYP a typo, or is there a specific reason why it's different from CLIP? Just curious if I'm missing something obvious, or if there's a specific use case for CLYP. Thanks for any insights! 😊

LINE org

Thank you for the inquiry!
"CLYP" is just our internal identifier name, there aren't specific reasons of it. So you can change the name to CLIP in your environment as you want.

LINE org

By the way, I uploaded onnx files which is converted from line-corporation/clip-japanese-base by us.
The link is here: https://huggingface.co/line-corporation/clip-japanese-base/tree/main/onnx

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment