nemo_automodel.components.datasets.zephon.pipeline
nemo_automodel.components.datasets.zephon.pipeline
Construct pipelines exclusively through Zephon’s public API.
Module Contents
Classes
Functions
Data
API
Bases: typing.TypedDict
buffer_size
parallelism
Bases: typing.TypedDict
stop_after_passes
Create the shared source/runtime backbone before objective-specific stages.
measure is an adapter-owned token counter for pretokenized or multimodal
documents. Raw text uses Zephon’s built-in tokenizer counting.
Batch complete documents and configure/validate the shared runtime.
Call after objective-specific encoding and packing. The pipeline is mutated in place; no iteration or checkpoint is performed. The pipeline ends at batch grouping. The loader calls to_training and applies model-input adaptations after receiving each original SampleBatch.