Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Zoumana Keita b5d487f4b8
Update README.md
1 year ago
10c1fd5a44
Adding MLFlow Experiment For Training
1 year ago
dd198f5901
Adding save to DVC script
1 year ago
57c9a268ab
MLOps Stages
1 year ago
57c9a268ab
MLOps Stages
1 year ago
10c1fd5a44
Adding MLFlow Experiment For Training
1 year ago
10c1fd5a44
Adding MLFlow Experiment For Training
1 year ago
10c1fd5a44
Adding MLFlow Experiment For Training
1 year ago
f8c1e9a6dc
Server Request and Response Images
1 year ago
10c1fd5a44
Adding MLFlow Experiment For Training
1 year ago
52eaa7a74c
Adding DVC files
1 year ago
52eaa7a74c
Adding DVC files
1 year ago
b5d487f4b8
Update README.md
1 year ago
52eaa7a74c
Adding DVC files
1 year ago
57c9a268ab
MLOps Stages
1 year ago
dd198f5901
Adding save to DVC script
1 year ago
52eaa7a74c
Adding DVC files
1 year ago
52eaa7a74c
Adding DVC files
1 year ago
52eaa7a74c
Adding DVC files
1 year ago
a8c8b93c1d
Update the workflow file
1 year ago
1 year ago
dd198f5901
Adding save to DVC script
1 year ago
52eaa7a74c
Adding DVC files
1 year ago
57c9a268ab
MLOps Stages
1 year ago
10c1fd5a44
Adding MLFlow Experiment For Training
1 year ago
dd198f5901
Adding save to DVC script
1 year ago
10c1fd5a44
Adding MLFlow Experiment For Training
1 year ago
Storage Buckets
Data Pipeline
Legend
DVC Managed File
Git Managed File
Metric
Stage File
External File

README.md

You have to be logged in to leave a comment. Sign In

ML Ops with GitHub Actions, DagsHub and AWS EC2 Instance

DagsHub + Actions + EC2

This repository can be used for easily setting up a data science or machine learning project with automated training and deployment using GitHub Actions, DagsHub and AWS EC2.

Main Concepts Covered

The following concepts are automatically performed using Github Actions and DagsHub.

  • Automatically pull and process data from Github using Pandas and Python.
  • Train your model and track experiment with MLFlow and SKlearn.
  • Validate the model and save the serialized model and metadata to DVC on DagsHub.
  • Deploy your model to AWS EC2 instance.
  • Monitor the metrics with MLFlow.
  • Retrain if necessary.

MLOps Workflow

Getting started

1. Prerequisites

Platforms

The following prerequisites are required to make this repository work:

Other ressources

  • Python 3.9.1
  • DVC 2.11
  • You can find all the additional information in the requirements.txt file

Main Components of Github Actions

GitHub Actions contains five main components as shown below.

GitHub Actions Components

Results On DagsHub

DagsHub provides the capabilities to use MLFlow and DVC while giving the choice of working on Github. The following results are the experiments from DagsHub, using MLFlow to track the model F1-Score, Precision and Recall.

Experiment on DagsHub

Github Actions Experiment

The following animation corresponds to the execution of the pipeline using Github Actions from Data Extraction to Model Training.

Github Actions Experiment

Test App deployed on EC2

This is the final result after the model is deployed into productiion.

  • Input:Using DagsHub and Github Actions is so cool.

Fast API on EC2

  • Response: Ham meaning that the previous message is not a spam :)

Server Response to the request

Full Article On Medium

Read the full article on my medium and Follow me for more content.

Tip!

Press p or to see the previous file or, n or to see the next file

About

No description

Collaborators 1

Comments

Loading...