Emotion Recognition Repo for Iraqi Tweets.
As shown above, you must create a directory named "emo_rec" with files and folders with same above names in your working directory. take attention: don't change directory(cd) to "emo_rec".
1-install necessary packages:
!pip install -r requirements.txt
# or in conda: conda install --yes --file requirements.txt
2- download pretrained model from model in "emo_rec" folder
!wget https://huggingface.co/UBC-NLP/MARBERT/resolve/main/MARBERT_pytorch_verison.tar.gz
!tar -xvf MARBERT_pytorch_verison.tar.gz
3- download FineTune model (trained on dataset3-1) and config in "emo_rec" folder: model
4- download label-dict file from label-dict in "emo_rec" folder
5- run emo_rec/app.py