Installs into .claude/skills of the current project.
Are you the author of Data Preparation?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vectorspacelab-data-preparation-75f36ac2)
---
name: data-preparation
description: "Router for ImageNet code extraction, T5 feature extraction, and
OpenImages manifest generation."
metadata:
disco-role: operating
disable-model-invocation: true
license: MIT
---
# Data Preparation
Use this sub-skill for released preprocessing workflows that precompute caches and manifests for LlamaGen training.
## Owns
- ImageNet discrete-code extraction for c2i training.
- T5 feature extraction for t2i training.
- OpenImages path-manifest generation.
- Cache layout and sanity checks for the precomputed `.npy` trees and `image_paths.json`.
## Routes out
- Tokenizer training, finetuning, reconstruction, and code/image decode checks -> `tokenizers`.
- Class-conditional training, sampling, serving, and evaluation -> `class-conditional`.
- Text-conditional training, sampling, and evaluation -> `text-conditional`.
- Checkpoint publishing or remote mutation -> excluded.
## Best entry points
- `scripts/extract_codes_c2i.sh`
- `scripts/extract_flan_t5_feat_laion_coco_stage1.sh`
- `scripts/extract_flan_t5_feat_stage2.sh`
- `scripts/extract_flan_t5_feat_trunc_stage2.sh`
- `scripts/build_openimage_index.py`
## Read before answering
- `references/workflows.md`
- `references/cli-reference.md`
- `references/dataset-layout.md`
- `references/troubleshooting.md`
## Fast routing rules
- If the request asks for tokenizer reconstruction, tokenizer training, or code/image round trips, route to `tokenizers`.
- If the request asks for c2i or t2i model training, sampling, serving, or evaluation, route to `class-conditional` or `text-conditional`.
- If the request asks for model publishing, remote uploads, or other side effects, treat it as out of scope.
- Keep the focus on deterministic preprocessing, cache layout, and manifest generation.
Files in this skill
SKILL.md1.8 KB
references/cli-reference.md2.9 KB
references/dataset-layout.md1.6 KB
references/troubleshooting.md2.4 KB
references/workflows.md2.5 KB
scripts/build_openimage_index.py5 KB
scripts/extract_codes_c2i.sh384 B
scripts/extract_flan_t5_feat_laion_coco_stage1.sh483 B