Skip to content

aisingapore/kapitan-hull

Repository files navigation

Kapitan Hull

AI Singapore's Kapitan Hull EPTG Onprem Run:ai Banner

Table of Contents

Preface

This repository contains the cookiecutter template for generating a repository that provides boilerplates touching on the differing components of an end-to-end ML project.

For now, this template is dedicated for AI Singapore's on-premise environment, and where Run:ai is used as the MLOps platform. Other platforms and orchestrators would be integrated to this repository in the near future.

Usage

To use the template and create a repository, you would need to install the cookiecutter CLI, say within a virtual environment and pass the URL of this template as an argument, like such:

$ pip install cookiecutter
$ cookiecutter https://github.com/aisingapore/kapitan-hull

You will then be prompted to provide inputs.These inputs will be used to populate different parts of the repository to be generated by cookiecutter.

Note: Your cookiecutter version must be at least 2.2.0.

Input Parameters

Parameter Detail Default Regex Reference
project_name Name of project that will be the header for the README.md. Input to start with alphabet. Only whitespace as separators. My Project Link
description A short description of the project that will be populated in README.md. Max of 72 characters. A short description of the project. NIL
repo_name Name of the repository folder. Input to start with alphabet characters. No whitespaces or underscores are allowed. project_name where whitespaces and underscores are replaced with hyphens. Link
src_package_name Name of the source code's package under src. Input to start with alphabet characters. No whitespaces or hyphens are allowed. repo_name where hyphens are replaced with underscores. Link
src_package_name_short The alias for the source code's package. Input to start with alphabet characters. No whitespaces or hyphens are allowed. src_package_name Link
platform The platform the project is running on. (Choose between "on-premise" or "Google Cloud Platform") onprem or gcp NIL
orchestrator The orchestrator the project is using. (Choose between "Run:AI", "Polyaxon" or "No orchestrator") runai or polyaxon or none NIL
proj_name The project name used in by the repository. If you're using Run:AI, this will be the Run:AI project name used by the repository. sample-project NIL
registry_project_path Path of the registry repository for your container images to be located under. Cannot end with a slash character. registry.domain.tld/sample-project/my-project Link
author_name Your alias or project team's name. Relatively arbitrary. No hyphens are allowed. AISG Link

Version Control

Following the creation of your repository, initialise it with Git, push it to a remote, and follow its README.md document for a full guide on its usage.