Instructions to use microsoft/git-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/git-large 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-large")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("microsoft/git-large") model = AutoModelForMultimodalLM.from_pretrained("microsoft/git-large") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 873222b014a50bb9ad64e6ebb7aa489ceb00f3fed7f3dbf2dbd3ce2981050a44
- Size of remote file:
- 1.58 GB
- SHA256:
- d443f98231045d0a95d8b4298d9eb19d350ad5afdc292fb7b6c3950925278780
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.