oleksiiktitarov commited on
Commit
0cc420e
1 Parent(s): 0cd4483

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -0
README.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Empathy Detection in Text Using NLP and Deep Learning
2
+
3
+ ## Overview
4
+
5
+ This repository contains the implementation of my bachelor's thesis titled "Empathy Detection in Text Using NLP and Deep Learning." The project leverages natural language processing (NLP) techniques and deep learning models to recognize empathy in textual data.
6
+
7
+ ## Table of Contents
8
+
9
+ 1. [Introduction](#introduction)
10
+ 2. [Methods](#methods)
11
+ 3. [Results](#results)
12
+ 4. [Web Application](#web-application)
13
+ 5. [Usage](#usage)
14
+
15
+ ## Introduction
16
+
17
+ Empathy is a fundamental human emotion crucial for social functioning, allowing us to understand and share the feelings of others. This project focuses on detecting empathy in text data using NLP techniques. The goal is to develop models that can accurately classify text based on empathetic expressions.
18
+
19
+ ## Methods
20
+
21
+ The project utilizes pretrained BERT model (BERT-Large) for text classification. The methodology includes:
22
+
23
+ 1. **Dataset Preparation**: Collecting and labeling text data with emotional categories.
24
+ 2. **Model Training**: Fine-tuning BERT model on the labeled dataset.
25
+ 3. **Model Evaluation**: Assessing the performance using metrics such as accuracy and F1 score.
26
+
27
+ ### Model Architecture
28
+
29
+ - **BERT-Large**: 24 layers, 1024 hidden size, 16 attention heads, 340 million parameters.
30
+
31
+ ## Results
32
+
33
+ The trained models achieved the following performance metrics:
34
+ - **Accuracy**: 0.7669
35
+ - **F1 Score**: 0.76
36
+
37
+ These results indicate the effectiveness of using BERT models for empathy detection in text.
38
+
39
+ ## Web Application
40
+
41
+ A web application was developed to allow real-time analysis of empathetic expressions in user-provided text. The application is built using the trained BERT model and provides an interactive interface for users to input text and receive empathy analysis.