# tinker_cookbook.rl.StreamMinibatchConfig *Generated from tinker-cookbook at commit [`8bf7dd6`](https://github.com/thinking-machines-lab/tinker-cookbook/tree/8bf7dd6192a3f1fa64640a04ec54a7f6866bbd83). Source links point at that snapshot.* ## *class* [**tinker_cookbook.rl.StreamMinibatchConfig**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/8bf7dd6192a3f1fa64640a04ec54a7f6866bbd83/tinker_cookbook/rl/train.py#L433)() Configuration for training with minibatch streaming. Once enough trajectories for a minibatch have been accumulated, training begins immediately rather than waiting for the full batch. This overlaps sampling and training within a single iteration. **Fields:** - [**groups_per_batch**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/8bf7dd6192a3f1fa64640a04ec54a7f6866bbd83/tinker_cookbook/rl/train.py#L449) (*int*) – Total number of trajectory groups across all minibatches and substeps - [**num_minibatches**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/8bf7dd6192a3f1fa64640a04ec54a7f6866bbd83/tinker_cookbook/rl/train.py#L454) (*int*) – per substep. ## Referenced by - [tinker_cookbook.rl.Config](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/rl/config/index.md)