nemo_automodel.components.datasets.llm.mock_packed
nemo_automodel.components.datasets.llm.mock_packed
Module Contents
Functions
Data
API
Dataset builder.
Flush helper (build position_ids that reset after <eos>).
Sentence generator with Gaussian length control.
Build a trivial vocab; index 0=<pad>, 1=<eos>, rest = word_i.