b.com/your-username/your-template.git your-projectReplace https://github.com/your-username/your-template.git with the URL of your template repository, and your-project with the name of the new project you want to create.

Use your template with ZenML. Once your template is ready, you can use it with the zenml init command:

zenml init --template https://github.com/your-username/your-template.git

Replace https://github.com/your-username/your-template.git with the URL of your template repository.

If you want to use a specific version of your template, you can use the --template-tag option to specify the git tag of the version you want to use:

zenml init --template https://github.com/your-username/your-template.git --template-tag v1.0.0

Replace v1.0.0 with the git tag of the version you want to use.

That's it! Now you have your own ZenML project template that you can use to quickly set up new ML projects. Remember to keep your template up-to-date with the latest best practices and changes in your ML workflows.

Our Production Guide documentation is built around the E2E Batch project template codes. Most examples will be based on it, so we highly recommend you to install the e2e_batch template with --template-with-defaults flag before diving deeper into this documentation section, so you can follow this guide along using your own local environment.

mkdir e2e_batch

cd e2e_batch

zenml init --template e2e_batch --template-with-defaults

PreviousConnect your git repository

NextBest practices

Last updated 15 days ago