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:
# pip install -U transformers accelerate # 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 tokenizer.json from modelscope/Nexus-GenV2: direct link, hf CLI and curl.
- Browser
- Download file 11.4 MB
-
https://huggingface.co/modelscope/Nexus-GenV2/resolve/main/tokenizer.json
- Command line
-
hf download hf://modelscope/Nexus-GenV2/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/modelscope/Nexus-GenV2/resolve/main/tokenizer.json
11.4 MB
- Xet hash:
- a7030cf2e58dead38199a68a8cd6f6f1a609a6072d7fb38ba5f85b3bb7e21557
- Size of remote file:
- 11.4 MB
- SHA256:
- 9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.