PicQuery icon indicating copy to clipboard operation
PicQuery copied to clipboard

How can the CLIP model from OpenAI, which is in English, also support Chinese at the same time?

Open guanfuchen opened this issue 1 year ago • 2 comments

How can the CLIP model from OpenAI, which is in English, also support Chinese at the same time?

guanfuchen avatar Jul 23 '24 06:07 guanfuchen

translate from chinese

ersanliqiao avatar Aug 28 '24 06:08 ersanliqiao

I used the translation feature in Google's MLKit to convert Chinese input to English. In order to be able to use it offline, I embedded the downloaded translation model directly into the asset and copied it to the directory on initial startup, so that MLKit could be used offline without an internet connection.

greyovo avatar Aug 28 '24 06:08 greyovo