Visual Question Answering
Transformers
English
qwen2
text-generation
multimodal large language model
large video-language model
Instructions to use DAMO-NLP-SG/VideoLLaMA2-72B-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DAMO-NLP-SG/VideoLLaMA2-72B-Base 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="DAMO-NLP-SG/VideoLLaMA2-72B-Base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DAMO-NLP-SG/VideoLLaMA2-72B-Base") model = AutoModelForCausalLM.from_pretrained("DAMO-NLP-SG/VideoLLaMA2-72B-Base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload 2 files
Verified signaturea7126d9 -
Update README.md
Verified signature2d704ac -
Update README.md
Verified signatureae87c5d
-
Delete nohup.out
Verified signature8d2d9e3 -
Model Upload
7b414f2 -
initial commit
Verified signature6683b34