Baidu is building openly on a rival's published model, giving designers and engineers a free tool for turning floor plans and diagrams into editable files on a single GPU.
Baidu has released Unlimited SVG, an open model that turns photos, screenshots and technical drawings into SVG code, the text-based vector format that designers and engineers can scale and edit line by line. The model card on Hugging Face and the GitHub repository date the release to December 1 and publish it under the MIT license, which allows commercial use. The work is credited to Baidu’s ERNIE multimodal team, and Chinese coverage calls it 文心 Unlimited SVG, after the Chinese name of Baidu’s ERNIE model family.
The model is built on DeepSeek-OCR, the document-reading model that DeepSeek released in October 2025, and uses a mixture-of-experts design that activates about 0.5 billion parameters for each token it generates. Hugging Face lists the full model at 3 billion parameters, a total IT Home also reported. Baidu has published no benchmark scores, and its project page says a technical report is coming soon, so the quality claims rest on Baidu’s examples and early hands-on tests.
The release is small by the standards of Baidu’s flagship models, but it targets a task that has been expensive for AI. A complete SVG of a complex image often runs past 10,000 tokens of code, a length at which large models become slow and costly, according to Baidu’s project page.
DeepSeek’s compression trick does the heavy lifting on the input side
Baidu says the model attacks that cost from both ends. On the input side, a vision encoder called DeepEncoder shrinks the picture before any code is written. Baidu’s Unlimited SVG compresses a 2048 by 2048 pixel image into 1,024 visual tokens before it starts writing vector code. Baidu says the compression keeps small text, thin strokes and precise coordinates. On the output side, the sparse mixture-of-experts decoder keeps the computing cost of each token low, which Baidu says lets the model keep generating in real time beyond 10,000 tokens.
DeepSeek built that encoder for a different purpose. Its DeepSeek-OCR repository, also MIT-licensed, presents the model as research into "contexts optical compression," exploring how far text can be compressed into visual form. Baidu applies the same kind of compression to dense drawings, so the model can read them cheaply before writing them out as code.
Unlike image generators built on diffusion models, which paint pixels, Unlimited SVG writes the image as code made of coordinates, lines, shapes and color values, Zhidx explained. Because the code sets each shape’s color, size and position as values and draws foreground and background as separate layers, each element of the output can be checked or edited separately. IT Home listed floor plans, mechanical part drawings and diagrams from research papers among the inputs the model handles, and passed on Baidu’s advice to use a lower sampling temperature for CAD drawings and charts and a higher one for photos and natural scenes.
Early tests show strength on clean graphics, weakness on faces
Zhidx tried the model on two images. A cartoon pig character took 29.2 seconds and came back with its main shapes, highlights and accessories intact, losing only a raised thumb. A still from a variety show took 67.3 seconds; the model captured small details such as a logo on a cap and a collar buckle, but flattened facial expressions and misread a name in the subtitles. Zhidx concluded that the model does well on cartoon images with clear blocks of color and still needs work on facial expressions in realistic photos and on small text.
Running the model locally requires an x86-64 Linux machine and an NVIDIA graphics card that supports the BF16 number format, according to the GitHub repository, with inference code for both the Transformers library and the vLLM serving engine. Users without a suitable machine can try a browser demo hosted on Hugging Face. By December 2 the repository had about 1,400 stars and the model card about 870 likes.
Baidu’s Unlimited series is becoming a line of small open tools
Unlimited SVG follows Unlimited OCR 2, a 3-billion-parameter document-reading model that Baidu also released under the MIT license in October. Both releases are compact, permissively licensed and aimed at turning messy visual material into structured output that software can use.
Baidu’s project page points to wider uses for the approach, including pre-training general vision-language models on SVG to sharpen their perception of detail, and using scene sketches as checkable plans for robot manipulation. The technical report Baidu has promised, and any benchmark results it contains, will be the first chance to compare the model with the frontier systems from OpenAI, Anthropic and Google that the project page cites as examples of models that could previously do this work.