<commit_before>#!/bin/bash

exec 2>&1  # stderr to stdout for logging purposes

cd {{MLDB_DATA_DIR}}
cat <<EOF

MLDB is starting up

EOF

BIN=/opt/bin REMOTE_CREDENTIAL_PROVIDER=http://127.0.0.1:{{CREDENTIALSD_LISTEN_PORT}} exec /sbin/setuser _mldb /opt/bin/mldb_runner --http-listen-port {{MLDB_RUNNER_LISTEN_PORT}} --configuration-path {{MLDB_CONFIGURATION_PATH}} --static-doc-path {{MLDB_STATIC_ASSETS_PATH}}/www/doc/builtin --cache-dir {{MLDB_SSD_CACHE_PATH}} --plugin-directory {{MLDB_GLOBAL_PLUGINS_PATH}} --plugin-directory {{MLDB_LOCAL_PLUGINS_PATH}} {{MLDB_EXTRA_FLAGS}}
<commit_msg>fixing batch mode<commit_after>#!/bin/bash

exec 2>&1  # stderr to stdout for logging purposes

cd {{MLDB_DATA_DIR}}
cat <<EOF

MLDB is starting up

EOF

BIN=/opt/bin REMOTE_CREDENTIAL_PROVIDER=http://127.0.0.1:{{CREDENTIALSD_LISTEN_PORT}} exec /sbin/setuser _mldb /opt/bin/mldb_runner --http-listen-port {{MLDB_RUNNER_LISTEN_PORT}} --configuration-path {{MLDB_CONFIGURATION_PATH}} --static-doc-path {{MLDB_STATIC_ASSETS_PATH}}/www/doc/builtin --cache-dir {{MLDB_SSD_CACHE_PATH}} --plugin-directory {{MLDB_GLOBAL_PLUGINS_PATH}} --plugin-directory {{MLDB_LOCAL_PLUGINS_PATH}} {{MLDB_EXTRA_FLAGS}} $MLDB_RUNNER_ARGS

{'fraction_non_alphanumeric': 0.1451077943615257, 'fraction_numerical': 0.013266998341625208, 'mean_word_length': 6.271084337349397, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '802453', 'n_tokens_mistral': 484, 'n_tokens_neox': 465, 'n_words': 77}