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 native-gdn/README.md from Skywalker0410/CodingDINO: direct link, hf CLI and curl.
- Browser
- Download file 1.39 kB
-
https://huggingface.co/Skywalker0410/CodingDINO/resolve/main/native-gdn/README.md
- Command line
-
hf download hf://Skywalker0410/CodingDINO/native-gdn/README.md
-
curl -L -o README.md https://huggingface.co/Skywalker0410/CodingDINO/resolve/main/native-gdn/README.md
1.39 kB
| # Native Gated DeltaNet tensors | |
| This directory restores the step-65 Gated DeltaNet (GDN) RMSNorm parameters used during evaluation. The checkpoint shards store the Hugging Face parameterization. The aligned worker consumes the original zero-centered BF16 values and checks every loaded tensor against its training-export fingerprint. | |
| | File | Purpose | | |
| | --- | --- | | |
| | `native_gdn_norm_delta.safetensors` | Forty-eight BF16 tensors, one for each GDN layer. The worker copies each one directly into its native normalization parameter. | | |
| | `export_completed.json` | Identifies checkpoint step 65 and records zero optimizer updates during export. | | |
| | `gdn_worker_checks/rank_000.json` | Records the expected shape, dtype, and SHA-256 digest for each tensor. | | |
| Set `V2C_MIX60_EXPORT_ROOT` to this directory and `V2C_EXPECTED_CHECKPOINT_STEP` to `65` when launching `harness_v1_eval.mix60_worker.Mix60BenchWorker`. Use the file through this worker to preserve the normalization convention. [Launch instructions](../README.md) | |
| After startup, inspect the JSON receipts under `$V2C_EVALUATION_ROOT/inference_weight_checks/$V2C_REPLICA_NAME/` on the server. Each tensor-parallel worker should report `checkpoint_step: 65`, `exact_native_gdn_delta: true`, and `matched_layers: 48`. Keep this writable runtime directory outside the model snapshot. [Fingerprint format](gdn_worker_checks/README.md) | |