<commit_before>#!/bin/bash

# Usage:
# Go into cmd loop: sudo sh eosc.sh
# Run single cmd:  sudo sh eosc.sh <eosc paramers>

PREFIX="docker exec docker_eos_1 eosc"
if [ -z $1 ] ; then
  while :
  do
    read  -p "eosc " cmd
    $PREFIX $cmd
  done
else
  $PREFIX $@
fi<commit_msg>Interactive input+history to docker conv script<commit_after>#!/bin/bash

# Usage:
# Go into cmd loop: sudo ./eosc.sh
# Run single cmd:  sudo ./eosc.sh <eosc paramers>

PREFIX="docker exec docker_eos_1 eosc"
if [ -z $1 ] ; then
  while :
  do
    read -e -p "eosc " cmd
    history -s "$cmd"
    $PREFIX $cmd
  done
else
  $PREFIX $@
fi
{'fraction_non_alphanumeric': 0.1266233766233766, 'fraction_numerical': 0.006493506493506494, 'mean_word_length': 2.880503144654088, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1146084', 'n_tokens_mistral': 257, 'n_tokens_neox': 239, 'n_words': 80}