<commit_before>#!/bin/bash
set -e

# setup nvm
mv ../../../.nvmrc nvmrc # Remove for init otherwise nvm init could fail
if [[ "$OSTYPE" == "darwin"* ]]; then
	export NVM_DIR=~/.nvm
	source $(brew --prefix nvm)/nvm.sh
else
	source $NVM_DIR/nvm.sh
fi
mv nvmrc ../../../.nvmrc

# install node
NODE_VERSION=8.9.1
nvm install $NODE_VERSION
nvm use $NODE_VERSION
<commit_msg>Revert "Move .nvmrc before nvm init in CI"<commit_after>#!/bin/bash
set -e

# setup nvm
if [[ "$OSTYPE" == "darwin"* ]]; then
	export NVM_DIR=~/.nvm
	source $(brew --prefix nvm)/nvm.sh
else
	source $NVM_DIR/nvm.sh
fi

# install node
NODE_VERSION=8.9.1
nvm install $NODE_VERSION
nvm use $NODE_VERSION

{'fraction_non_alphanumeric': 0.16143497757847533, 'fraction_numerical': 0.008968609865470852, 'mean_word_length': 3.589041095890411, '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': '2815865', 'n_tokens_mistral': 283, 'n_tokens_neox': 275, 'n_words': 77}