AGENT SKILL

data-preparation

Prepare and validate Otter MIMIC-IT data YAMLs, instruction JSON, image parquet/JSON assets, Convert-It outputs, and Syphus preflight.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
data-preparation
license
MIT
metadata
{ "disco-role": "operating" }
description
Prepare and validate Otter MIMIC-IT data YAMLs, instruction JSON, image parquet/JSON assets, Convert-It outputs, and Syphus preflight.
disable-model-invocation
true

02 资源文件 9

03 SKILL.md 正文

data-preparation

Use this sub-skill when the task is to prepare Otter training data before handing it to training: MIMIC-IT YAML validation, instruction JSON checks, image parquet or legacy base64 JSON handling, Convert-It adapter planning, Syphus instruction-generation preflight, and large dataset conversion safety.

Route here for

  • Data YAMLs containing IMAGE_TEXT, TEXT_ONLY, VIDEO_TEXT, and IMAGE_TEXT_IN_CONTEXT groups.
  • Dataset entries with mimicit_path, optional images_path, optional train_config_path, num_samples, and optional task_description.
  • Instruction JSON files with a top-level data object of instruction ids.
  • Image parquet files with a base64 column indexed by image id, or legacy image JSON files that should be converted to parquet.
  • Convert-It adapter names and expected image JSON output filenames.
  • Syphus environment and dependency preflight without making model/API calls.
  • Safe conversion of large base64 JSON files into partitioned parquet outputs.

Route away

  • Actual training launch, Accelerate, DeepSpeed, W&B, checkpoint cadence, or GPU training resources: training.
  • Model inference, generation, prompt/media tensors, or checkpoint conversion for inference: model-inference.
  • Benchmark dataset/model registries and evaluation YAMLs: benchmark-evaluation.
  • Controller/worker/Gradio/API serving: serving.

Operating workflow

  1. Normalize the data task: YAML validation, JSON/parquet conversion, Convert-It source conversion planning, Syphus preflight, or large WebDataset conversion planning.
  2. For training data YAMLs, read data formats, start from mimicit_data.yaml, and validate with:
python scripts/validate_mimicit_yaml.py DATA.yaml --check-paths --check-records
  1. For legacy image JSON, convert to parquet before training:
python scripts/convert_base64_json_to_parquet.py images.json images.parquet --validate-sample 8
  1. For Convert-It tasks, use Convert-It to choose the adapter id and expected output file, then convert the resulting image JSON to parquet if it will be used for training.
  2. For Syphus tasks, use Syphus and run the no-network preflight:
python scripts/check_syphus_env.py --dataset-name video.DenseCaptions
  1. For very large conversions, read large dataset conversion before creating shards or parquet directories.
  2. If validation or loading fails, use troubleshooting before changing dataset contents.

Quick reference map

Need Start with
MIMIC-IT YAML schema and loader behavior data-formats
Validate YAML, JSON, parquet, and id links validate_mimicit_yaml.py
Convert legacy image JSON to parquet convert_base64_json_to_parquet.py
Convert-It adapter names and outputs convert-it
Syphus env vars, output files, dependency preflight syphus, check_syphus_env.py
MMC4/LAION-style large conversion safety large-dataset-conversion
Common validation and loader failures troubleshooting

Safety boundary

Data preparation can touch large local datasets and credentialed services. Do not launch training from this skill. Do not start Syphus API calls, Convert-It media conversion, or multi-shard WebDataset conversion unless the user supplies paths, budget, licensing/credential confirmation, and permission to run the job. The bundled scripts are local validation/preflight/conversion helpers only.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351