KTH ID2223 Projects 2022/3

This page showcases some of the “Serverless ML Services” developed by the students in the “Scalable ML and DL” masters level course. The main requirements for the project were to build a complete ML system that includes:

  1. a feature pipeline to produce features from a data source that is continually updated,
  2. includes in inference pipeline to make predictions on new data,
  3. provides a UI for the  prediction problem addressed,
  4. runs on free serverless infrastructure,
  5. model training is not an operational service and can be done on-demand (e.g., notebook).

Most of the projects used some variant of the following architecture, deploying and running their systems on free serverless services (such as Modal, Hopsworks, and Hugging Face):

Serverless ML Projects

  1. Football Betting Predictions
  2. Bitcoin Price Prediction
  3. Ski Snow Depth Prediction
  4. Air Quality Predictions for Poland
  5. Stockholm house price predictions
  6. Song Recommender for Spotify Playlists
  7. Vocal Remover from music/sound files
  8. Stock Market Price Prediction using Sentiment Analysis
  9. Stock Price Prediction using LSTMs
  10. Tesla stock price prediction
  11. Real-time traffic prediction near Kista
  12. Reddit - predict if a post will be liked or not
  13. Show news articles for a specified sentiment
  14. Water Flow Prediction for Stockholm Region
  15. Double the resolution of your image
  16. Electricity Price Prediction for Sweden (SE3)
  17. Name that Face - face recognition
  18. Aurora Prediction for Kiruna
  19. Bitcoin price prediction
  20. Predict Electricity Demand in NYC
  21. Predicting Crime in San Francisco
  22. Stance Prediction for News Topics
  23. Anime Recommender System - Two Tower model
  24. Lab 2 - Fine-Tuned Whisper Models


Project

Technologies

Github Repo

User Interface

Football Betting

Modal

Hopsworks

https://github.com/MatejFrnka/ScalableML-project 

Streamlit Cloud UI



Project

Technologies

Github Repo

User Interface

Bitcoin Price Prediction

Hopsworks
Modal

https://github.com/daniel-rdt/twitter_bitcoin_sentiment_ml 

HF Spaces



Project

Technologies

Github Repo

User Interface

Ski Snow Depth Prediction

Modal
Hopsworks

https://github.com/scalable-ml-deep-learning/predicting-snow-conditions 

HF Spaces



Project

Technologies

Github Repo

User Interface

Air Quality in Poland

Hopsworks

https://github.com/erno98/ID2223/ 

Streamlit Cloud



Project

Technologies

Github Repo

User Interface

Stockholm house prices

Hopsworks

https://github.com/Nathanotal/ScalableMachineLearning/tree/main/Projekt 

HF Spaces



Project

Technologies

Github Repo

User Interface

Song Recommender for Spotify Playlists

HF Spaces Datasets/Models

https://github.com/nandovallec/scalable-final 

Streamlit Cloud



Project

Technologies

Github Repo

User Interface

Vocal Remover from music/sound files

Hopsworks

Modal

https://github.com/fi-m/ID2223/tree/main/project 

HF Spaces



Project

Technologies

Github Repo

User Interface

Stock Market Price Prediction using Sentiment Analysis

Hopsworks

https://github.com/avatar46/ID2223_Project 

HF Spaces



Project

Technologies

Github Repo

User Interface

Stock Price Predictions

Hopsworks

LSTMs

https://github.com/Alexanderm0/Serverless_Stock_Market_Prediction 

HF Gradio


Project

Technologies

Github Repo

User Interface

Water Flow Prediction for Stockholm Region

Hopsworks

Notebooks

https://github.com/xrisaD/RealTimeStreamFlowPrediction 

Streamlit Cloud



Project

Technologies

Github Repo

User Interface

Tesla stock price prediction

Hopsworks

Modal

https://github.com/ludvigdoeser/scalableMLproject 

HF Spaces



Project

Technologies

Github Repo

User Interface

Real-time traffic prediction near Kista

Hopsworks
Modal

https://github.com/Tilosmsh/IL2223_project 

HF Spaces



Project

Technologies

Github Repo

User Interface

Reddit - predict if a post will be liked or not

Hopsworks
Modal

https://github.com/Neproxx/ID2223-LikeItOrNot 

Interactive UI on HF Spaces

Dashboard on HF Spaces


Project

Technologies

Github Repo

User Interface

Show news articles for a specified sentiment

Hopsworks

https://github.com/torileatherman/news_articles_sentiment 

HF Spaces



Project

Technologies

Github Repo

User Interface

Double the resolution of your image

Colab CNN,

Google Drive

https://github.com/GianlucaRub/Scalable-Machine-Learning-and-Deep-Learning/tree/main/Project 

Interactive HF
Dashboard HF



Project

Technologies

Github Repo

User Interface

Electricity Price Prediction for Sweden (SE3)

Hopsworks, Modal,
Pandera

https://github.com/antonbn/ID2223Project 

Streamlit Interactive

Streamlit Dashboard


Project

Technologies

Github Repo

User Interface

Name that Face - face recognition

Colab

Google Drive

https://github.com/enniorampello/face-recognition 

Gradio



Project

Technologies

Github Repo

User Interface

Aurora Prediction for Kiruna

Hopsworks

Modal

https://github.com/NeoForNew/ID2223_scalable_machine_learning_and_deep_learning 

HF Gradio



Project

Technologies

Github Repo

User Interface

Bitcoin Price Prediction

Hopsworks

Modal

https://github.com/Akseluhr/ID2223-Scalable-ML/tree/master/project 

HF Interactive UI

HF Monitoring UI



Project

Technologies

Github Repo

User Interface

Predicting Electricity Prices in NYC

Hopsworks

Modal

https://github.com/aykhazanchi/id2223-scalable-ml/tree/master/proj 

HF Interactive UI

HF Monitoring UI



Project

Technologies

Github Repo

User Interface

Predicting Crime in San Francisco

Hopsworks

Modal

https://github.com/Hope-Liang/ID2223Project 

HF Interactive UI

HF Monitoring UI


Project

Technologies

Github Repo

User Interface

Stance Prediction for News Topics

Hopsworks

Modal

https://github.com/renesteeman/ScalableStance 

HF Static Web UI


Project

Technologies

Github Repo

User Interface

Anime Recommender System - Two Tower model

Tensorflow Recommenders

https://github.com/backgroundhumeur/serverless-ml-anime-recommender 


Lab 2 - Fine-Tuned Whisper Models

This lab involved transforming this example notebook from Hugging Face that fine-tunes Whisper for Hindi. A problem with this notebook is that the first 40 minutes are feature engineering, where you don’t need a GPU (CPUs only needed). So, if you train the notebook with a GPU, the first 40 mins will be wasted. And if you want to perform hyperparameter tuning, you have to wait 40 mins for it to start. So, students refactored the notebook into a feature pipeline that wrote out 21 GBs of data (sound data in arrow file format). Then a training pipeline read in the features to train a model that was written to a model registry. Then, the Hugging Face Spaces Gradio UI (see examples below) used Whisper to transcribe sound to text.

Some students were creative and chained pre-trained models together (e.g., use Chat-GPT to summarize the transcribed text), translate the transcribed text into other languages.


Gamified Language Learning with Whisper: speak the word for the picture shown in Swedish, then it tells you if you were correct in your pronunciation or not, Github Link.


Swedish Transcription with translation to English, Github Link.


Lithuanian transcription and translation, Github Link.


Galician transcription with multiple UIs, Github Link.


Dutch transcription and summarization, Github Link.