ocdbytes commited on
Commit
a8e9679
·
verified ·
1 Parent(s): 7b5c627

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -149,7 +149,7 @@ Training data for **pixl**, a small text-to-pixel-art model trained from scratch
149
  | Config | Rows | What it holds |
150
  |---|---|---|
151
  | `photos` | ~84k | Photo pairs: a 256×256 photo (`input`), a 32×32, 24-colour version of it (`target`), and a caption (`query`) |
152
- | `sprites` | ~5.7k | CC0 game sprites (`image`) with a short label (`label`) |
153
  | `scenes` | 52k | 32×32 scenes built from the sprites (`image`), with a caption written from the placement (`caption`) |
154
 
155
  ## Load
@@ -157,7 +157,7 @@ Training data for **pixl**, a small text-to-pixel-art model trained from scratch
157
  ```python
158
  from datasets import load_dataset
159
 
160
- photos = load_dataset("ocdbytes/pixl-data", "photos") # {"train": ..., "test": ...}
161
  sprites = load_dataset("ocdbytes/pixl-data", "sprites")
162
  scenes = load_dataset("ocdbytes/pixl-data", "scenes")
163
 
@@ -169,7 +169,7 @@ train = load_dataset("ocdbytes/pixl-data", "photos", split="train") # one split
169
  | Config | train | test | Kept together in one split |
170
  |---|---|---|---|
171
  | `photos` | ~82.7k | ~1.6k (2% of source photos) | All crops of one source photo (same `sha256`) |
172
- | `sprites` | ~5.1k | ~540 (10% of groups) | The colour variants of one tile, and the frames of one animation |
173
  | `scenes` | 50,000 | 2,000 | Set by the generator: test scenes use test sprites, or object pairs never seen in train scenes |
174
 
175
  Near-copies never appear in both splits, so test scores are not inflated by images the model has already seen. A group is in `test` when the first 8 hex digits of the SHA-256 of its key, as a fraction of 16⁸, are below 0.02 (photos) or 0.1 (sprites). The split is fixed: new data never moves existing rows.
@@ -208,7 +208,7 @@ Every photo was changed:
208
 
209
  ## sprites
210
 
211
- Sprites from CC0 packs by [Kenney](https://kenney.nl/assets) (1-Bit Pack, Cursor Pixel Pack, Pico-8 City, Tiny Battle, Tiny Farm, Tiny Town), [ansimuz](https://ansimuz.itch.io/sunny-land-pixel-game-art) (Sunny Land), [GrafxKid](https://grafxkid.itch.io/mini-pixel-pack-3) (Mini Pixel Pack 3) and [Buch](https://opengameart.org/content/a-platformer-in-the-forest) (A Platformer in the Forest). `label_source` says where each label comes from: checked by eye (`claude-visual`), a file name (`filename`) or a sprite-sheet atlas (`atlas`).
212
 
213
  | Column | Meaning |
214
  |---|---|
@@ -221,7 +221,7 @@ Sprites from CC0 packs by [Kenney](https://kenney.nl/assets) (1-Bit Pack, Cursor
221
 
222
  ## scenes
223
 
224
- Synthetic 32×32 scenes, each made from one sprite style: a background tile repeated in every 16 px slot (8 px for Pico-8 City) and one or two objects, each centred in its own slot. Sprites are never scaled. The caption is written from the placement, so it is always right: "a green pine tree left of a wooden barrel on grass", "a yellow bus at the top right on pavement".
225
 
226
  | Kind (`kind`) | Split | Scenes | Objects from |
227
  |---|---|---|---|
 
149
  | Config | Rows | What it holds |
150
  |---|---|---|
151
  | `photos` | ~84k | Photo pairs: a 256×256 photo (`input`), a 32×32, 24-colour version of it (`target`), and a caption (`query`) |
152
+ | `sprites` | ~9.8k | CC0 game sprites (`image`) with a short label (`label`) |
153
  | `scenes` | 52k | 32×32 scenes built from the sprites (`image`), with a caption written from the placement (`caption`) |
154
 
155
  ## Load
 
157
  ```python
158
  from datasets import load_dataset
159
 
160
+ photos = load_dataset("ocdbytes/pixl-data", "photos") # {"train": ..., "test": ...}
161
  sprites = load_dataset("ocdbytes/pixl-data", "sprites")
162
  scenes = load_dataset("ocdbytes/pixl-data", "scenes")
163
 
 
169
  | Config | train | test | Kept together in one split |
170
  |---|---|---|---|
171
  | `photos` | ~82.7k | ~1.6k (2% of source photos) | All crops of one source photo (same `sha256`) |
172
+ | `sprites` | ~8.8k | ~1k (10% of groups) | The colour variants of one tile, the frames of one animation, and the numbered and old/new versions of one Dungeon Crawl sprite |
173
  | `scenes` | 50,000 | 2,000 | Set by the generator: test scenes use test sprites, or object pairs never seen in train scenes |
174
 
175
  Near-copies never appear in both splits, so test scores are not inflated by images the model has already seen. A group is in `test` when the first 8 hex digits of the SHA-256 of its key, as a fraction of 16⁸, are below 0.02 (photos) or 0.1 (sprites). The split is fixed: new data never moves existing rows.
 
208
 
209
  ## sprites
210
 
211
+ Sprites from CC0 packs by [Kenney](https://kenney.nl/assets) (1-Bit Pack, Cursor Pixel Pack, Monochrome Pirates, Pico-8 City, Pixel Shmup, Pixel Vehicle Pack, Tiny Battle, Tiny Dungeon, Tiny Farm, Tiny Town), [ansimuz](https://ansimuz.itch.io/sunny-land-pixel-game-art) (Sunny Land), [GrafxKid](https://grafxkid.itch.io/mini-pixel-pack-3) (Mini Pixel Pack 3), [Buch](https://opengameart.org/content/a-platformer-in-the-forest) (A Platformer in the Forest), the Dungeon Crawl Stone Soup artists ([Dungeon Crawl 32x32 tiles](https://opengameart.org/content/dungeon-crawl-32x32-tiles-supplemental)), [Idylwild](https://opengameart.org/content/idylwilds-inventory) (Idylwild's Inventory), [Scrittl](https://opengameart.org/content/spaceship-set-32x32px) (Spaceship set 32x32px), [Jull](https://opengameart.org/node/50777) (Animated spaceships) and [wender](https://opengameart.org/node/176168) (Sports cars pixelart sprites). `label_source` says where each label comes from: checked by eye (`claude-visual`), a file name (`filename`) or a sprite-sheet atlas (`atlas`).
212
 
213
  | Column | Meaning |
214
  |---|---|
 
221
 
222
  ## scenes
223
 
224
+ Synthetic 32×32 scenes, each made from one sprite style: a background tile repeated in every 16 px slot (8 px for Pico-8 City) and one or two objects, each centred in its own slot. Sprites are never scaled, so sprites larger than a slot, such as the 32×32 Dungeon Crawl tiles, appear only in `sprites`. The caption is written from the placement, so it is always right: "a green pine tree left of a wooden barrel on grass", "a yellow bus at the top right on pavement".
225
 
226
  | Kind (`kind`) | Split | Scenes | Objects from |
227
  |---|---|---|---|