<commit_before># This script is supposed to be sourced by travis, since it exports environment
# variables.

export ROOT_TRAVIS_DIR="$(pwd)";
export TORCH_ROOT="$HOME/torch";

if [[ ! "$TORCH_ROOT" ]]; then clone https://github.com/torch/distro.git "$TORCH_ROOT" --recursive ; fi

cd "$TORCH_ROOT";
git pull && git submodule update && git submodule foreach git pull origin master;
cp -rf "$TORCH_ROOT" "${TORCH_ROOT}_${TORCH_LUA_VERSION}";
cd "${TORCH_ROOT}_${TORCH_LUA_VERSION}";
./install_torch.sh -b -s;
source "${TORCH_ROOT}_${TORCH_LUA_VERSION}/install/bin/torch-activate";
cd "$ROOT_TRAVIS_DIR";<commit_msg>Fix in .travis.yml<commit_after># This script is supposed to be sourced by travis, since it exports environment
# variables.

export ROOT_TRAVIS_DIR="$(pwd)";
export TORCH_ROOT="$HOME/torch";

if [[ ! "$TORCH_ROOT" ]]; then git clone https://github.com/torch/distro.git "$TORCH_ROOT" --recursive ; fi

cd "$TORCH_ROOT";
git pull && git submodule update && git submodule foreach git pull origin master;
cp -rf "$TORCH_ROOT" "${TORCH_ROOT}_${TORCH_LUA_VERSION}";
cd "${TORCH_ROOT}_${TORCH_LUA_VERSION}";
./install_torch.sh -b -s;
source "${TORCH_ROOT}_${TORCH_LUA_VERSION}/install/bin/torch-activate";
cd "$ROOT_TRAVIS_DIR";
{'fraction_non_alphanumeric': 0.15708502024291499, 'fraction_numerical': 0.0, 'mean_word_length': 6.186046511627907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6409726', 'n_tokens_mistral': 461, 'n_tokens_neox': 442, 'n_words': 110}