# tinker_cookbook.distillation.SDFTBatchProvider

## _class_ [**tinker_cookbook.distillation.SDFTBatchProvider**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/distillation/sdft.py#L88)( _Protocol_)

Protocol for SDFT datasets that return builders alongside golden answers.

### [**get_batch**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/distillation/sdft.py#L91)( _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/main/tinker_cookbook/distillation/sdft.py#L91) ( _int_)

**Returns:** _tuple[Sequence[ [EnvGroupBuilder](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/rl/envgroupbuilder/)], list[str], list[str]_
