Five-Project Series

Using Hugging Face Transformers to Create Chatbots you own this product

prerequisites
intermediate Python • basics of Jupyter Notebook • basics of NLP
skills learned
build chatbots using Hugging Face library • use a transformer to create a classification tool • work with transformers to create NLP tools
Giuliano Bertoti
5 weeks · 6-8 hours per week average · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


In this series of liveProjects, you’ll develop a variety of different chatbots that can naturally perform language tasks. Digital transformations have accelerated, and reliable chatbots are now a great tool for both handling customers and dealing with internal queries. You’ll use the Hugging Face library to implement state-of-the-art natural language processing transformers to create bots that can answer questions, classify intent, and more.

These projects are designed for learning purposes and are not complete, production-ready applications or solutions.

liveProject mentor Noorhan Abbas shares what she likes about the Manning liveProject platform.

here's what's included

Project 1 Question Answering
In this liveProject you’ll develop a chatbot that can answer its user’s questions, using the Hugging Face NLP library. Your challenges will include building the task with DistilBERT transformer, and experimenting with other transformer models to improve your results. Once you’ve built an accurate NLP model, you’ll develop a Telegram bot and integrate it with your Question Answer task.
Project 2 Intent Classification
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.
Project 3 Summarization
In this liveProject you’ll develop a chatbot that can summarize a longer text, using the HuggingFace NLP library. Your challenges will include building the task with the Bart transformer, and experimenting with other transformer models to improve your results. Once you’ve built an accurate NLP model, you’ll explore other community models and integrate your summarization task with a chatbot.
Project 4 Translation
In this liveProject you’ll develop a chatbot that can translate user messages, using the Hugging Face NLP library. Your challenges will include building the task with the T5 transformer, and build a Translation task considering different languages with mBART. You’ll classify the language of users' messages, and integrate your translation task with a chatbot.
Project 5 Named-Entity Recognition
In this liveProject you’ll develop a chatbot that can extract entities from user messages using the Hugging Face NLP library. Entity extraction pulls relevant data from chunks of text. Your challenges will include building a Named Entity Recognition task with the BERT transformer, and fine-tuning it to a medical context. You’ll then integrate your tasks into a chatbot.

book resources

When you start each of the projects in this series, you'll get full access to the following book for 90 days.

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Using Hugging Face Transformers to Create Chatbots project for free

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.

Prerequisites

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 the following:


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

features

Self-paced
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.