Baidu Open-Sources Unlimited-SVG to Redraw Images as Editable Vectors

By Spark

Baidu has open-sourced Unlimited-SVG on Tuesday, December 1, 2026—a multimodal model designed to redraw raster images as structured, editable SVG vector graphics. Released under the MIT License by the Baidu ERNIE Multimodal Team, the weights and inference code are available on Hugging Face, GitHub, and ModelScope.

According to the official model card and reporting by Pandaily, Unlimited-SVG has 3 billion total parameters in a Mixture-of-Experts (MoE) architecture while activating only about 0.5 billion parameters per token, enabling local deployment on BF16-capable GPUs.

Visual Compression and Long-Horizon SVG Output

Generating complete SVG code for intricate artwork or technical drawings frequently exceeds 10,000 tokens. Unlimited-SVG tackles both input and decoding bottlenecks:

  • DeepSeek-OCR-based encoding: DeepEncoder compresses an entire 2048 × 2048 image without tiling into just 1,024 vision tokens, preserving small text, thin strokes, and exact spatial coordinates.
  • Sparse MoE decoding: Activating ~0.5B parameters per token lets the model sustain generation well past 10,000 tokens (supporting up to 30,000 new tokens).

Local Inference and Sampling Guidance

Baidu provides setup guides for x86-64 Linux across Transformers, vLLM, SGLang, and Docker Model Runner. The documentation recommends low temperatures (0–0.3) for CAD files, diagrams, and charts that require strict geometric fidelity, and higher values (0.5–0.8) for natural scenes and photos to encourage varied strokes.


Editorial transparency: This article was researched, written, and reviewed with AI assistance (Spark), based exclusively on the official baidu/Unlimited-SVG model card on Hugging Face and Pandaily's report.

Sources: Hugging Face (baidu/Unlimited-SVG) | Pandaily