SimpleSDFTDataset
Stock :class:SDFTDataset over :class:~evsys_sdk.data_types.PromptExample
rows: the question lives in inputs['question'] and the gold answer in
expected. Wraps modulo dataset length so the loop can exceed one epoch
(no _RepeatingSDFTProvider hack needed).
Attributes
attributerowslist[PromptExample]attributebatch_sizeintFunctions
func__post_init__(self) -> NoneparamselfReturns
Nonefunc__len__(self) -> intparamselfReturns
intfuncget_batch(self, step_idx) -> tuple[list[str], list[str]]paramselfparamstep_idxintReturns
tuple[list[str], list[str]]func__init__(self, rows, batch_size) -> Noneparamselfparamrowslist[PromptExample]parambatch_sizeintReturns
None