Skip to content

F-V-Younesi/Arabic-Emotion-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arabic-Emotion-Recognition

Emotion Recognition Repo for Iraqi Tweets.

Project tree

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".

For Inference:

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

About

Emotion Recognition Repo for Arabic Texts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published