Skip to content

N0ktis/ml_project_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ML Template

A logical, reasonably standardized, but flexible project structure for doing and sharing out work.

Requirements to use this template:


pip3 install cookiecutter rich

To start a new project, run:


cookiecutter https://github.com/N0ktis/ml_project_template

The resulting directory structure


├── README.md               <- The top-level README for developers using this project.
│
├── pyproject.toml          <- Project metadata for [poetry](https://python-poetry.org/).
│
├── poetry.lock             <- Locked dependencies (instead of requirements.txt).
│
├── .pre-commit-config.yml  <- Git hooks to not commit bad code.
│
├── models                  <- Trained models (don't commit if not necessary).
│
├── notebooks               <- Jupyter notebooks. Naming convention is the creator's nickname
│   │                          and a short `-` delimited description, e.g.
│   │                          `nbarsukov-initial-data-exploration`.
│   ├── chaos               <- For exploration. Can be unstructured. Not autoformatted.
│   └── reports             <- For reports. Structured, clean and commented.
│
├── src                     <- Source code for use in this project.
│   ├── dataset.py          <- Module for creation and use of dataset.
│   │
│   ├── config.py           <- Configuration as python file for easier parsing and changing.
│   │
│   ├── data_tools          <- Scripts to download\upload and preprocess data
│   │
│   └── utils		    <- Useful scripts for different parts in project
│
├── docker-compose.yml      <- If your project can be built in Docker.
│
├── .env                    <- Credentials.
│
├── .gitignore              <- Ignore unwanted.
│
├── reports                 <- Useful information you don't want to lose in wiki or jira.
│
└── img                     <- Images used in Markdown files.

Notes

pyproject.toml inside template goes without lock file because we may and may not include torch in dependencies. For now poetry resolves dependencies in around 100 seconds so lock is not that necessary.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors