Transformers to Create Chatbots

Intent Classification you own this product

This project is part of the liveProject series Using Hugging Face Transformers to Create Chatbots
intermediate Python • basics of Jupyter Notebook • basics of NLP
skills learned
use a transformer to create a classification tool • build a chatbot using Hugging Face library to classify user messages • use transformers to create a classifier to identify toxic messages and integrate this classification into a chatbot
Giuliano Bertoti
1 week · 6-8 hours per week · BEGINNER

placing your order...

Don't refresh or navigate away from the page.
liveProject This project is part of the liveProject series Using Hugging Face Transformers to Create Chatbots liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. Solve practical problems, write working code, and analyze real data—with liveProject, you learn by doing. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products. $19.99 $29.99 you save $10 (33%)
Intent Classification (liveProject) added to cart
continue shopping
go to cart

Look inside
In this liveProject you’ll develop a chatbot that can classify a user’s intent, using the Hugging Face NLP library. Your challenges will include building the task with the Bart transformer, and building a specialized task for detecting toxic language. You’ll then develop a Telegram bot and integrate it with your toxicity classification task.
This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Giuliano Bertoti
Giuliano Bertoti holds a Master of Science in Electronic Engineering and Computing from the Aeronautics Institute of Technology in Brazil. He has been a professor of Software Engineering and other computer science disciplines for 14 years and has developed several projects in the field of Artificial Intelligence.


This liveProject is for intermediate Python programmers with some experience in natural language processing. To begin this liveProject you will need to be familiar with:

  • Intermediate Python
  • Basics of Jupyter Notebook
  • Basics of natural language processing

you will learn

In this liveProject, you’ll learn to use the powerful Hugging Face Transformers library to create chatbots using the Intent Classification natural language processing (NLP) task.

  • Build an Intent Classification NLP pipeline with BART Transformer
  • Create a specific classifier for toxic language
  • Create a chatbot and integrate It with the NLP Intent Classification task
  • Create a chatbot and integrate it with a Toxicity Classification


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.