<commit_before>#!/bin/bash

cd $(dirname ${BASH_SOURCE[0]})/../share/caffe
if [ "$1" == "init" ]; then
        echo "Creating dataset"
        mkdir -p /tmp/caffe/examples/cifar10/
        bash ./data/cifar10/get_cifar10.sh
        bash ./examples/cifar10/create_cifar10.sh
        cp ./cifar10_quick_iter_5000.caffemodel.h5 /tmp/caffe
        exit 0<commit_msg>Path "/tmp/caffe" is now accessible when make install run as root<commit_after>#!/bin/bash

cd $(dirname ${BASH_SOURCE[0]})/../share/caffe
if [ "$1" == "init" ]; then
        echo "Creating dataset"
        mkdir -p /tmp/caffe/examples/cifar10/
        bash ./data/cifar10/get_cifar10.sh
        bash ./examples/cifar10/create_cifar10.sh
        cp ./cifar10_quick_iter_5000.caffemodel.h5 /tmp/caffe
        # make sure that /tmp/caffe folder is accessible for other users (capital X for search only on directories)
        chmod o+rX /tmp/caffe
        exit 0
{'fraction_non_alphanumeric': 0.1301518438177874, 'fraction_numerical': 0.04338394793926247, 'mean_word_length': 2.55, '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': '6532600', 'n_tokens_mistral': 373, 'n_tokens_neox': 318, 'n_words': 75}