How can the CLIP model from OpenAI, which is in English, also support Chinese at the same time?
Closed this issue · 2 comments
guanfuchen commented
How can the CLIP model from OpenAI, which is in English, also support Chinese at the same time?
ersanliqiao commented
translate from chinese
greyovo commented
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.