Instructions to use Salesforce/blip-itm-base-coco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/blip-itm-base-coco with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, BlipForImageTextRetrieval processor = AutoProcessor.from_pretrained("Salesforce/blip-itm-base-coco") model = BlipForImageTextRetrieval.from_pretrained("Salesforce/blip-itm-base-coco", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.98cf803
-
Update README.md
7eaa90c
-
Update config.json (#3)
- Update config.json (84e6f632c6ba01251936b05946bf2c53d1f07ba0)e53efa8
-
Add TF weights (#2)
- Add TF weights (154d7e6ebfdeabf94c9266dfcd16d2d254b233cf) Co-authored-by: Matthew Carrigan <Rocketknight1@users.noreply.huggingface.co>5e44e96
-
Update README.md
a44e4ff
-
Create README.md
e5e72a4
-
Upload BlipForImageTextRetrieval
31f0649 -
Upload processor
73e754b -
initial commit
Younes Belkadaafa5cf5