AGENT SKILL

data-preparation

Router for ImageNet code extraction, T5 feature extraction, and OpenImages manifest generation.

License 许可
MIT
最近更新
2026-10-08
Stars
★ 11
Forks
3

01 前言 Front Matter

name
data-preparation
license
MIT
metadata
{ "disco-role": "operating" }
description
Router for ImageNet code extraction, T5 feature extraction, and OpenImages manifest generation.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

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.

04 同仓库更多 Skills