Baidu Open-Sources ERNIE Unlimited SVG: 0.5B Active Parameters Turn Photos into Editable Vector Art
AI ToolBox
Takeaway
Takeaway: A small model built for one task brings image-to-editable-vector capability, once limited to frontier models, down to 0.5B active parameters with local deployment, opening a low-cost path for design tools and document automation.
The Story
Baidu's ERNIE multimodal team released and open-sourced ERNIE Unlimited SVG on December 1. It redraws photos, floor plans, part diagrams and paper figures stroke by stroke into editable SVG vector code, and is available on Hugging Face and GitHub under the MIT licence.
Built on DeepSeek-OCR, the model uses a mixture-of-experts design with about 3B total parameters and only about 0.5B activated per token. DeepEncoder compresses a 2048x2048 image to 1,024 visual tokens while keeping small text, thin lines and exact coordinates; sparse activation sustains real-time generation beyond 10,000 tokens.
Unlike pixel-tracing vectorizers, it understands objects, contours and occlusion, redrawing by layer so elements stay cleanly grouped and independently editable, which suits CAD and architectural drawings. Open weights and local deployment mean sensitive in-house drawings need not go to a large-model API.
Key data
Metric
Value
Source
Release and license
Baidu's ERNIE multimodal team released and open-sourced ERNIE Unlimited SVG on December 1, publishing it on Hugging Face and GitHub under the MIT licence
Built on DeepSeek-OCR; the output SVG carries precise coordinates, shape groups and layer information that can be edited independently and re-rendered for pixel-level verification