Instructions to use microsoft/git-large-vqav2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/git-large-vqav2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="microsoft/git-large-vqav2")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("microsoft/git-large-vqav2") model = AutoModelForMultimodalLM.from_pretrained("microsoft/git-large-vqav2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
075dd1e
1
Parent(s): 5e5d4e1
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (4ffa44b462d4976e536d13f396f7edc15b1e65fa)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90bd4fe168bb8de07b5a75f02af6c4d4c8eaa8f39bca4fe7ccfdaeb972953c59
|
| 3 |
+
size 1579504880
|