Video-Text-to-Text
Transformers
Safetensors
English
qwen2_vl
image-text-to-text
multimodal
text-generation-inference
Instructions to use OpenGVLab/VideoChat-R1_7B_caption with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/VideoChat-R1_7B_caption with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("OpenGVLab/VideoChat-R1_7B_caption") model = AutoModelForMultimodalLM.from_pretrained("OpenGVLab/VideoChat-R1_7B_caption", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from OpenGVLab/VideoChat-R1_7B_caption: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/OpenGVLab/VideoChat-R1_7B_caption/resolve/main/generation_config.json
- Command line
-
hf download hf://OpenGVLab/VideoChat-R1_7B_caption/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/OpenGVLab/VideoChat-R1_7B_caption/resolve/main/generation_config.json
215 Bytes
| { | |
| "bos_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "pad_token_id": 151643, | |
| "temperature": 0.01, | |
| "top_k": 1, | |
| "top_p": 0.001, | |
| "transformers_version": "4.49.0" | |
| } | |