Home

Awesome

<div align="center"> <a href='https://www.realworldml.net/'><img src='./images/logo_realworldml.png' width='350'></a> <h1>Train and Deploy a Serverless API to predict crypto prices</h1> <img src="images/lecture_3.gif" width='450' /> </div> <br> <!-- <p align="center"> <img src="images/lecture_3.gif" width='450' /> </p> -->

Contents

The problem

Predicting crypto price movements is extremely hard. But it is also a great field to show what Machine Learning has to offer.

In this tutorial you won't build an ML system that will make you rich. But you will master the MLOps frameworks and tools you need to build ML systems that, together with tons of experimentation, can take you there.

With this hands-on tutorial, I want to help you grow as an ML engineer and go beyond notebooks.

<br>

This is what you will learn

You will learn to

Without further ado, let's get to work!

<br>

Tools

We will use a 100% Serverless stack, so you don't need to set up and maintain infrastructure

<br>

Run the whole thing in 5 minutes

If you only have 5 minutes and want to see the whole system in action, follow these steps:

  1. Create a Python virtual environment with all project dependencies with

    $ make init
    
  2. Set your API keys for Comet ML and Cerebrium in set_environment_variables_template.sh, rename the file as set_environment_variables.sh and run it

    $ . ./set_environment_variables.sh
    
  3. Download historical data from Coinbase and save it locally to disk

    $ make data
    
  4. Train ML model

    $ make train
    
  5. Deploy the model

    $ make deploy
    
  6. Take the endpoint URL you get from Cerebrium in the previous step, and set the CEREBRIUM_ENDPOINT_URL variable in set_environment_variables.sh. Then re-run

    $ . ./set_environment_variables.sh
    
  7. Test the endpoint works

    $ make test-endpoint
    
<br>

Lectures

1. Model training

In this first lecture you will

In this lecture you won't train an ML model that will make you rich. But you will master the framework and skillset you need if you want to build ML models that, together with tons of experimentation, can take you there.

Ready to get your hands-dirty? Start training models 👩‍💻👨🏽‍💻 🏋️

<br>

2. Model deployment as REST API

In this second lecture you will

Ready to deploy? Start deploying models 👩‍💻👨🏽‍💻 🚀

<br>

3. Automatic deployments with GitHub actions and Model Registry webhooks

ML models often need to be re-trained to keep them performant. Hence, automating safe deployments is a must.

In this third and final lecture you will

Ready for the final round? Start automating safe deployments 👩‍💻👨🏽‍💻 🪝

<br>

Wanna learn more Real-Time ML?

Wanna learn to build a complete ML system that

using MLOps best practices?

I am preparing a new hands-on tutorial where you will learn all this.

Subscribe to The Real-World ML Newsletter to be notified when the tutorial is out.

<div align="center"> <sub>Let's connect 🤗</sub> <br /> <a href="https://twitter.com/paulabartabajo_">Twitter</a> • <a href="https://www.linkedin.com/in/pau-labarta-bajo-4432074b/">LinkedIn</a> • <a href="https://paulabartabajo.substack.com/">Newsletter</a> <br /> </div> <div align="center"> <a href='https://www.realworldml.net/'><img src='./images/logo_realworldml.png' width='250'></a> </div>