-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.sh
executable file
·23 lines (17 loc) · 890 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# This script download data from s3 and puts it into necessary folders
wget https://s3.eu-central-1.amazonaws.com/convai/bot1337-data.tar.gz
tar -zxvf bot1337-data.tar.gz
cp data/model_all_labels.ftz dialog_tracker/data/
cp data/model.t7 question_generation/data/
cp data/textsum_epoch7_14.69_release.t7 opennmt_summarization/models/
cp data/fbchichat_ver2_epoch9.t7 fbnews_chitchat/data/
cp data/glove.6B.100d.txt intent_classifier/data/
cp data/CPU_epoch5_14.62.t7 opennmt_chitchat/data/
# additional data for question answerer
wget https://www.dropbox.com/s/rx7heizq5y8wi2j/factoid_question_answerer_data.tar.gz
tar -zxvf factoid_question_answerer_data.tar.gz
cp -r factoid_question_answerer_data/* factoid_question_answerer
# spellchecker
mkdir spellchecker_model
wget -qO- https://github.com/bakwc/JamSpell-models/raw/master/en.tar.gz | tar xvz -C spellchecker_model