# 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/) | None_, default: `None`)

## Referenced by

- [tinker_cookbook.supervised.ChatDatasetBuilder](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/supervised/chatdatasetbuilder/)
