Code Monkey home page Code Monkey logo

mlops_template's Introduction

๐Ÿช A up-to-date Cookiecutter template for MLOps


Inspired by the cookiecutter-data-science template. This template has been updated to better fit machine learning-based projects and is being used as the core template in this MLOps course.

Requirements to use the template:

  • Python 3.11
  • Cookiecutter v2.4.0

Start a new project

Start by creating a repository either using the Github GUI in the webbrowser or alternatively you can use the Github command line interface if you have set it up:

gh repo create <repo_name> --public --confirm

Afterwards on your local machine run

cookiecutter https://github.com/SkafteNicki/mlops_template

and input starting values for the project. When asked for the repository name when creating the template, input the same name as when you created the repository. Note that when asked for the project name, you should input a valid Python package name. This means that the name should be all lowercase and only contain letters, numbers and underscores. The project name will be used as the name of the Python package. This will automatically be validated by the template.

To commit to the remote repository afterwards execute the following set of commands:

cd <repo_name>
git init
git add .
git commit -m "init cookiecutter project"
git remote add origin https://github.com/<username>/<repo_name>
git push origin master

The stack

๐Ÿ Python projects using pyproject.toml

๐Ÿ”ฅ Models in pytorch

๐Ÿ“ฆ Containerized using docker

๐Ÿ“„ Documentation in mkdocs

๐Ÿ‘• Linting and formatting with ruff

โœ… Checking using pre-commit

๐Ÿ› ๏ธ CI with Github actions

mlops_template's People

Contributors

skaftenicki avatar albertsgarde avatar sebastianbitsch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.