First read ../arkcli-shared/SKILL.md, and follow the authentication, output, security, Client Preview, and secondary confirmation rules.
Capability Scope
- Create a Dataset and its first
V1, or create a new version for an existing Dataset. - From a local
.jsonlfile or object mapping data under the same TOS bucket. - Resolve the exact
DatasetSchemabased on the base model's fine-tuning configuration and perform server-side validation. - Query, update, and delete Datasets, query versions, and download TOS objects in a version.
- Produce a stable
train finetune createreference for<dataset-id>:<version-id>.
When handling only the fine-tuning task itself, use ../arkcli-train-finetune/SKILL.mdinstead. Do not use the Raw API to simulate existing dataset product commands.
Execution Guards
- First run
arkcli auth status; if authentication fails, recover according to the shared skill. - Before execution, read the target leaf command's
--help, and rely on the currently installed version. --dataset-formatonly acceptsLLMSft、LLMPretrain、LLMDPO、LLMRL、EmbeddingSft、ImageGenSft、VideoGenSft; do not send display text or other backend SchemaTypes.--localand--tos-uriare mutually exclusive. Local input only accepts.jsonl, at most 20 files; multiple TOS URIs must belong to the same bucket.--tos-urimust be listable by the current identity and contain at least one.jsonl; do not reuse theds-ds/*staging path from the CLI upload result; instead use theark/dataset/<dataset-id>/<dataset-version-id>/path of a registered version or another readable data path.- Creating and adding a version will first validate the inputs one by one;
ValidateDataset.StorageRawLocation.Storagedoes not sendAccountID, but subsequently theCreateDatasetVersion.Storageof both workflows must send the current account's numericAccountID。CreateDatasetVersiondoes not send the optionalName, and the CLI does not provide this parameter either; the official version number is entirely based on theVersionin the server response. If any step fails, retain the uploaded objects or the created Dataset, and do not fabricate a rollback. dataset version get <dataset-id> <Vn|dsv-*> --previewreads at most 100 KiB (102400 bytes) of content per object, consistent with the console Dataset preview limit; the version SID can still omit the Dataset ID. Download supports bothdataset download ... --version ...anddataset version download <dataset-id> <Vn|dsv-*>, and neither overwrites existing files.- Before deletion, display the number of versions, the number of storage paths, and, when available, the number of objects and total bytes, then confirm separately.
- Create, version create, validate, download, update, and delete support leaf-level
--dry-run. Read-only list/get do not use--dry-run;version get --previewis a real read-only query, not a Client Preview. - Client Preview only displays an offline plan; it does not upload, does not validate server-side data, and does not replace deletion confirmation.
Volc local upload uses the TOS endpoint of the region corresponding to the current profile, and enables bucket rename.
Workflow
- Create, maintain, validate, download: read
references/commands.md。 - Dataset integration with fine-tuning: after completing the Dataset, read
../arkcli-train-finetune/references/create.md。 - Maintainer evaluation: read
references/evals.md。
Only load the reference needed for the current task.