Baidu's Unlimited SVG generates SVGs from images stroke by stroke huggingface.co...
HN Best 200 @best
Baidu's Unlimited SVG generates SVGs from images stroke by stroke huggingface.co · 13 points · 1 comments · HN thread
TL;DR Baidu released Unlimited-SVG, a model on Hugging Face that converts raster images into editable SVG code, claiming it can handle complex images at 2048x2048 with about 0.5B active parameters. The model card covers Transformers and vLLM setup, inference scripts, and temperature guidance for different image types. The single commenter argues it is essentially a fine-tune of DeepSeek-OCR.
- Model redraws any image as structured, editable SVG and is built on DeepSeek-OCR.
- DeepEncoder compresses a 2048 x 2048 image into 1024 vision tokens to keep the visual prefix small.
- Mixture-of-experts decoder activates about 0.5B parameters per token, claimed to sustain generation past 10,000 tokens.
- Greedy decoding is the default; low temperature (0 to 0.3) is recommended for CAD, diagrams and charts, and 0.5 to 0.8 for photos.
- Ships ready-to-run Transformers and vLLM setups, with the image padded to 2048 pixels on a gray canvas and alpha composited onto white.
- Available on Hugging Face Spaces and ModelScope, with a Docker Model Runner image.
Discussion The thread is very small, with a single comment pointing out that the model's language-model config matches DeepSeek-OCR's. The tone is skeptical and technical, focused on whether the headline efficiency claim comes from new work or from the inherited decoder.
- Essentially a DeepSeek-OCR fine-tune, not new architecture (a few): The commenter says the config's language model matches DeepSeek-OCR, so the advertised 0.5B active parameters come from the base decoder rather than something new. They note the readme does state it is built on DeepSeek-OCR, but argue the pitch glosses over that.
Links from the comments