Any-to-Any
Transformers
Safetensors
qwen2_5_vl
image-text-to-text
custom_code
text-generation-inference
Instructions to use modelscope/Nexus-GenV2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use modelscope/Nexus-GenV2 with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("modelscope/Nexus-GenV2", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("modelscope/Nexus-GenV2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download merges.txt from modelscope/Nexus-GenV2: direct link, hf CLI and curl.
- Browser
- Download file 1.67 MB
-
https://huggingface.co/modelscope/Nexus-GenV2/resolve/main/merges.txt
- Command line
-
hf download hf://modelscope/Nexus-GenV2/merges.txt
-
curl -L -o merges.txt https://huggingface.co/modelscope/Nexus-GenV2/resolve/main/merges.txt
1.67 MB
File too large to display, you can check the raw version instead.