<commit_before>#!/bin/bash -x
set -euo pipefail
IFS=$'\n\t'

echo "Cleaning up..."

# delete old containers that are stopped but not removed
docker rm $(docker ps -a -q)

# delete old images that are taking up space.
timeout 15 docker rmi $(docker images | grep "^<none>" | awk "{print $3}")

<commit_msg>added additional cleanup<commit_after>#!/bin/bash -x
set -euo pipefail
IFS=$'\n\t'

echo "Cleaning up..."

# delete old containers that are stopped but not removed
docker rm $(docker ps -a -q)

# delete old images that are taking up space.
timeout 45 docker rmi $(docker images | grep "0.1." | awk "{print $3}")
timeout 15 docker rmi $(docker images | grep "^<none>" | awk "{print $3}")


{'fraction_non_alphanumeric': 0.1443001443001443, 'fraction_numerical': 0.015873015873015872, 'mean_word_length': 3.8194444444444446, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2047471', 'n_tokens_mistral': 247, 'n_tokens_neox': 223, 'n_words': 99}