FS-TFP/federatedscope/nlp/dataset/preprocess/get_embs.sh

11 lines
264 B
Bash

#!/usr/bin/env bash
if [ ! -f 'glove.6B.300d.txt' ]; then
wget http://nlp.stanford.edu/data/glove.6B.zip
unzip glove.6B.zip
rm glove.6B.50d.txt glove.6B.100d.txt glove.6B.200d.txt glove.6B.zip
fi
if [ ! -f embs.json ]; then
python3 get_embs.py
fi