Passed the relevance filter but does not cleanly map to a stage.Fits the catalog's topic, but no single step.
task_categories:text-to-imagetask_categories:reinforcement-learninglicense:mitmodality:imageregion:usretro-pixel-artsvgreinforcement-learning+3 more
Lifetime downloads
2.6K
Last 30 days
933
Likes
-
Size
668.0 MB
Description
RetroIcon-RL: 32x32 Retro Pixel-Art Icon Generation with Deterministic Verification
This repository implements RetroIcon-RL — training and evaluating small code models with Reinforcement Learning (RL) and programmatic verification to generate consistent, crisp retro pixel-art icon packs from natural language prompts using sharp SVG block geometry.
🎯 Phase 1 — The 32x32 Task Specification
Canvas: Exactly $32 \times 32$ integer grid (viewBox="0 0 32 32").… See the full description on the dataset page: https://huggingface.co/datasets/mayank-dubey-ai/retro-icon-rl.
Used by uncensored models none yet
No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.
MetadataDetails
License
mit
Created on HFCreated
2026-08-24 · 3 months ago
ModalitiesData types
image
Related datasets same stage · Miscsame step · Other
Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.
Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("mayank-dubey-ai/retro-icon-rl")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="mayank-dubey-ai/retro-icon-rl", repo_type="dataset")
READMEAuthor's descriptioncurrent version from Hugging Faceas it is now on Hugging Face
RetroIcon-RL: 32x32 Retro Pixel-Art Icon Generation with Deterministic Verification
This repository implements RetroIcon-RL — training and evaluating small code models with Reinforcement Learning (RL) and programmatic verification to generate consistent, crisp retro pixel-art icon packs from natural language prompts using sharp SVG block geometry.
The pipeline prompt ➔ model ➔ structured SVG ➔ validator ➔ pixel-perfect PNG enforces 6 automated checks:
XML/SVG parse tree well-formedness.
Exact $32 \times 32$ dimensions.
100% adherence to the fixed 8-color palette.
All coordinates within $[0, 32]$.
Integer-only rectangular geometry without bezier smoothing.
Minimum icon density (>= 3 distinct geometry blocks).
🚀 The Master V2 Pipeline (SFT + GRPO)
We implemented Surya Narreddi's Pairwise RL methodology to train Qwen3-8B on an NVIDIA H100.
1. SFT Warm-Start (120 Gold Experts)
We synthesized 120 canonical 32x32 pixel-art icons using Gemini 2.5 Flash (data/expert_expanded_100.jsonl). Fine-tuning on this dataset gave the base model the 2D spatial coordinate grammar needed to place pixels accurately.
2. Surya-Style Pairwise GRPO Training
Using the SuryaRewardEngine, we abandoned absolute 1-to-10 scoring. For every generation step, Qwen generated $G=4$ rollouts. The engine pitted them in blind 1v1 matchups against the Gold Reference pool, judged by Gemini 2.5 Flash on silhouette clarity and aesthetic polish.
The final policy achieved 100% syntactic validity and beat or tied the Gemini 2.5 Flash Gold standard on highly complex visual metaphors (e.g. mushroom fungi, spell book, hard drive, pocket compass, dynamite fuse, store storefront, camera photo).
We also ran a pure Direct RL (GRPO) experiment on Qwen2.5-Coder-1.5B to draw watercolor hibiscus flowers using Python matplotlib.patches.
Result: The model learned 100% executable Python syntax in just 10 steps. However, without an SFT warm-start, it hit an aesthetic plateau, generating structurally valid but visually crude geometric blobs, proving that RL requires a strong structural prior for complex creative tasks.
🚀 Reproduction
# 1. Clone repository
git clone https://huggingface.co/datasets/mayank-dubey-ai/retro-icon-rl
cd retro-icon-rl
# 2. Run the full Master V2 Pipeline (SFT + GRPO + Showcase)
python3 train_master_v2.py
README historyEdit historylatest 20 of 39 revisionslatest 20 of 39 edits
Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.
Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.