Building a Scalable AI Chatbot: From Rules to Deep Learning

Machine Learning Tokyo
Machine Learning Tokyo
Public group

Online event

This event has passed


In this workshop, we will learn how to make a retrieval-based chatbot in a modular fashion using an array of techniques from using rules with regular expressions to more modern deep learning methods such as using large pre-trained language models. We will look at practical challenges, maintaining conversation context, correcting user typos, and extracting parameters using named entity recognition.

* We will use sci-kit-learn, PyTorch, fastai, transformers, and spaCy libraries. Participants are expected to have some experience with these tools.
* This tutorial will follow a top-down approach. We will start by looking at using higher-level APIs to quickly prototype a solution and slowly dig deeper into the inner workings.

* The talk and workshop to be presented here have also been accepted at SciPy Japan 2020.

📌 Session Structure

* Introduction to retrieval-based chatbot technology and workshop overview by Max Frenzel (30 min).
* Hands-on session by Asir Saeed (Two 80 mins blocks with a small break in between).
* Review and Closing.

📌 Join Zoom Meeting

📌 Speaker Info:

● Max Frenzel is an AI researcher, writer, and digital creative. He is the R&D Lead at Bespoke Inc. and author of the bestselling book Time Off A Practical Guide to Building Your Rest Ethic and Finding Success Without the Stress. Max has also been interested in the applications of AI and deep learning to creativity, design, and music, and he is a regular public speaker on topics such as AI and creativity. In his time off, Max enjoys good coffee, tries to perfect his bread baking skills, and produces electronic music and performs around Tokyo. You can find him online at

● Asir is a Machine Learning Research Engineer at Bespoke Inc and one of the Community Leads at MLT.

Become a MLT Patron and help us to keep MLT meetups like this inclusive and for free.

Subscribe to our monthly newsletter:


MLT events are for community building and knowledge sharing. We politely ask that company representatives, recruiters, and consultants looking to hire or sell their services do not participate in MLT activities or approach members in any form.

MLT promotes an inclusive environment that values integrity, openness, and respect.