<commit_before>#! /usr/bin/env sh
set -eux

if [ ${CHAINER} = stable ]; then
    CHAINER=5.2.0
elif [ ${CHAINER} = latest ]; then
    CHAINER=6.0.0b2
fi

if [ ${OPTIONAL_MODULES} -gt 0 ]; then
    DOCKER_IMAGE=hakuyume/chainercv:chainer${CHAINER}-devel
else
    DOCKER_IMAGE=hakuyume/chainercv:chainer${CHAINER}-devel-minimal
fi

dd if=/dev/zero of=/swap bs=1G count=24
chmod 600 /swap
mkswap /swap
swapon -p 5 /swap<commit_msg>dd -> fallocate<commit_after>#! /usr/bin/env sh
set -eux

if [ ${CHAINER} = stable ]; then
    CHAINER=5.2.0
elif [ ${CHAINER} = latest ]; then
    CHAINER=6.0.0b2
fi

if [ ${OPTIONAL_MODULES} -gt 0 ]; then
    DOCKER_IMAGE=hakuyume/chainercv:chainer${CHAINER}-devel
else
    DOCKER_IMAGE=hakuyume/chainercv:chainer${CHAINER}-devel-minimal
fi

fallocate -l 24G /swap
chmod 600 /swap
mkswap /swap
swapon -p 5 /swap
{'fraction_non_alphanumeric': 0.14387633769322236, 'fraction_numerical': 0.034482758620689655, 'mean_word_length': 3.839080459770115, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3343112', 'n_tokens_mistral': 383, 'n_tokens_neox': 367, 'n_words': 77}