Svg Code Generator needs about 1.8 GB of memory at Q4_K_M (a 0.4 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 25 quants, from 0.0 GB to 0.5 GB (Q6_K). Longer context needs more: at 32K tokens the KV cache alone adds about 3.8 GB.
Fine‑tuned Qwen3 model for generating SVG code from natural language
Svg Code Generator is a 0.596B parameter Qwen3 model fine‑tuned for text‑to‑SVG generation. It uses fp16 precision and supports vLLM for high‑throughput inference. The model is released under the Apache‑2.0 license.
Good at
- SVG code generation
- Text‑to‑SVG conversion
- Creative design prompts
Limits
- No vision support
- Limited to SVG syntax seen during training
- Requires prompt clarity for best results
Best for
- Generating simple SVG icons
- Creating educational SVG examples
- Rapid prototyping of vector graphics
Who it’s for. Developers and designers who need quick SVG code from text descriptions. It is suitable for educational projects and creative prototyping where SVG output is required.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| — | 0.0 GB | 1.4 GB | Fits | Get file → | |
| IQ1_S | 0.2 GB | 1.6 GB | Fits | Get file → | |
| IQ1_M | 0.2 GB | 1.7 GB | Fits | Get file → | |
| IQ2_XXS | 0.2 GB | 1.7 GB | Fits | Get file → | |
| IQ2_XS | 0.2 GB | 1.7 GB | Fits | Get file → | |
| IQ2_S | 0.3 GB | 1.7 GB | Fits | Get file → | |
| IQ2_M | 0.3 GB | 1.7 GB | Fits | Get file → | |
| IQ3_XXS | 0.3 GB | 1.7 GB | Fits | Get file → | |
| Q2_K_S | 0.3 GB | 1.7 GB | Fits | Get file → | |
| Q2_K | 0.3 GB | 1.7 GB | Fits | Get file → | |
| IQ3_XS | 0.3 GB | 1.8 GB | Fits | Get file → | |
| IQ3_S | 0.3 GB | 1.8 GB | Fits | Get file → | |
| Q3_K_S | 0.3 GB | 1.8 GB | Fits | Get file → | |
| IQ3_M | 0.3 GB | 1.8 GB | Fits | Get file → | |
| Q3_K_M | 0.3 GB | 1.8 GB | Fits | Get file → | |
| IQ4_XS | 0.4 GB | 1.8 GB | Fits | Get file → | |
| Q3_K_L | 0.4 GB | 1.8 GB | Fits | Get file → | |
| IQ4_NL | 0.4 GB | 1.8 GB | Fits | Get file → | |
| Q4_0 | 0.4 GB | 1.8 GB | Fits | Get file → | |
| Q4_K_S | 0.4 GB | 1.8 GB | Fits | Get file → | |
| Q4_K_M | 0.4 GB | 1.8 GB | Fits | Get file → | |
| Q4_1 | 0.4 GB | 1.8 GB | Fits | Get file → | |
| Q5_K_S | 0.4 GB | 1.9 GB | Fits | Get file → | |
| Q5_K_M | 0.4 GB | 1.9 GB | Fits | Get file → | |
| Q6_K | 0.5 GB | 1.9 GB | Fits | Get file → |
For 8 GB VRAM, use Q4_K_M (0.4 GB) or Q5_K_M (0.44 GB). For 4 GB VRAM, IQ1_S (0.21 GB) or IQ1_M (0.22 GB) are recommended. Memory estimates are approximate and based on 8 k context size.
What GPU do you need for Svg Code Generator?
These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: the best quant that fits is Q6_K (0.5 GB file, about 1.9 GB in use).
Which Svg Code Generator quant should you choose?
Q4_K_M is the usual starting point for Svg Code Generator: it balances file size and quality well. Here it is a 0.4 GB file.
If memory is tight, the smallest file is the first one in the table at 0.0 GB, with the quality trade-offs that come with fewer bits.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about Svg Code Generator
How much VRAM does Svg Code Generator need?
About 1.8 GB at Q4_K_M with an 8K context window. That is the 0.4 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run Svg Code Generator on an 8 GB GPU?
Yes, with Q6_K: the 0.5 GB file needs about 1.9 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of Svg Code Generator GGUF?
It depends on the quant: file is 0.0 GB, IQ1_S is 0.2 GB, IQ1_M is 0.2 GB, IQ2_XXS is 0.2 GB, IQ2_XS is 0.2 GB, IQ2_S is 0.3 GB and 19 more.
What context length does Svg Code Generator support?
The GGUF header lists a trained context length of 40,960 tokens (40K). The KV cache grows with the context you use: about 0.9 GB at 8K and 3.8 GB at 32K.
Where can I download Svg Code Generator GGUF?
The files are on Hugging Face in the mradermacher/svg-code-generator-i1-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
What license does Svg Code Generator use?
Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.
Can I run this model on 8 GB VRAM?
Yes, the Q4_K_M quant file is 0.4 GB and requires about 1.8 GB of VRAM at 8 k context.
Does the model support image input?
No, the model has no vision capability and only processes text.
What license does the model use?
The model is released under the Apache‑2.0 license.