Instructions to use microsoft/git-base-textcaps with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/git-base-textcaps with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="microsoft/git-base-textcaps")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("microsoft/git-base-textcaps") model = AutoModelForImageTextToText.from_pretrained("microsoft/git-base-textcaps") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 3afd1c609638004d704253ae8c6a2e41357df7849644ba489525e65f6e7e93fe
- Size of remote file:
- 707 MB
- SHA256:
- 00972c941adeb82620980f167dc8c0c77de571608435560cfb31426a5de0eb81
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.