How to use OpenGVLab/InternVideo2_5_Chat_8B with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/InternVideo2_5_Chat_8B", trust_remote_code=True, dtype="auto")
When I use the example code to load the model and read in a 30fps and 20 hour video, I ask the model how long the video is, and the output result is 30 seconds
· Sign up or log in to comment