<commit_before>#!/usr/bin/env bash

set -e

cd /ssd-c/qanta/qb

/home/ubuntu/anaconda3/bin/python setup.py download

mkdir -p data/external
/home/ubuntu/anaconda3/bin/aws s3 cp s3://pinafore/public/wikipedia.tar.gz /tmp/wikipedia.tar.gz
tar -xvzf /tmp/wikipedia.tar.gz -C data/external
touch data/external/wikipedia_SUCESS
rm /tmp/wikipedia.tar.gz

/home/ubuntu/anaconda3/bin/aws s3 cp s3://pinafore/public/Wikifier2013.zip /tmp/Wikifier2013.zip
unzip /tmp/Wikifier2013.zip -d data/external
rm /tmp/Wikifier2013.zip

mkdir -p data/external/deep
/home/ubuntu/anaconda3/bin/aws s3 cp s3://pinafore/public/glove.840B.300d.txt data/external/deep/glove.840B.300d.txt<commit_msg>Update download script to use us-west-2 bucket<commit_after>#!/usr/bin/env bash

set -e

cd /ssd-c/qanta/qb

/home/ubuntu/anaconda3/bin/python setup.py download

mkdir -p data/external
/home/ubuntu/anaconda3/bin/aws s3 cp s3://pinafore-us-west-2/public/wikipedia.tar.gz /tmp/wikipedia.tar.gz
tar -xvzf /tmp/wikipedia.tar.gz -C data/external
touch data/external/wikipedia_SUCESS
rm /tmp/wikipedia.tar.gz

/home/ubuntu/anaconda3/bin/aws s3 cp s3://pinafore-us-west-2/public/Wikifier2013.zip /tmp/Wikifier2013.zip
unzip /tmp/Wikifier2013.zip -d data/external
rm /tmp/Wikifier2013.zip

mkdir -p data/external/deep
/home/ubuntu/anaconda3/bin/aws s3 cp s3://pinafore-us-west-2/public/glove.840B.300d.txt data/external/deep/glove.840B.300d.txt
{'fraction_non_alphanumeric': 0.14123491838183108, 'fraction_numerical': 0.05677785663591199, 'mean_word_length': 3.8620689655172415, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5186903', 'n_tokens_mistral': 639, 'n_tokens_neox': 576, 'n_words': 95}