How to use modelscope/Nexus-Gen with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("modelscope/Nexus-Gen", trust_remote_code=True) model = AutoModelForImageTextToText.from_pretrained("modelscope/Nexus-Gen", trust_remote_code=True)
The community tab is the place to discuss and collaborate with the HF community!