Image-Text-to-Text
Transformers
Safetensors
English
Chinese
qwen3_5
image-to-code
video-to-code
agentic-reinforcement-learning
conversational
Instructions to use Skywalker0410/CodingDINO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Skywalker0410/CodingDINO with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Skywalker0410/CodingDINO") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Skywalker0410/CodingDINO") model = AutoModelForMultimodalLM.from_pretrained("Skywalker0410/CodingDINO", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Skywalker0410/CodingDINO with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Skywalker0410/CodingDINO" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Skywalker0410/CodingDINO", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Skywalker0410/CodingDINO
- SGLang
How to use Skywalker0410/CodingDINO with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Skywalker0410/CodingDINO" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Skywalker0410/CodingDINO", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Skywalker0410/CodingDINO" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Skywalker0410/CodingDINO", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use Skywalker0410/CodingDINO with Docker Model Runner:
docker model run hf.co/Skywalker0410/CodingDINO
|
Download NOTICE.md from Skywalker0410/CodingDINO: direct link, hf CLI and curl.
- Browser
- Download file 710 Bytes
-
https://huggingface.co/Skywalker0410/CodingDINO/resolve/main/NOTICE.md
- Command line
-
hf download hf://Skywalker0410/CodingDINO/NOTICE.md
-
curl -L -o NOTICE.md https://huggingface.co/Skywalker0410/CodingDINO/resolve/main/NOTICE.md
710 Bytes
Attribution
CodingDINO is a post-trained version of Qwen3.8-27B. The CodingDINO authors adapted the model weights for visual reconstruction as executable code. The checkpoint is distributed under the Apache License 2.0.
The base model copyright notice is Copyright 2026 Alibaba Cloud. The original license is included in LICENSE.base-model. The visual reward uses the frozen DINOv2 and DINOv3 encoders from Meta. Third-party material appearing in the paper illustrations or demo remains the property of its respective rights holders.