Article · AI translation
IT Home reported on December 1 that Baidu’s ERNIE multimodal team has released a specialized vector graphics model, “ERNIE Unlimited SVG,” that can progressively reconstruct input such as photos, screenshots, floor plans, parts drawings, and structural diagrams from academic papers into editable SVG vector code.
Built on DeepSeek-OCR, the model uses a mixture-of-experts architecture, activating only about 0.5B parameters per token out of approximately 3B total parameters, and supports global inference on 2048×2048 images.
Unlike a text description of an image, SVG records lines, color blocks, coordinates, font styles, and layer occlusion relationships in code. It can be rendered directly as a high-resolution image and makes it easy to check and modify individual elements. When traditional models generate complete SVGs for complex images, they often require more than 10,000 tokens, making long-context processing slow and costly.
Unlimited-SVG uses DeepEncoder to compress an entire 2048×2048 image into just 1024 visual tokens while retaining key details such as small text, fine lines, and precise spatial coordinates. Its decoder uses sparse activation to maintain real-time generation even when output exceeds 10,000 tokens. This enables complex, long-sequence SVG conversion on a compact model that can be deployed locally, reducing reliance on large cloud APIs.
The model is available under the MIT license and offers two inference methods: Transformers and vLLM. The developers recommend using a lower sampling temperature—a parameter that controls how random the results are—for images such as CAD drawings, charts, and diagrams that require precise geometry and consistent text. For natural scenes and photos, the temperature can be raised moderately to avoid repeated strokes and increase variety in the output.
IT Home provides the following reference links.
Visit ERNIE Unlimited SVG on HuggingFace
Visit ERNIE Unlimited SVG on GitHub
Try Unlimited SVG Works online
Advertising disclosure: External links in this article, including but not limited to hyperlinks, QR codes, and access codes, are provided to convey more information and save time in selecting resources. The results are for reference only. All IT Home articles containing external links include this disclosure.