Any-to-Any
Transformers
Safetensors
qwen2_5_vl
image-text-to-text
custom_code
text-generation-inference
Instructions to use modelscope/Nexus-Gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use modelscope/Nexus-Gen with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("modelscope/Nexus-Gen", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("modelscope/Nexus-Gen", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add library name and pipeline tag
Verified signatureAdds a link to the paper, and sets the library name to transformers. This PR also sets the pipeline tag to `image-to-image`, enabling people to find your model at https://huggingface.co/models?pipeline_tag=image-to-image.04e1117 -
Upload decoder_81_512.bin with huggingface_hub
Verified signature932c721
-
Upload README.md
Verified signaturea1919f5
-
Upload folder using huggingface_hub
Verified signaturec72a4b5 -
initial commit
Verified signaturefa35d12