In this repository I include parts of my work for my Master's thesis with the title "Text-based empathy detection on social media"
My thesis can be divided into two parts:
- Create a transformers based system able to predict the Empathetic Concern and Personal Distress scores of users' comments
- Predict with the already created model the EC and PD scores of users comments on Twitter and Reddit
For the creation of the models I used the dataset created by Buechel: https://github.com/wwbp/empathic_reactions
The files experiment.py and helper.py were used to apply different Transformer models on this dataset. I developed these models using PyTorch and their implementations from HuggingFace.
In addition there exist python notebooks for statistical analysis