Visual Question Answering
Transformers
Safetensors
English
videollama2_qwen2
text-generation
Audio-visual Question Answering
Audio Question Answering
multimodal large language model
Instructions to use lym0302/VideoLLaMA2.1-7B-AV-QA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lym0302/VideoLLaMA2.1-7B-AV-QA 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="lym0302/VideoLLaMA2.1-7B-AV-QA")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("lym0302/VideoLLaMA2.1-7B-AV-QA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from lym0302/VideoLLaMA2.1-7B-AV-QA: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/lym0302/VideoLLaMA2.1-7B-AV-QA/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://lym0302/VideoLLaMA2.1-7B-AV-QA/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/lym0302/VideoLLaMA2.1-7B-AV-QA/resolve/main/special_tokens_map.json
367 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>" | |
| ], | |
| "eos_token": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |