Instructions to use microsoft/git-base-vqav2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/git-base-vqav2 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" 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("visual-question-answering", model="microsoft/git-base-vqav2")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("microsoft/git-base-vqav2") model = AutoModelForMultimodalLM.from_pretrained("microsoft/git-base-vqav2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from microsoft/git-base-vqav2: direct link, hf CLI and curl.
- Browser
- Download file 709 MB
-
https://huggingface.co/microsoft/git-base-vqav2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://microsoft/git-base-vqav2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/microsoft/git-base-vqav2/resolve/main/pytorch_model.bin
709 MB
- Xet hash:
- 64eee5f07c91fc15b93c0c69d37834b10f1636f3a2774baaf5a5878b9f77eb55
- Size of remote file:
- 709 MB
- SHA256:
- e75e4c723e2ff445797b48db5d19bbe92ede848837abab5f4f43917e3db2bf20
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.