drift-command-calls / README.md
suhasdissa's picture
Initial dataset: train/validation/test, ops schemas, spec
92e8d60 verified
|
Raw History Blame Contribute Delete
2.54 kB
metadata
license: cc-by-4.0
task_categories:
  - text-generation
language:
  - en
tags:
  - function-calling
  - tool-use
  - video-editing
size_categories:
  - 1K<n<10K
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train.jsonl
      - split: validation
        path: data/validation.jsonl
      - split: test
        path: data/test.jsonl

drift-command-calls

This dataset pairs natural-language video-editing commands with tool calls for Drift's MCP ops. It was built to fine-tune small, local command-bar models, such as CutWire-Studios/drift-command-qwen3-0.6b.

Splits

Split Records Source
train 4,292 synthetic, written op by op by LLM agents against tools/ops.json, schema-validated
validation 185 same as train, split per op
test 237 hand-written held-out set; leakage-checked against train (exact plus 5-gram Jaccard > 0.6)

Coverage

  • 256 ops, out of 383. Internal or introspection ops were skipped.
  • About 5.5% refusals (answers: []).
  • About 4.3% two-call records.
  • About 10% typos and about 10% questions.
  • Units are normalised: seconds, factors for percentages, hex colours.

Record format

{"id": "b1-0001", "query": "split it here",
 "context": {"canvas": [3840, 2160], "fps": 60, "playhead": 34.0, "project_duration": 39.0,
             "selected": {"clip": "<uuid>", "kind": "video", "track": 1, "index": 2, "start": 16, "duration": 3.0, "src_in": 0.0, "src_out": 3.0},
             "tracks": ["0 text", "1 video", "2 audio"]},
 "answers": [{"name": "split_clip", "arguments": {"track": 1, "index": 2, "at": 34.0}}],
 "source": "b1-timeline-clips"}
  • context is the full synthetic project state. The model is shown only the selected clip's uuid, track, index and the playhead, as one system line (see SPEC.md).
  • Test records may carry an alt_ops field listing other ops that are also accepted.

Tools

  • tools/ops.json contains every op's name, toolbox, description and full JSON Schema.
  • tools/compact_schema.py produces the compact schemas used in the prompts.
  • In training and evaluation, each prompt lists the gold op(s) plus BM25 distractors, 10 tools in total.

Notes

  • File paths and names in queries are synthetic.
  • SPEC.md documents the authoring conventions: units, ordinals and refusal rules.
  • The op surface matches Drift as of November 2026.