Practice: Sentiment Analysis

Perform a sentiment analysis task using different prompt engineering techniques.

Scenario: Restaurant review

Sentiment analysis is the process of analyzing text and identifying whether the text is positive, negative, or neutral.

Consider a scenario where several customers visit your restaurant for dinner. After their meal, some of them share their thoughts on the dining experience.

  1. The ambience was cozy and inviting, making it a perfect spot for a date night.

  2. I was disappointed by the portion sizes and felt it was overpriced.

  3. The staff was friendly and attentive, but the food lacked flavor.

  4. The desserts were decadent, and the presentation was exquisite.

  5. The atmosphere was lively, but the wait times for seating were too long.

Now, use the Llama 3 model in the playground below to analyze the sentiment of these reviews.

Get hands-on with 1200+ tech skills courses.