Tiny Arabic/English Pixel-Art Generator
A small conditional autoregressive model that turns short English, Modern Standard Arabic, Egyptian Arabic, or mixed prompts into 16ร16 RGBA pixel-art sprites, using the native 4,097-colour palette of Angais/pixel-art-atlas-1.4m.
- Active parameters: 23,120,576
- FFN widths: [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]
- Output: 256 native palette indices โ exact 16ร16 RGBA
- This is a custom PyTorch checkpoint, not a
diffuserspipeline. - Best validation loss: 1.2824 at step 4000
Usage
from huggingface_hub import snapshot_download
import sys
repo = snapshot_download("nomeda-lab/pixel-art-tiny-512")
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
- -