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 from transformers import pipeline pipe = pipeline("visual-question-answering", model="microsoft/git-base-vqav2")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("microsoft/git-base-vqav2") model = AutoModelForImageTextToText.from_pretrained("microsoft/git-base-vqav2") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -37,7 +37,7 @@ fine-tuned versions on a task that interests you.
|
|
| 37 |
|
| 38 |
### How to use
|
| 39 |
|
| 40 |
-
For code examples, we refer to the [documentation](https://huggingface.co/transformers/main/model_doc/git.
|
| 41 |
|
| 42 |
## Training data
|
| 43 |
|
|
|
|
| 37 |
|
| 38 |
### How to use
|
| 39 |
|
| 40 |
+
For code examples, we refer to the [documentation](https://huggingface.co/docs/transformers/main/model_doc/git#transformers.GitForCausalLM.forward.example-2).
|
| 41 |
|
| 42 |
## Training data
|
| 43 |
|