GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

solarkyle/pixellock-gemma-12b-pixelart-gguf overview

license: gemma base model: google/gemma 4 12b it library name: gguf pipeline tag: text generation tags: pixel art gguf llama.cpp qlora grammar constrained deco…

ggufpixel-artllama.cppqloragrammar-constrained-decodingtext-generationlicense:gemmaendpoints_compatibleregion:usconversational

Runs locally from ~6.87 GB disk (8 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
0
Likes
0
Pipeline
text-generation
Author

Repository Files & Downloads

1 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
pixellock-gemma-12b-q4_k_m.ggufGGUFQ4_K_M6.87 GBDownload

Model Details

Model IDsolarkyle/pixellock-gemma-12b-pixelart-gguf
Authorsolarkyle
Pipelinetext-generation
Licensegemma
Base modelgoogle/gemma-4-12b-it
Last modified2026-06-15T03:11:25.000Z

Model README

---

license: gemma

base_model: google/gemma-4-12b-it

library_name: gguf

pipeline_tag: text-generation

tags:

  • pixel-art
  • gguf
  • llama.cpp
  • qlora
  • grammar-constrained-decoding

---

PixelLock — Gemma-4-12B Pixel-Art Retexturer (GGUF, q4_k_m)

A QLoRA fine-tune of google/gemma-4-12b-it for footprint-locked pixel-art retexturing.

It is a text LLM, not an image generator. A sprite is serialized to a

palette-indexed text grid (a PALETTE block plus a GRID of space-separated

cells). The model rewrites that grid in a new style, and a per-sprite **GBNF

decoding grammar** (llama.cpp) forces every transparent cell to stay transparent

— so the exact silhouette and transparency are preserved by construction, not

by luck.

What it does

  • Retheme / restyle palette-indexed pixel-art sprites (best at 16-64px) to any

vibe (lava, ice, gold, cosmic, ...) - pixel-perfect.

  • 2x upscale with added shading (each input pixel becomes a 2x2 block).

How to use

Run with llama.cpp and pass a footprint-derived GBNF grammar per sprite. The

sprite is sent as a PALETTE + GRID wire block; the grammar pins every

transparent cell. See the PixelLock app for the wire format and grammar builder.

Training

Supervised fine-tune (QLoRA, rank 64, alpha 64, lr 1e-4, completion-only loss)

on a curated corpus of palette-indexed pixel-art sprites (<=64px), with

step-checkpointing + best-eval selection and a held-out eval set. Final eval

loss ~0.38.

Files

  • pixellock-gemma-12b-q4_k_m.gguf - q4_k_m quant for llama.cpp / LM Studio / Ollama.

Built for the Build Small hackathon.

Run solarkyle/pixellock-gemma-12b-pixelart-gguf with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models