LAC / README.md
FuxiangZhai's picture
Publish the 750-record LAC evaluation split
e7f992b verified
|
Raw History Blame Contribute Delete
4.85 kB
---
pretty_name: LAC Original Dataset (15,000)
language:
- en
task_categories:
- text-to-image
tags:
- image
- text
- image-generation
configs:
- config_name: default
data_files:
- split: train
path: data/train-*.parquet
- split: eval
path: data/eval-*.parquet
---
# LAC Original Dataset
LAC contains **15,000 unique text-to-image prompts**. Each record pairs a prompt
with an initial image (`i0_image`) and a teacher target image (`teacher_image`).
The release preserves the original split assignments and includes the available
planning, self-check, diagnosis, editing, risk, and correction annotations.
## Splits and annotation coverage
| Split | Records | Initial images | Teacher images | Parquet shards |
|---|---:|---:|---:|---:|
| `train` | 14,250 | 14,250 | 14,250 | 72 |
| `eval` | 750 | 750 | 750 | 4 |
| Annotation field | `train` | `eval` |
|---|---:|---:|
| `plan` | 14,250 | 131 |
| `self_check` | 14,250 | 131 |
| `diagnosis` | 14,250 | 0 |
| `edit_suggestion` | 14,250 | 0 |
| `risk` | 14,250 | 0 |
| `fix` | 14,250 | 0 |
The same 131 `eval` records have both `plan` and `self_check`. The other 619
`eval` records have no textual annotations. An unavailable annotation is stored
as `null` and indicates missing supervision.
### Evaluation overlap
The released supervised `train` and `eval` splits have zero exact prompt
matches. A prompt pool used by some historical Phase 3 reinforcement-learning
runs contains 115 exact matches with `eval` prompts. Historical training records
confirm that at least three of these prompts were sampled. The 115 count
measures overlap with the pool, and the three confirmed prompts are a lower
bound on historical sampling. Assess evaluation independence against the
specific training history of the model being evaluated.
## Record schema
| Field | Type | Meaning |
|---|---|---|
| `id` | string | Unique split-prefixed identifier, such as `train_000001` or `eval_000001` |
| `split` | string | `train` or `eval` |
| `prompt` | string | Original image generation prompt |
| `i0_image` | Image | Initial image |
| `teacher_image` | Image | Target image paired with the prompt |
| `plan` | list of strings or null | Prompt-level planning steps |
| `self_check` | list of strings or null | Prompt-level checks |
| `diagnosis` | list of strings or null | Diagnosis of the initial image |
| `edit_suggestion` | list of strings or null | Editing suggestions aligned with diagnosis |
| `risk` | list of strings or null | Generalized risk patterns |
| `fix` | list of strings or null | Correction strategies aligned with risk |
Available annotation lists contain nonempty strings. Within each record,
`diagnosis[i]` is paired with `edit_suggestion[i]`, and `risk[i]` is paired with
`fix[i]` wherever these fields are available.
## Images and validation
The `train` split contains 14,250 initial PNGs. Of these, 14,247 are 1024×1024
and three retain their original dimensions of 1022×1024, 1000×1024, and
1023×1024. Its teacher images are 14,241 JPEGs at 2048×2048 and nine PNGs at
1024×1024. The `eval` split contains 750 initial PNGs and 750 teacher images,
of which 749 are JPEGs and one is PNG. Both splits preserve native image
dimensions.
The release preserves original prompts, annotations, and image pixels. During
training-set packaging, embedded XMP/IPTC metadata was removed from nine
teacher PNGs. During evaluation-set packaging, embedded textual metadata was removed from one teacher PNG. Pixel equality was verified.
Packaging checks covered record counts, unique IDs and prompts, annotation
types, paired-list lengths, and image decoding. Read-back checks on all 750
`eval` records verified the text fields and embedded image bytes after
serialization. Semantic correctness of the image-level annotations requires
separate evaluation.
## Access and loading
The dataset is publicly accessible. Parquet shards embed the encoded image
files as Hugging Face `Image` features. [SHA256SUMS](SHA256SUMS) lists the
checksums for all 76 shards and this data card. The release packages the
original supervised archive. Precomputed features, rendered teacher cards,
model weights, and internal audit records are separate project artifacts.
```python
from datasets import load_dataset
dataset = load_dataset("FuxiangZhai/LAC", streaming=True)
train_example = next(iter(dataset["train"]))
eval_example = next(iter(dataset["eval"]))
print(train_example["prompt"], eval_example["prompt"])
```
## Citation
FuxiangZhai. (2026). *LAC Original Dataset* [Dataset]. Hugging Face. [Dataset record](https://huggingface.co/datasets/FuxiangZhai/LAC)
```bibtex
@misc{fuxiangzhai2026lac,
author = {{FuxiangZhai}},
title = {{LAC} Original Dataset},
year = {2026},
howpublished = {Hugging Face Datasets},
url = {https://huggingface.co/datasets/FuxiangZhai/LAC}
}
```