Tiny Arabic/English Pixel-Art Generator

A small conditional autoregressive model that turns short English, Modern Standard Arabic, Egyptian Arabic, or mixed prompts into a binary 16ร—16 silhouette (0 = background, 1 = foreground).

  • Active parameters: 26,467,904
  • FFN widths: [512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512]
  • Output: 256 binary mask tokens โ†’ 16ร—16 alpha mask
  • This is a custom PyTorch checkpoint, not a diffusers pipeline.
  • Best validation loss: 0.1070 at step 4000

Usage

from huggingface_hub import snapshot_download
import sys

repo = snapshot_download("nomeda-lab/pixel-art-tiny-silhouette")
sys.path.insert(0, repo)

from pixelgen.inference import PixelArtGenerator
gen = PixelArtGenerator.from_pretrained(repo)
gen.generate("a small red dragon", seed=42).show()
gen.generate("ุชู†ูŠู† ุฃุญู…ุฑ ุตุบูŠุฑ", seed=42).show()

config.json, model.pt, tokenizer.json, and palette.npy are the model. The pixelgen/ package and requirements.txt are included.

Data and licence

Trained on Angais/pixel-art-atlas-1.4m (CC0-1.0 with provenance caveats; sprites are AI-generated with Krea 2 Turbo). The pixelgen code is MIT. Check the dataset card before commercial use of generated assets.

Downloads last month
51
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support