-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·24 lines (18 loc) · 963 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
24
#!/usr/bin/env bash
pip install -r requirements.txt
pip install -e .
mkdir -p predefined
mkdir -p predefined/embeddings
mkdir -p predefined/zsl_kg_lite
cd predefined
wget -nc https://storage.googleapis.com/taglets-public/scads.spring2021.sqlite3
wget -nc https://storage.googleapis.com/taglets-public/scads.imagenet22k.sqlite3
wget -nc https://storage.googleapis.com/bit_models/BiT-M-R50x1.npz
cd embeddings
wget -nc https://storage.googleapis.com/taglets-public/embeddings/glove.840B.300d.txt.gz
gunzip --force < glove.840B.300d.txt.gz > glove.840B.300d.txt
wget -nc https://storage.googleapis.com/taglets-public/embeddings/numberbatch-en19.08.txt.gz
wget -nc https://storage.googleapis.com/taglets-public/embeddings/spring2021_processed_numberbatch.h5
wget -nc https://storage.googleapis.com/taglets-public/embeddings/imagenet22k_processed_numberbatch.h5
cd ../zsl_kg_lite
wget -nc https://storage.googleapis.com/taglets-public/zsl_kg_lite/transformer.pt