# Sentiment Analysis

![sentiment_analysis.png](jdrh55t59fuZ)

This flow zone focuses on recovering a sentiment based on the customer review text.

It starts with a dataset containing details about customer reviews, including product information, review text, date, score, and customer details. The flow then generates a unique review ID for each review by combining the product ID, customer ID, and a random number.

The final output is a dataset with all the initial information plus the newly created review ID. Additionally, a sentiment score is included using an NLP model for sentiment analysis for each review from the review text.

In the provided template, the model used is [distilbert-base-multilingual-cased-sentiments-student](https://huggingface.co/lxyuan/distilbert-base-multilingual-cased-sentiments-student)