Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -115,10 +115,21 @@ Training data for **pixl**, a small text-to-pixel-art model trained from scratch
|
|
| 115 |
```python
|
| 116 |
from datasets import load_dataset
|
| 117 |
|
| 118 |
-
photos = load_dataset("ocdbytes/pixl-data", "photos"
|
| 119 |
-
sprites = load_dataset("ocdbytes/pixl-data", "sprites"
|
|
|
|
|
|
|
| 120 |
```
|
| 121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
## photos
|
| 123 |
|
| 124 |
| Source | Caption |
|
|
|
|
| 115 |
```python
|
| 116 |
from datasets import load_dataset
|
| 117 |
|
| 118 |
+
photos = load_dataset("ocdbytes/pixl-data", "photos") # {"train": ..., "test": ...}
|
| 119 |
+
sprites = load_dataset("ocdbytes/pixl-data", "sprites")
|
| 120 |
+
|
| 121 |
+
train = load_dataset("ocdbytes/pixl-data", "photos", split="train") # one split only
|
| 122 |
```
|
| 123 |
|
| 124 |
+
## Splits
|
| 125 |
+
|
| 126 |
+
| Config | train | test | Kept together in one split |
|
| 127 |
+
|---|---|---|---|
|
| 128 |
+
| `photos` | ~82.7k | ~1.6k (2% of source photos) | All crops of one source photo (same `sha256`) |
|
| 129 |
+
| `sprites` | ~5.1k | ~540 (10% of groups) | The colour variants of one tile, and the frames of one animation |
|
| 130 |
+
|
| 131 |
+
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.
|
| 132 |
+
|
| 133 |
## photos
|
| 134 |
|
| 135 |
| Source | Caption |
|