-
Notifications
You must be signed in to change notification settings - Fork 26
/
install.sh
25 lines (19 loc) · 684 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
sudo apt-get install -y git bzip2 unzip build-essential tmux
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -P /tmp
bash /tmp/Miniconda3-latest-Linux-x86_64.sh
source $HOME/.bashrc
conda create -n despi python=3.6
conda activate despi
conda install faiss-cpu numpy==1.16.1 -c pytorch
conda install -c cyclus java-jdk
# DrQA stuff
git clone https:/facebookresearch/DrQA.git
cd DrQA; pip install -r requirements.txt; python setup.py develop
./install_corenlp.sh
export CLASSPATH=$CLASSPATH:data/corenlp/*
cd ..
pip install -r requirements.txt
pip install -r open/requirements.txt
# make 1B_serve
# cd open; make 1B_demo