42
) (default: 42)20
)data_path
was provided during initialization, those datapoints
are yielded first. When self._data is empty, 20 new datapoints
are generated. Every 100 yields, the batch is appended to the
JSONL file or discarded if cache
is None.
Yields:
DataPoint: A single datapoint.
data_path
was provided during initialization, those datapoints
are yielded first. When self._data is empty, 20 new datapoints
are generated. Every 100 yields, the batch is appended to the
JSONL file or discarded if cache
is None.
Yields:
DataPoint: A single datapoint.
self._data
, which contains the generated datapoints.save_to_jsonl
to save self._data
.