Datasets:
Widget2Code Data
Raw Widget2Code benchmark images and self-contained image-code examples.
Directory layout
train/ # 1,822 images
train_cls/ # the same 1,822 images grouped into 16 categories
test/ # 1,000 images
test_cls/ # the corresponding 1,000 test images
charts/ # 30 chart images
sft/ # 1,816 complete examples
└── image_0004/
├── image.png
├── code.jsx
├── dims.txt
├── ocr.txt
└── palette.txt
Within each sft/<id>/ directory, code.jsx renders to image.png. The three text files contain the dimensions, OCR result, and palette cache for the same ID.
Six source IDs do not have a valid rendered image-code pair and are therefore omitted from sft/. No substitute or mismatched image is used.
This repository intentionally contains only raw files. It does not include JSONL, manifests, prompts, or framework-specific training datasets. Training code should assemble records after download.
- Downloads last month
- -