Instructions to use microsoft/git-base-msrvtt-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/git-base-msrvtt-qa 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-base-msrvtt-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("microsoft/git-base-msrvtt-qa") model = AutoModelForMultimodalLM.from_pretrained("microsoft/git-base-msrvtt-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from microsoft/git-base-msrvtt-qa: direct link, hf CLI and curl.
- Browser
- Download file 707 MB
-
https://huggingface.co/microsoft/git-base-msrvtt-qa/resolve/main/model.safetensors
- Command line
-
hf download hf://microsoft/git-base-msrvtt-qa/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/microsoft/git-base-msrvtt-qa/resolve/main/model.safetensors
707 MB
- Xet hash:
- 2c8f9de4c21e181a7b330547f15ce1a5f47e685f365ce892f00ad9295dba9dc1
- Size of remote file:
- 707 MB
- SHA256:
- 2b15072ac357a2e1415cf02416f6875ffa3715c4de2fc170ccf5ed47fb348fbf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.