ct dataset import-hf

Transform a downloaded Hugging Face dataset into local CT run(s).

Usage

ct dataset import-hf [OPTIONS] NAME

Arguments

ArgumentTypeRequired
NAMEtextYes

Options

OptionDescription
-i, --input-dir PATHDownloaded dataset location (default: datasets/hf/<name>/)
-o, --output-dir DIRECTORYWhere the CT run directory is written (default: datasets/hf/<name>/ct_run/)
--limit INTEGER RANGEOnly import the first N source files/attacks (smoke testing) [x>=1]
--overwriteReplace an existing output directory
--verify / --no-verifyCheck the downloaded files against the pinned checksums first
--helpShow this message and exit.