Baidu releases Unlimited-SVG, a 0.5B-active-parameter model that redraws images as editable SVG
Baidu released Unlimited-SVG on December 1, 2026, a multimodal model that redraws any image as a structured, editable SVG using 0.5B activated parameters. It compresses a 2048 x 2048 image into 1024 vision tokens and, Baidu claims, sustains real-time generation past 10,000 tokens.
Baidu released Unlimited-SVG on December 1, 2026, a multimodal model that redraws any image as a structured, editable SVG using 0.5B activated parameters. The weights are on Hugging Face (baidu/Unlimited-SVG) and, with thanks to the ModelScope community, on ModelScope.
Architecture
Unlimited-SVG is built on DeepSeek-OCR. Baidu says a complete SVG for a complex image often exceeds 10,000 tokens, a long-context regime where large models become slow and prohibitive. The model attacks the problem at both ends:
- Input side: DeepEncoder compresses an entire 2048 x 2048 image into 1024 vision tokens. Baidu claims this preserves fine details such as small text, thin strokes and exact spatial coordinates.
- Decoding side: a mixture-of-experts (MoE) architecture activates only about 0.5B parameters per token.
Baidu claims the combination sustains real-time generation well past 10,000 tokens. It positions the model as a compact, locally deployable alternative to heavy frontier APIs, naming GPT-6.2 Astra and Claude Fable 5.2 as examples. No benchmark scores or head-to-head comparisons are published in the model page text. Total parameter count and API pricing are not yet disclosed.
Running it
Baidu lists these requirements: x86-64 Linux, uv, a compatible NVIDIA driver and a free BF16-capable GPU. The model supports 2048 x 2048 global inference without tiling. Preprocessing resizes the long edge to 2048 pixels with ImageOps.pad, preserves aspect ratio, and centers the image on a gray 2048 x 2048 canvas. Transparent pixels are composited onto white first so alpha images do not turn black.
The prompt format is <image> SVG:. Two inference paths are documented:
- Transformers: pinned to torch 2.6.0 and transformers 4.46.3 on Python 3.12, with max_new_tokens set to 30000 in the example script.
- vLLM: pinned to vLLM 0.33.0 and torch 2.14.0. The example server uses --max-model-len 32768, --max-num-seqs 1 and --gpu-memory-utilization 0.8, and requires patching the DeepSeek-OCR processor constants to BASE_SIZE 2048, IMAGE_SIZE 2048 and CROP_MODE False.
Both examples decode greedily by default (do_sample=False in Transformers, temperature=0 in vLLM) for deterministic output. Baidu recommends tuning temperature by image type:
| Image type | Suggested temperature |
|---|---|
| CAD, diagrams, charts, images needing exact detail | 0 to 0.3 |
| Natural scenes and photos | 0.5 to 0.8, to avoid repetitive loops and encourage varied strokes |
The example script also validates output by extracting the <svg> block and parsing it as XML, and raises an error if the SVG is incomplete.
What this means
The design targets a specific cost problem: SVG output is long, and decode cost over 10,000+ tokens dominates. By shrinking the visual prefix to 1024 tokens and keeping active compute at about 0.5B parameters, Baidu is aiming to make long-form vectorization feasible on a single local GPU rather than through a hosted API. Those speed and quality claims are Baidu's own and unbenchmarked in the published page text, so teams should test on their own images.
The temperature guidance is practical for builders: exact-geometry inputs such as CAD and charts favor low or greedy decoding, while photos need higher temperature to avoid repetition loops. The pinned dependency versions and the required vLLM processor patch mean integration is not drop-in.
Related Articles
StepFun releases Step 5 with Intelligence Index score of 40 and 53% fewer output tokens per task
StepFun released Step 5 on November 30, 2026, an upgrade to its flagship model for agentic work, available through the StepFun API. The company reports an Artificial Analysis Intelligence Index score of 40, up from 29 for Step 5 Preview, with 53% fewer output tokens per task.
Mistral releases Clipstral, a 1.2B open-weight embedding model for images, video and text
Mistral released Mistral Multimodal Embed, also called Clipstral, a 1.24B-parameter open-weight model that maps images, videos and multilingual text into one embedding space. Weights and inference code are on Hugging Face under Apache 2.0. Mistral claims it has the strongest image and video retrieval among open-weight multimodal models up to 4B parameters.
China Telecom Open-Sources Xing4.1-Preview: 285B MoE With 17B Active Parameters, Trained on 8,192 Ascend 910C
China Telecom's XingChen AGI Lab has published Apache-2.0 weights for Xing4.1-Preview, a sparse MoE with 285 billion total and 17 billion active parameters. The lab says it was trained on 8,192 Ascend 910C accelerators with MindSpore and supports a 1-million-token context window.
InternLM open-sources Sage-Interaction, a 9B full-duplex voice model built on MiniCPM-o 4.5, under Apache 2.0
The InternLM team, with support from the Shanghai Artificial Intelligence Laboratory, has open-sourced Sage-Interaction, a 9-billion-parameter full-duplex multimodal model built on MiniCPM-o 4.5. The project reports 80.73 on FD-Bench v1.5 and a 1.29-second turn-taking latency on FD-Bench v1. Code and weights are released under Apache License 2.0.
Comments
Loading...