cb dataset
List registry datasets and build training data from runs.
List registry datasets and build training data from runs.
| Command | Description |
|---|---|
cb dataset list | List available datasets from registry. |
cb dataset build | Build a dataset from batch outputs. |
Every command also accepts the global options.
Manage datasets and build from outputs.
cb dataset [COMMAND]Examples
# List registry datasets
cb dataset list
# Build a training dataset from run outputs
cb dataset build ./outputscb dataset list#List available datasets from registry.
cb dataset listExamples
# List registry datasets
cb dataset listcb dataset build#Build a dataset from batch outputs.
cb dataset build [OPTIONS] <outputs_path> [<max_samples>]| Argument | Type | Default | Description |
|---|---|---|---|
<outputs_path> | string | required | Path to outputs folder from batch dump (e.g., ./outputs or /tmp/td_output). |
<max_samples> | integer | optional | Limit number of samples processed (useful for testing). |
| Flag | Type | Default | Description |
|---|---|---|---|
--mode | string | aguvis-stage-1 | Processing mode: aguvis-stage-1 (action augmentation) or gui-r1 (low-level click). |
--dataset-name | string | Dataset name when saving to disk (default: td_<mode>_dataset). | |
--save-dir | string | Directory to save a JSONL dataset (default: <outputs>/processed if not pushing). | |
--repo-id | string | HF Hub repository ID (e.g., username/repo). Required with --push-to-hub. | |
--push-to-hub | boolean | false | Push the dataset to the Hugging Face Hub. |
--private | boolean | false | When pushing to hub, create/update the repo as private. |
Examples
# Build an aguvis-stage-1 dataset from run outputs
cb dataset build ./outputs
# Build 100 gui-r1 samples
cb dataset build ./outputs 100 --mode gui-r1
# Push a private dataset to the Hugging Face Hub
cb dataset build ./outputs --push-to-hub --repo-id me/cua-clicks --private| Code | Meaning |
|---|---|
0 | Success: every variant completed. |
1 | Failure: a variant failed or was cancelled, or the command could not run. |
2 | Usage error: an unknown command, flag or value. |
130 | Interrupted (Ctrl-C); running variants are cancelled. |