Instructions to use BridgeTower/bridgetower-large-itm-mlm-itc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BridgeTower/bridgetower-large-itm-mlm-itc with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BridgeTower/bridgetower-large-itm-mlm-itc", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Unimodal embedding from text
#3
by anselkthomas - opened
Is there a way to create unimodal embedding from text with the same embedding space as the cross model embeddings?
Hi,
You can create unimodal embeddings from text by running the text through BridgeTowerForContrastiveLearning using any image and access the text embeddings with outputs.text_embeds.
See here for reference: BridgeTowerContastiveOutput