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 execution.
nemo anonymizer preview
preview calls the plugin service and streams NDJSON frames to stdout. It rejects local file paths in data.source (use a fileset reference or http(s) URL) and requires explicit model_configs.
nemo anonymizer run
Run source kinds
Run output
run 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.
run 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
Run specs use the AnonymizerRequest shape. Preview specs use the same fields plus num_records:
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.