Output Files#
Each step writes to a path you set in its configuration. Field names below trace to the writer in each step’s executor.
extend#
Writes output_dir/<method>/, where <method> is add, replace, or expand.
File |
Written by |
Content |
|---|---|---|
Tokenizer files ( |
|
The extended tokenizer, loadable with |
|
every method |
Run record; fields below. |
|
|
Map from old token ID (string key) to new token ID for surviving tokens. Consumed by |
|
|
One pruned token per line. |
summary.json fields:
Field |
Meaning |
|---|---|
|
Base tokenizer identifier. |
|
|
|
The |
|
|
|
The values the run acted on, after any override. |
|
Whether |
|
The |
|
Requested budget. |
|
The |
|
Token count of the base tokenizer. |
|
Token count of the written tokenizer. |
|
Novel tokens produced by BPE training before the splice. |
|
Same value as |
|
Tokens actually added. Constructive merging may add intermediate tokens, so this value can differ from |
|
|
|
Output directory. |
|
|
init_embeddings#
Writes output_dir/ as a resized Hugging Face checkpoint: model weights saved with save_pretrained in the configured dtype, plus a copy of the extended tokenizer.
The directory is the hf_model_path input for pretrain/megatron_bridge.
Per-token initialization samples are printed to the log rather than written to a file.
evaluate#
Writes the JSON report at output.
Field |
Meaning |
|---|---|
|
The configured label, or the |
|
Tokenizer identifier or path. |
|
Token count. |
|
Whether the Mistral pre-tokenizer regex correction was applied. |
|
The |
|
|
|
|
|
Tokens per whitespace-delimited word; lower is better. |
|
Characters per token; higher is better. |
|
Distinct token IDs observed. |
|
|
|
Wall-clock seconds. |
eval_init#
Writes the JSON report at output_json.
Field |
Meaning |
|---|---|
|
The effective evaluation settings. |
|
Mean negative log-likelihood per token. |
|
|
|
Bits per byte; comparable across tokenizers on identical text. |
|
Scored volume. |
The base model appears under its own label; the console output also prints each model’s BPB delta against it.