How to use modelscope/Nexus-GenV2 with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("modelscope/Nexus-GenV2", trust_remote_code=True) model = AutoModelForImageTextToText.from_pretrained("modelscope/Nexus-GenV2", trust_remote_code=True)
· Sign up or log in to comment