# tinker_cookbook.distillation.DistillationDatasetConfig *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.DistillationDatasetConfig**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/4a3a2829190b45999021e423bc90b7523108edf4/tinker_cookbook/distillation/datasets.py#L41)() Configuration for a dataset used in distillation. **Fields:** - [**dataset_builder**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/4a3a2829190b45999021e423bc90b7523108edf4/tinker_cookbook/distillation/datasets.py#L44) (*[RLDatasetBuilder](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/rl/rldatasetbuilder/index.md)*) - [**teacher_config**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/4a3a2829190b45999021e423bc90b7523108edf4/tinker_cookbook/distillation/datasets.py#L45) (*[TeacherConfig](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/distillation/teacherconfig/index.md)*) - [**groups_per_batch**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/4a3a2829190b45999021e423bc90b7523108edf4/tinker_cookbook/distillation/datasets.py#L46) (*int*) ## Referenced by - [tinker_cookbook.distillation.train_on_policy.Config](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/distillation/train_on_policy_config/index.md)