# tinker_cookbook.supervised.ChatDatasetBuilderCommonConfig ## *class* [**tinker_cookbook.supervised.ChatDatasetBuilderCommonConfig**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/supervised/types.py#L73)() Shared configuration for all chat-based dataset builders. Specific dataset builders may add extra options on top of these. **Fields:** - [**model_name_for_tokenizer**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/supervised/types.py#L91) (*str*) - [**renderer_name**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/supervised/types.py#L93) (*str*) - [**max_length**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/supervised/types.py#L94) (*int | None*) - [**batch_size**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/supervised/types.py#L95) (*int*) - [**train_on_what**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/supervised/types.py#L96) (*renderers.[TrainOnWhat](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/renderers/trainonwhat/index.md) | None*, default: `None`) ## Referenced by - [tinker_cookbook.supervised.ChatDatasetBuilder](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/supervised/chatdatasetbuilder/index.md)