Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cooldragon12/model-multitask-learning

Implemented multitask learning in classifying the toxicity and emotion using Bi-LSTM with BERT
https://github.com/cooldragon12/model-multitask-learning

classification machine-learning multitask-learning nlp nlp-machine-learning

Last synced: 29 days ago
JSON representation

Implemented multitask learning in classifying the toxicity and emotion using Bi-LSTM with BERT

Awesome Lists containing this project

README

        

# Multi-Task Learning for Emotion and Toxicity Classification in Valorant Chat using Bi-LSTM with Bert Embeddings

## Introduction
This repository contains the code for the training of the paper "ChattyTicket: Multi-Task Learning for Emotion and Toxicity Classification in Valorant Chat using Bi-LSTM" by:
* [Johndel Encabo](www.linkedin.com/in/johndel-encabo)
* Maria Cassandra Vitug
* Mark Kenneth Satsatin

## Requirements
* Python 3.9
* Tensorflow 2.5.0
* Keras 2.5.0
* Pandas 1.2.4
* Numpy 1.19.5
* Scikit-learn 0.24.2
* Matplotlib 3.4.2

Run the following command to install the required packages:
```
pip install -r requirements.txt
```

## Execution
To run the training with the default parameters, execute the following command:
```
python main.py -t | --train
```
This use the `default.ini` file as the configuration file. To use a different configuration file, use the `custom` flag:
```
python main.py custom -flags of the hyperparameter
```
To see the list of available flags, use the `--help` flag:
```
python main.py --help
```
To run the evaluation, use the `--eval` flag:
```
python main.py --eval | -e
```
For grid search, use the `--grid-search` flag:
```
python main.py --grid-search | -gs
```