بنقرة واحدة
format-adapter-parquet
Convert canonical training examples to Parquet format for training frameworks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Convert canonical training examples to Parquet format for training frameworks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | format-adapter-parquet |
| description | Convert canonical training examples to Parquet format for training frameworks |
| namespace | training-complete |
| category | format |
| platforms | ["claude","copilot","cursor","factory","windsurf","warp","codex","opencode","openclaw","hermes"] |
| commandHint | {"argumentHint":"<input-glob> [--output <path>] [--validate-round-trip]"} |
Convert canonical training example records (@agentic/code/frameworks/training-complete/schemas/example-record.yaml) into Apache Parquet files via Apache Arrow — the columnar, compressed, shardable format native to HuggingFace Datasets and high-throughput training pipelines.
input.user + output.assistant without materializing metadata)<input-glob> (required) — canonical records (typically the output of format-adapter-jsonl)--output <path> (optional) — default: .aiwg/training/exports/canonical-<timestamp>.parquet. Use <path>/ suffix to shard.--validate-round-trip (optional) — read Parquet back and verify invariants against input--shard-size <N> (optional) — rows per shard when producing a directory of Parquet filesApache Arrow schema materialized as Parquet — columnar, Snappy-compressed by default, with nested struct columns for input, output, and metadata:
id: string
task_type: string
input: struct<system: string, user: string, context_refs: list<string>, tools_available: list<...>>
output: struct<assistant: string, reasoning_trace: string, tool_calls: list<...>>
metadata: struct<quality_grade: string, license: string, provenance_id: string, created_at: timestamp, domain: list<string>, source_refs: list<string>, difficulty: double, synthetic: bool, synthetic_depth: int32, created_by_agent: string>
--validate-round-trip) — reconstruct canonical records from Parquet rows and confirm all round_trip_invariants hold..parquet or sharded directory, emit _metadata sidecar describing shard layout, append format-convert event.All canonical fields round-trip via nested struct columns. Parquet preserves strong typing and nulls — id, task_type, input.user, output.assistant, metadata.quality_grade, metadata.license, metadata.provenance_id all survive verbatim.
<output>.metadata.yaml (or _metadata inside a sharded directory) records: Arrow schema version, compression codec, shard layout, row count per shard, and any columns that were dropped due to cross-record schema inconsistency (should be zero for well-formed inputs).
pyarrow.parquet.read_table() and datasets.load_dataset("parquet", ...).--validate-round-trip reconstructs 100% of canonical invariants.format-convert event logged with compression ratio and shard count.@agentic/code/addons/semantic-memory/skills/memory-log-append/SKILL.md — logging the format-convert eventGenerate Datasheet, Model Card, and Data Statement from a dataset manifest
Deterministically rebuild a dataset from its manifest and verify fixity equivalence
Create a versioned training dataset with manifest, fixity, provenance, and archive snapshot
End-to-end training dataset pipeline — acquire sources through publication
Detect training-eval overlap against benchmark sets before dataset publication
Generate SFT training examples from raw sources using Self-Instruct / Evol-Instruct / SQuAD / STaR patterns