<commit_before>#!/bin/sh
set -eu

# FIND LOSS INCREASES SH

# Does val_loss and val_loss delta analysis across the run

# Input:  Provide an experiment directory
# Output: Information printed to screen (pipe this into less)

THIS=$( readlink --canonicalize $( dirname $0 ) )

SUPERVISOR=$( readlink --canonicalize $THIS/../../.. )

export PYTHONPATH+=:$SUPERVISOR/workflows/common/python

set -x
python3 -u $THIS/find-loss-increases.py $*<commit_msg>Need Bash for this script<commit_after>#!/bin/bash
set -eu

# FIND LOSS INCREASES SH

# Does val_loss and val_loss delta analysis across the run

# Input:  Provide an experiment directory
# Output: Information printed to screen (pipe this into less)

THIS=$( readlink --canonicalize $( dirname $0 ) )

SUPERVISOR=$( readlink --canonicalize $THIS/../../.. )

export PYTHONPATH+=:$SUPERVISOR/workflows/common/python

set -x
python3 -u $THIS/find-loss-increases.py $*
{'fraction_non_alphanumeric': 0.12691466083150985, 'fraction_numerical': 0.00437636761487965, 'mean_word_length': 4.111731843575419, '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': '974931', 'n_tokens_mistral': 321, 'n_tokens_neox': 300, 'n_words': 96}