<commit_before>#!/bin/bash
#
# Download OpenFace models.

cd "$(dirname "$0")"

trap '' 2

die() {
  echo >&2 $*
  exit 1
}

checkCmd() {
  command -v $1 >/dev/null 2>&1 \
    || die "'$1' command not found. Please install from your package manager."
}

checkCmd wget
checkCmd bunzip2
checkCmd unxz
<commit_msg>Don't ignore sigint<commit_after>#!/bin/bash
#
# Download OpenFace models.

cd "$(dirname "$0")"

die() {
  echo >&2 $*
  exit 1
}

checkCmd() {
  command -v $1 >/dev/null 2>&1 \
    || die "'$1' command not found. Please install from your package manager."
}

checkCmd wget
checkCmd bunzip2
checkCmd unxz

{'fraction_non_alphanumeric': 0.15721231766612642, 'fraction_numerical': 0.027552674230145867, 'mean_word_length': 3.382978723404255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4471448', 'n_tokens_mistral': 249, 'n_tokens_neox': 232, 'n_words': 74}