The Conversation Sentiment Analysis Toolkit is a pre-trained machine learning model that has been tuned for sentiment classification of opinionated utterances. Currently, the method supports a vocabulary of 310k tokens in four languages, Greek, English, Italian and Romanian with the prospect to support many more if needed.
The toolkit receives and processes a sequence of spoken terms (i.e., a user’s utterance) up to the length of 150 terms per utterance. It outputs a classification score for each of the three sentiment classes, the positive, the neutral, and the negative class in a form suitable for the ALAMEDA project.
HolC (Agathangelou et al, 2022) is a deep learning model that employs and advances state of the art modules for text and sentiment analysis. It is a feed forward model that consists of three blocks. The first, is a Convolutional network that receives word embeddings and extracts sentence embeddings. The second, is a Bi-directional Long Short Memory network (Bi-LSTM) that receives sentences embeddings and outputs unregularized predictions. Then an attention layer augments, filters and transfers neural features into a single layer perceptron which gathers the unregularized predictions and outputs the final prediction. The described HolC’s architecture is illustrated in Figure 1. HolC provides accurate results outperforming other known architectures of Neural Networks like Convolutional Neural Networks and LSTM networks.
The Conversation Sentiment Analysis Toolkit has been developed following industrial standards. In this sense, the toolkit has been packaged and uploaded to the AI Toolkit as a dockerized container. It requires the following commands to open ports and run the model:
IMPORTANT NOTE
Open port:
sudo ufw allow 5050
Login to container registry using guest account:
docker login gitlab.telecom.ntua.gr:5050 -u alameda_ai_toolkit_registry_guest -p ByeYyNesUxqQGs91FzzW
Pull and run the docker image:
docker run -p 5050:5052 gitlab.telecom.ntua.gr:5050/alameda/alameda-source-code/ai-toolkit/ai-toolkit-registry/csat
Logout from container registry:
docker logout gitlab.telecom.ntua.gr:5050
The dataset that was used for training and fine tuning the Conversation Sentiment Analysis Toolkit included samples from several domains from Amazon’s review data. Below are some samples:
| 1 | My first used of probiotics was to counteract the effects of antibiotics and discovered it has made me more regular. So, I continue to use probiotics and found it helped with my heartburn and eventually took myself off of my prescribed heartburn medication which I had been on for years. With my continued use of probiotics, I could now consume milk products without the aid of lactase tablets which I also used for years.I am enjoying life more now that I am on the Pearls. |
|---|---|
| 2 | The book held my interest, but at times I was frustrated that they kept dwelling on the loss of the twin daughter. Maybe I am a realist, but going on about something that is in the past isn't healthy and just isn't me. |
| 3 | This is the Bible of Mental Health Professionals and students! So if you are from this area, or thinking of studying any of these two careers, you have to get this book! You will be told to get it either way by your professors, and all you need to know about the different types of disorders and diseases can be found in this book |
| 4 | I have used real butter for years. This product is a shabby imitation, at best. It has practically no flavor, didn't taste even close to real butter to me. And if you mix it per instructions, it is extremely watery and has none of the "texture" of real butter. It was so disappointing I wouldn't even give it away to the local food bank. I simply threw it all out. It seemed like a healthy idea, but I'd actually rather use nothing at all as a condiment than to use this product |
| 5 | After years and years of being Kid Flash Wally West is thrust in to the role of being the Scarlet Speedster because of Barry Allen's untimely death. In this story, Wally's greatest dreams and worst fears are put before him. It also has just about every speedster in DC's long history making an appearance a very good Flash tale and a nice point in the series to jump on board and get you a feel for Flash |