-
Notifications
You must be signed in to change notification settings - Fork 1
/
requirements.sh
23 lines (23 loc) · 1.12 KB
/
requirements.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
mkdir -p model_folder
mkdir -p data
cd model_folder
wget https://storage.googleapis.com/bert_models/2018_10_18/uncased_L-12_H-768_A-12.zip
wget https://storage.googleapis.com/bert_models/2018_10_18/cased_L-12_H-768_A-12.zip
#wget https://raw.githubusercontent.com/google-research/bert/master/modeling.py
#wget https://raw.githubusercontent.com/google-research/bert/master/optimization.py
#wget https://raw.githubusercontent.com/google-research/bert/master/run_classifier.py
#wget https://raw.githubusercontent.com/google-research/bert/master/tokenization.py
sudo apt-get intall python3-dev
sudo apt-get install build-essential
sudo apt-get install ipython3
sudo apt-get install python3-pip
python3 -m pip install pandas
python3 -m pip install nltk
python3 -m pip install tensorflow-gpu==1.11
python3 -m pip install keras==1.0.7
python3 -m pip install sklearn
python3 -m pip install spacy
python3 -m pip uninstall numpy
python3 -m pip install numpy==1.16.4 # To avod tensorflow warning message
python3 -m pip install configparser
echo 'export PYTHONPATH="${PYTHONPATH}:/home/oblivion/personality-detection-with-BERT-RoBERT/utils"' >> ~/.bashrc