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

Connected

Exercise

Translating customer reviews to French

A global e-commerce company is analyzing customer feedback from its English-speaking users. To support its French customer support team, the company needs to translate these reviews into French. As part of the NLP pipeline, your role is to automate the translation of reviews using the Hugging Face pipeline.

Instructions

100 XP
  • Create a translator pipeline using the "Helsinki-NLP/opus-mt-en-fr" model.
  • Translate the provided review from English to French.