This is a cookiecutter template for AI/ML model module projects.
- Cookiecutter
- AI/ML model
- Python module/package
- Jupyter notebook
- Research
- Project Structure
- Template
- CI/CD
- Install Python (>= v3.10) and pip (>= 23):
- [RECOMMENDED] Miniconda (v3)
- [arm64/aarch64] Miniforge (v3)
- [Python virutal environment] venv
For DEVELOPMENT environment:
2.1. Prepare projects directory (if not exists):
# Create projects directory:
mkdir -pv ~/workspaces/projects
# Enter into projects directory:
cd ~/workspaces/projects2.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 cookiecutterOPTION 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 cookiecutterOPTION C. Download source code from cookiecutter branch.
# Install cookiecutter:
pip install -U cookiecutter
# Or:
pip install -r ./requirements.txt# Generate project:
cookiecutter -f .
# Or:
./scripts/build.shcd [PROJECT_NAME]
# For example:
cd model-python-template👍
- Cookiecutter (GitHub) - https://github.com/cookiecutter/cookiecutter
- Cookiecutter (Docs) - https://cookiecutter.readthedocs.io/en/stable