<commit_before>#!/bin/bash
mkdir -p mnist
cd mnist
wget http://yann.lecun.com/exdb/mnist/{train,t10k}-{images-idx3,labels-idx1}-ubyte.gz<commit_msg>Check existience of MNIST dataset before downloading<commit_after>#!/bin/bash
if [ ! -d mnist ]; then
    mkdir -p mnist
    cd mnist
    wget http://yann.lecun.com/exdb/mnist/{train,t10k}-{images-idx3,labels-idx1}-ubyte.gz
else
    echo "Found already existing MNIST dataset directory. Skipping download."
fi
{'fraction_non_alphanumeric': 0.13785557986870897, 'fraction_numerical': 0.0175054704595186, 'mean_word_length': 4.204545454545454, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6058268', 'n_tokens_mistral': 188, 'n_tokens_neox': 176, 'n_words': 36}