1. 学ぶ
  2. /
  3. コース
  4. /
  5. Natural Language Processing (NLP) in Python

Connected

演習

Analyzing the sentiment of a review

Your team is building a tool to monitor customer sentiment in product reviews. As a first step, you're testing the sentiment of individual reviews using a pre-trained pipeline.

指示

100 XP
  • Initialize a pipeline for sentiment-analysis with the "distilbert-base-uncased-finetuned-sst-2-english" model.
  • Use the pipeline to classify the sentiment of review_text.