1. Learn
  2. /
  3. Courses
  4. /
  5. Natural Language Processing (NLP) in Python

Connected

Exercise

Answering questions from product descriptions

An online retailer wants to improve its customer support by automatically answering common questions about products using their descriptions. Your task is to use a Hugging Face pipeline to extract precise answers from a product description based on customer queries.

Instructions

100 XP
  • Create a qa_pipeline using the "distilbert/distilbert-base-cased-distilled-squad" model for question answering.
  • Use the provided context (product description) and question to get an answer.