- Open a terminal in the desiderate path and download the project folder using the command.
git clone https://github.com/giacoballoccu/DLA-SentimentAnalysis.git
- With the same terminal enter the project folder and install the requirements using this commands.
cd DLA-SentimentAnalysis/
pip3 install -r requirements.txt
- Wait the installing of all requirements
- You are ready to evaluate the models, you can run the evalutation using the command:
python3 LoadAndEvaluate.py
- Open a terminal in the desiderate path and download the project folder using the command.
git clone https://github.com/giacoballoccu/DLA-SentimentAnalysis.git
- With the same terminal enter the project folder and install the requirements using this commands.
cd DLA-SentimentAnalysis
pip3 install -r requirements.txt
- Download and extract the dataset in the project folder DLA-SentimentAnalysis/dataset from here
- You should now have a directory called archive in the dataset folder, pick the file "train.ft.txt.bz2" and move it one level down in the "DLA-SentimentAnalysisDataset" folder.
- You are ready to train, for starting the training and evaluation paste the following command in the terminal you opened in the step 0 (It must be located in the "DLA-SentimentAnalysis" folder).
python3 Train.py