How to use DAMO-NLP-SG/VideoLLaMA2-72B-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="DAMO-NLP-SG/VideoLLaMA2-72B-Base")
# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DAMO-NLP-SG/VideoLLaMA2-72B-Base") model = AutoModelForCausalLM.from_pretrained("DAMO-NLP-SG/VideoLLaMA2-72B-Base")