To use this model along with the original CLIP vision encoder you need to download the code and additional linear weights from the
Multilingual-CLIP Github
.
Once this is done, you can load and use the model with the following code
from src import multilingual_clip
model = multilingual_clip.load_model('M-BERT-Base-40')
embeddings = model(['Älgen är skogens konung!', 'Wie leben Eisbären in der Antarktis?', 'Вы знали, что все белые медведи левши?'])
print(embeddings.shape)
# Yields: torch.Size([3, 640])
About
A
BERT-base-multilingual
tuned to match the embedding space for
69 languages
, to the embedding space of the CLIP text encoder which accompanies the Res50x4 vision encoder.
A full list of the 100 languages used during pre-training can be found
here
, and a list of the 4069languages used during fine-tuning can be found in
SupportedLanguages.md
.
Training data pairs was generated by sampling 40k sentences for each language from the combined descriptions of
GCC
+
MSCOCO
+
VizWiz
, and translating them into the corresponding language.
All translation was done using the
AWS translate service
, the quality of these translations have currently not been analyzed, but one can assume the quality varies between the 69 languages.
Runs of M-CLIP M-BERT-Base-69 on huggingface.co
15
Total runs
-1
24-hour runs
-2
3-day runs
-3
7-day runs
-10
30-day runs
More Information About M-BERT-Base-69 huggingface.co Model
M-BERT-Base-69 huggingface.co
M-BERT-Base-69 huggingface.co is an AI model on huggingface.co that provides M-BERT-Base-69's model effect (), which can be used instantly with this M-CLIP M-BERT-Base-69 model. huggingface.co supports a free trial of the M-BERT-Base-69 model, and also provides paid use of the M-BERT-Base-69. Support call M-BERT-Base-69 model through api, including Node.js, Python, http.
M-BERT-Base-69 huggingface.co is an online trial and call api platform, which integrates M-BERT-Base-69's modeling effects, including api services, and provides a free online trial of M-BERT-Base-69, you can try M-BERT-Base-69 online for free by clicking the link below.
M-CLIP M-BERT-Base-69 online free url in huggingface.co:
M-BERT-Base-69 is an open source model from GitHub that offers a free installation service, and any user can find M-BERT-Base-69 on GitHub to install. At the same time, huggingface.co provides the effect of M-BERT-Base-69 install, users can directly use M-BERT-Base-69 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.