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:
- 1b03f9aa936d75a5b0fcc028e5736d2ab4110ffe04400fb05b9c6805a25bff57
- Size of remote file:
- 707 MB
- SHA256:
- cc7a0995b8b20b9a5759b91606ed33ad128ba6fdeede0dbc45e8adde0da7836b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.