CLI Reference#
Syntax, global options, and override rules for the four tokenizer_extension steps.
Pair this page with the per-step YAML references for field meanings.
Synopsis#
uv run nemotron steps run tokenizer_extension/<step> [GLOBAL OPTIONS] [-c CONFIG] [DOTLIST_OVERRIDES...]
<step> is one of extend, init_embeddings, evaluate, or eval_init.
Global Options#
Option |
Purpose |
|---|---|
|
Select |
|
Print the merged configuration and exit without running the step. |
|
Attached execution through an environment profile such as |
|
Detached execution through an environment profile. |
Without -r or -b, the step runs on the current host.
Environment profiles come from the file named by NEMOTRON_ENV_FILE, which defaults to env.toml; see Run on a Cluster.
Dotlist Overrides#
Arguments of the form key=value after the options merge into the loaded YAML.
Nested keys use dotted paths, and list values use bracket syntax:
uv run nemotron steps run tokenizer_extension/extend -c default \
language=vietnamese method=replace extension_size=30000 \
corpus.hf_dataset=null corpus.path=./data/vi corpus.glob="'*.parquet'"
uv run nemotron steps run tokenizer_extension/eval_init -c default \
models=[./output/resized_checkpoint,./output/resized_checkpoint_replace] max_docs=2000
Setting a key to null clears the default; extend and evaluate require exactly one of corpus.hf_dataset or corpus.path to be set.
Use inner quotes for a glob override: corpus.glob="'*.parquet'". The default is *.parquet; omit the key when it is unchanged.
Step-Specific Notes#
Step |
Note |
|---|---|
|
One |
|
|
|
Use the same corpus block for every tokenizer in a comparison. |
|
Use |
Inspect a Step#
uv run nemotron steps show tokenizer_extension/extend
Prints the step’s step.toml metadata, including its declared configuration fields and errors.