<commit_before>#!/bin/sh

NETWORK_LIST="alexnet vgg16 vgg19 inception-bn inception-v3 resnet50 resnet101 resnet152"
GPU=0
BATCH_SIZE_LIST="1 2 4 8 16 32 64 128"
N_EPOCH=20
DLLIB_LIST="caffe caffe2 mxnet pytorch tensorflow"

trap 'echo you hit Ctrl-C/Ctrl-\, now exiting..; pkill -P $$; exit' INT QUIT
for DLLIB in ${DLLIB_LIST}
do
    for NETWORK in ${NETWORK_LIST}
    do
        for BATCH_SIZE in ${BATCH_SIZE_LIST}
        do
            CUDA_VISIBLE_DEVICES=${GPU} python inference_${DLLIB}.py --network ${NETWORK} \
                --batch-size ${BATCH_SIZE} \
                --n-sample 1000 \
                --n-epoch ${N_EPOCH} \
                --gpu 0
        done<commit_msg>change n_epoch from 20 to 10<commit_after>#!/bin/sh

NETWORK_LIST="alexnet vgg16 vgg19 inception-bn inception-v3 resnet50 resnet101 resnet152"
GPU=0
BATCH_SIZE_LIST="1 2 4 8 16 32 64 128"
N_EPOCH=10
DLLIB_LIST="caffe caffe2 mxnet pytorch tensorflow"

trap 'echo you hit Ctrl-C/Ctrl-\, now exiting..; pkill -P $$; exit' INT QUIT
for DLLIB in ${DLLIB_LIST}
do
    for NETWORK in ${NETWORK_LIST}
    do
        for BATCH_SIZE in ${BATCH_SIZE_LIST}
        do
            CUDA_VISIBLE_DEVICES=${GPU} python inference_${DLLIB}.py --network ${NETWORK} \
                --batch-size ${BATCH_SIZE} \
                --n-sample 1000 \
                --n-epoch ${N_EPOCH} \
                --gpu 0
        done
{'fraction_non_alphanumeric': 0.11087113030957524, 'fraction_numerical': 0.05327573794096472, 'mean_word_length': 2.293838862559242, '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': '3963734', 'n_tokens_mistral': 574, 'n_tokens_neox': 494, 'n_words': 134}