<commit_before>#!/bin/bash
set -e # exit with nonzero exit code if anything fails

ROOT_DIR=$TRAVIS_BUILD_DIR
if [[ -z "$ROOT_DIR" ]]; then
    echo "ROOT_DIR not set!"
    exit 1
fi;
    
# For mocking caffe
mkdir -p $ROOT_DIR/caffe
mv $ROOT_DIR/caffe_mock.py $ROOT_DIR/caffe/__init__.py

mkdir -$ROOT_DIR/caffe/proto/
protoc -I=$ROOT_DIR/ --python_out=$ROOT_DIR/caffe/proto/ $ROOT_DIR/caffe.proto
touch $ROOT_DIR/caffe/proto/__init__.py<commit_msg>fix typo in setup script<commit_after>#!/bin/bash
set -e # exit with nonzero exit code if anything fails

ROOT_DIR=$TRAVIS_BUILD_DIR
if [[ -z "$ROOT_DIR" ]]; then
    echo "ROOT_DIR not set!"
    exit 1
fi;
    
# For mocking caffe
mkdir -p $ROOT_DIR/caffe
mv $ROOT_DIR/caffe_mock.py $ROOT_DIR/caffe/__init__.py

mkdir $ROOT_DIR/caffe/proto/
protoc -I=$ROOT_DIR/ --python_out=$ROOT_DIR/caffe/proto/ $ROOT_DIR/caffe.proto
touch $ROOT_DIR/caffe/proto/__init__.py
{'fraction_non_alphanumeric': 0.12857142857142856, 'fraction_numerical': 0.002197802197802198, 'mean_word_length': 4.176136363636363, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5874908', 'n_tokens_mistral': 371, 'n_tokens_neox': 354, 'n_words': 83}