Jazz night by Alex Zamora

Hands-on Tutorials

The Generative Pre-trained Transformer or GPT model has achieved astonishing results when dealing with Natural Language Processing (NLP) tasks. However, the model architecture is not exclusive to NLP and has been utilised to solves other problem such as time-series prediction or music generation. In this article, I will share with the approach that I used to generate music (specifically Jazz music) using a very simple version of the GPT model.

Table of Contents

  • Background
  • Piano roll encoding approach
  • Data preprocessing and analysis
  • GPT Model
  • Training
  • Inferencing
  • Web App
  • Conclusion

Background

The music generation task has been tackled in the past using deep neural networks…


Take My Hand by Possessed Photography

CAPTCHA is widely used as a way to ensure the actions performed to the system is done by human instead of bots. However, this method is not foolproof especially in today’s age when OCR and computer vision technology is so developed. And let’s face it, from the user’s point of view, having to solve a captcha every time you want to access a certain website is quite a pain especially when you need to do it every day!

In this article, I am going to explore my very own method of bypassing a specific type of captcha. The approach utilises…

Viet Pham

An undergraduate at Singapore University of Technology and Design who is passionate about machine learning algorithms.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store