# tinker.types.DmelChunk ## *class* [**tinker.types.DmelChunk**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/dmel_chunk.py#L13)(*[StrictBase](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/_models.py#L76)*) **Fields:** - [**dmel**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/dmel_chunk.py#L14) (*bytes*) – Serialized TensorContainer bytes holding the DMel model token tensor. - [**type**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/dmel_chunk.py#L17) (*Literal['dmel']*) ### [**validate_dmel**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/dmel_chunk.py#L21)(*value*) Deserialize base64 string to bytes if needed. **Parameters:** - [**value**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/dmel_chunk.py#L21) (*Union[bytes, str]*) **Returns:** *bytes* ### [**serialize_dmel**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/dmel_chunk.py#L28)(*value*) Serialize bytes to base64 string for JSON. **Parameters:** - [**value**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/dmel_chunk.py#L28) (*bytes*) **Returns:** *str*