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
-
Update pipeline tag to any-to-any
Verified signatureThis PR updates the `pipeline_tag` to `any-to-any` in the model card's metadata. This change more accurately reflects the model's unified capabilities, including image understanding, generation, and editing, as described in its accompanying paper. This also ensures the model is discoverable under the `any-to-any` pipeline on the Hugging Face Hub (e.g., via https://huggingface.co/models?pipeline_tag=any-to-any).e544fcf
-
Update news (#3)
Verified signature- Update news (aa465e6a347b301078f9a8219e9cb492616ed371)b256093
-
Update qwen model files (#2)
Verified signature- Update qwen model files (6e6f5f76e776538fa546944f53f7b2e0dff410cd)01e25a9
-
Add library name and pipeline tag (#1)
Verified signature- Add library name and pipeline tag (04e11170c027732fc28016aad4bc383c4450d553) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>81c06ad
-
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