> For the complete documentation index, see [llms.txt](https://docs.zingg.ai/0.3.4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zingg.ai/0.3.4/stepbystep/train.md).

# Building and saving the model

Guide to build and save model

Builds up the Zingg models using the training data from the above phases and writes them to the folder zinggDir/modelId as specified in the config.

```
./zingg.sh --phase train --conf config.json
```
