CLI Reference
This reference covers the nemo anonymizer commands exposed by the Anonymizer plugin. For end-to-end walkthroughs, see the tutorials.
Command Surface
nemo anonymizer validate
Validate an AnonymizerConfig YAML file against the model selection. Useful for catching Substitute-without-replacement_generator and similar misconfigurations before submitting a request.
The command does not accept data.source. Input-source validation happens during preview or run.
nemo anonymizer preview
Both preview run and preview submit take a spec file matching PreviewRequest.
Preview source kinds
Preview output
preview streams newline-delimited JSON frames to stdout. Filter with jq:
Frame kinds: log, preview_dataset, trace_dataset, failed_records, heartbeat, done, error. See the preview tutorial for details.
nemo anonymizer run
Run source kinds
Run output
run run prints {"exit_code": 0} on success. The local job results manager logs the artifact directory to stderr:
The artifact directory contains:
run submit submits an anonymizer.run job to the Jobs service and prints the assigned job name and submit endpoint:
Track and pull artifacts using either the standard nemo jobs ... commands or the Python SDK:
See SDK Resources for the full AnonymizerJobResource / AnonymizerJobResults surface.
Compared to run run, run submit rejects local file paths in data.source (use a fileset reference or http(s) URL) and requires explicit model_configs because the job runs outside the CLI process.
Spec File Reference
Both preview and run specs use the shared AnonymizerRequest shape:
Preview-only:
Fileset Reference Forms
The data.source field accepts three fileset forms; the workspace and fileset must already exist:
The #<path> fragment must resolve to a single .csv or .parquet file. The plugin downloads the file before constructing the Anonymizer library input.