<commit_before>#!/bin/bash

balrog_repo=$(dirname $(dirname $(realpath $0)))

which docker &>/dev/null
if [ "$?" != "0" ]; then
    echo "Docker binary not found, cannot proceed!"
    exit 1
fi

echo "Balrog repo is $balrog_repo"<commit_msg>Adjust docker container creation script to work on Mac out of box.<commit_after>#!/bin/bash

cwd=$(pwd)
cd "`dirname $0`"
balrog_repo=$(dirname $(pwd))
cd "$pwd"
echo $balrog_repo

which docker &>/dev/null
if [ "$?" != "0" ]; then
    echo "Docker binary not found, cannot proceed!"
    exit 1
fi

echo "Balrog repo is $balrog_repo"
{'fraction_non_alphanumeric': 0.15706806282722513, 'fraction_numerical': 0.010471204188481676, 'mean_word_length': 4.364485981308412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1866426', 'n_tokens_mistral': 210, 'n_tokens_neox': 199, 'n_words': 70}