Skip to content
Back to skills

Data Preparation

ASecurity

"Prepare and validate Otter MIMIC-IT data YAMLs, instruction JSON,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
content-marketingpythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-preparation --agent claude-code

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.

Security grade badge for Data Preparation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-preparation-b6548330/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-preparation-b6548330)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: data-preparation
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
metadata:
  disco-role: operating
license: MIT
---

# 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](../training/SKILL.md).
- Model inference, generation, prompt/media tensors, or checkpoint conversion for inference: [model-inference](../model-inference/SKILL.md).
- Benchmark dataset/model registries and evaluation YAMLs: [benchmark-evaluation](../benchmark-evaluation/SKILL.md).
- Controller/worker/Gradio/API serving: [serving](../serving/SKILL.md).

## 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](references/data-formats.md), start from [mimicit_data.yaml](scripts/templates/mimicit_data.yaml), and validate with:

```bash
python scripts/validate_mimicit_yaml.py DATA.yaml --check-paths --check-records
```

3. For legacy image JSON, convert to parquet before training:

```bash
python scripts/convert_base64_json_to_parquet.py images.json images.parquet --validate-sample 8
```

4. For Convert-It tasks, use [Convert-It](references/convert-it.md) to choose the adapter id and expected output file, then convert the resulting image JSON to parquet if it will be used for training.
5. For Syphus tasks, use [Syphus](references/syphus.md) and run the no-network preflight:

```bash
python scripts/check_syphus_env.py --dataset-name video.DenseCaptions
```

6. For very large conversions, read [large dataset conversion](references/large-dataset-conversion.md) before creating shards or parquet directories.
7. If validation or loading fails, use [troubleshooting](references/troubleshooting.md) before changing dataset contents.

## Quick reference map

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

## 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.

Files in this skill

  • SKILL.md4.2 KB
  • references/convert-it.md5 KB
  • references/data-formats.md5.9 KB
  • references/large-dataset-conversion.md4.5 KB
  • references/syphus.md5.1 KB
  • references/troubleshooting.md5.5 KB
  • scripts/check_syphus_env.py7.6 KB
  • scripts/convert_base64_json_to_parquet.py7.5 KB
  • scripts/templates/mimicit_data.yaml1.3 KB
  • scripts/validate_mimicit_yaml.py15.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.