Yuerong2 / emotion-from-tweet

Source code for the article "From Sentiment Analysis to Emotion Recognition: A NLP story"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emotion From Tweet

This repository contains the source code for the article From Sentiment Analysis to Emotion Recognition: A NLP story

Setup

  1. Install the dependencies (use requirements.gpu.txt instead of requirements.txt when using GPU processing):

    pip install -r requirements.txt
  2. Create a .env file:

    cp .env.sample .env
  3. Set the environment variables inside the created .env file

Running

  1. Start the jupyter notebook:

    jupyter notebook
  2. Go to the notebooks folder

  3. Open and run the notebook you want

Note: Check the releases if you want the training step output files

About

Source code for the article "From Sentiment Analysis to Emotion Recognition: A NLP story"


Languages

Language:Jupyter Notebook 99.5%Language:Python 0.5%