Run this model with HF Jobs

Run netprojects/Unlimited-SVG-LayerFit-MLX-5bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/netprojects/Unlimited-SVG-LayerFit-MLX-5bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/netprojects/Unlimited-SVG-LayerFit-MLX-5bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/netprojects/Unlimited-SVG-LayerFit-MLX-5bit. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Unlimited-SVG-LayerFit-MLX-5bit

NetProjects Apple Silicon conversion of Baidu Unlimited-SVG. This is the recommended option. It packages 2.82 GB of safetensors weights. Only the language model is quantized; the vision components are not quantized.

Run locally

Tested with Python 3.12, mlx-vlm==0.7.11, mlx==0.32.4, and transformers==5.20.0. Download the repo locally and review the included runner before use. No trust_remote_code=True is needed. The runner implements 2048-pixel preprocessing and memory-bounded image attention; generic chat commands are not the tested path.

hf download netprojects/Unlimited-SVG-LayerFit-MLX-5bit --local-dir unlimited-svg
python unlimited-svg/unlimited_svg_mlx.py image.png --out output.svg --max-tokens 12000

The runner rejects malformed and incomplete SVG as well as content outside a restricted vector profile, including scripts, event handlers, and external references. This is a conservative preflight, not a general-purpose SVG sanitizer or security guarantee. Inspect generated files before embedding them in web pages.

Validation

Completed and passed the restricted SVG check on 6/6 fixtures: simple shapes, text diagram, Baidu logo, transparent badge, bar chart and flowchart. Mean absolute pixel difference relative to a BF16 MLX render was 0.17% of the channel range, using 512-pixel Quick Look thumbnails. This measures agreement with BF16, not accuracy against the source images. The fixture set is small and not a general quality or safety guarantee.

LayerFit 5-bit is the default, LayerFit 4-bit is compact, and uniform 8-bit is the higher-precision option. See LICENSE and NOTICE for attribution.

Downloads last month
23
Safetensors
Model size
3B params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for netprojects/Unlimited-SVG-LayerFit-MLX-5bit

Quantized
(29)
this model

Collections including netprojects/Unlimited-SVG-LayerFit-MLX-5bit