Video-Text-to-Text
Transformers
Safetensors
English
videochat_flash_qwen
feature-extraction
multimodal
custom_code
Eval Results (legacy)
Instructions to use OpenGVLab/VideoChat-Flash-Qwen2_5-2B_res448 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/VideoChat-Flash-Qwen2_5-2B_res448 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/VideoChat-Flash-Qwen2_5-2B_res448", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -109,6 +109,7 @@ pip install flash-attn --no-build-isolation
|
|
| 109 |
Then you could use our model:
|
| 110 |
```python
|
| 111 |
from transformers import AutoModel, AutoTokenizer
|
|
|
|
| 112 |
|
| 113 |
# model setting
|
| 114 |
model_path = 'OpenGVLab/VideoChat-Flash-Qwen2_5-2B_res448'
|
|
|
|
| 109 |
Then you could use our model:
|
| 110 |
```python
|
| 111 |
from transformers import AutoModel, AutoTokenizer
|
| 112 |
+
import torch
|
| 113 |
|
| 114 |
# model setting
|
| 115 |
model_path = 'OpenGVLab/VideoChat-Flash-Qwen2_5-2B_res448'
|