Skip to content

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

Notifications You must be signed in to change notification settings

rmohashi/emotion-from-tweet

Repository files navigation

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