# tinker_cookbook.distillation.SDFTBatchProvider *Generated from tinker-cookbook at commit [`4a3a282`](https://github.com/thinking-machines-lab/tinker-cookbook/tree/4a3a2829190b45999021e423bc90b7523108edf4). Source links point at that snapshot.* ## *class* [**tinker_cookbook.distillation.SDFTBatchProvider**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/4a3a2829190b45999021e423bc90b7523108edf4/tinker_cookbook/distillation/sdft.py#L89)(*Protocol*) Protocol for SDFT datasets that return builders alongside golden answers. ### [**get_batch**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/4a3a2829190b45999021e423bc90b7523108edf4/tinker_cookbook/distillation/sdft.py#L92)(*index*) Return (env_group_builders, questions, golden_answers) for a batch. Each list has the same length (one per problem in the batch). **Parameters:** - [**index**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/4a3a2829190b45999021e423bc90b7523108edf4/tinker_cookbook/distillation/sdft.py#L92) (*int*) **Returns:** *tuple\[Sequence\[[EnvGroupBuilder](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/rl/envgroupbuilder/index.md)\], list[str], list[str]\]*