---
title: "ModelArchitecture"
---

Model architecture information


## Fields

| Field                                                                      | Type                                                                       | Required                                                                   | Description                                                                | Example                                                                    |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `input_modalities`                                                         | List[[components.InputModality](../components/inputmodality.mdx)]           | :heavy_check_mark:                                                         | Supported input modalities                                                 |                                                                            |
| `instruct_type`                                                            | [OptionalNullable[components.InstructType]](../components/instructtype.mdx) | :heavy_minus_sign:                                                         | Instruction format type                                                    | chatml                                                                     |
| `modality`                                                                 | *Nullable[str]*                                                            | :heavy_check_mark:                                                         | Primary modality of the model                                              | text->text                                                                 |
| `output_modalities`                                                        | List[[components.OutputModality](../components/outputmodality.mdx)]         | :heavy_check_mark:                                                         | Supported output modalities                                                |                                                                            |
| `tokenizer`                                                                | [Optional[components.ModelGroup]](../components/modelgroup.mdx)             | :heavy_minus_sign:                                                         | Tokenizer type used by the model                                           | GPT                                                                        |