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
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (d46c0d0e12b281479dbda593ef04a7bf4c96e9a5) Co-authored-by: Safetensors convertbot <[email protected]>a184794
-
Adding generation config file(s)
ebc01fc
-
Update README.md
0d6fb2b
-
Update README.md
c38b10c
-
Upload README.md with huggingface_hub
c3a9e49 -
Upload processor
960c18d -
Upload GitForCausalLM
9eccfa3
-
Upload processor
c732873 -
Upload GitForCausalLM
c6b83c2 -
initial commit
fc0b5ca