support transformers 4.57 b13f72c
xufang commited on
How to use OpenGVLab/VideoChat-Flash-Qwen2_5-7B_InternVideo2-1B with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("OpenGVLab/VideoChat-Flash-Qwen2_5-7B_InternVideo2-1B", trust_remote_code=True, dtype="auto")