Skip to content

humblebeeai/model-python-template

Repository files navigation

Model Template (AI/ML) module (Cookiecutter)

This is a cookiecutter template for AI/ML model module projects.

✨ Features

  • Cookiecutter
  • AI/ML model
  • Python module/package
  • Jupyter notebook
  • Research
  • Project Structure
  • Template
  • CI/CD

🐤 Getting started

1. 🚧 Prerequisites

For DEVELOPMENT environment:

2. 📥 Download or clone the repository

2.1. Prepare projects directory (if not exists):

# Create projects directory:
mkdir -pv ~/workspaces/projects

# Enter into projects directory:
cd ~/workspaces/projects

2.2. Follow one of the below options [A], [B] or [C]:

OPTION A. Clone the repository:

git clone https://github.com/humblebeeai/model-python-template.git && \
    cd model-python-template && \
    git checkout cookiecutter

OPTION B. Clone the repository (for DEVELOPMENT: git + ssh key):

git clone git@github.com:humblebeeai/model-python-template.git && \
    cd model-python-template && \
    git checkout cookiecutter

OPTION C. Download source code from cookiecutter branch.

3. 📦 Install cookiecutter

# Install cookiecutter:
pip install -U cookiecutter
# Or:
pip install -r ./requirements.txt

4. 🏗️ Generate project with cookiecutter

# Generate project:
cookiecutter -f .
# Or:
./scripts/build.sh

5. 🏁 Start the project

cd [PROJECT_NAME]
# For example:
cd model-python-template

👍


📑 References