<commit_before>#!/bin/bash -e

TRAIN="data/geoquery/all_folds.ccg"
NP_LIST="data/geoquery/np_list.ccg"
TEST="data/geoquery/test.ccg"

EXPERIMENT_NAME="71"
OUT_DIR="experiments/geoquery/output/$EXPERIMENT_NAME/"
MODEL_OUT="experiments/geoquery/output/$EXPERIMENT_NAME/parser.ser"
LOG=$OUT_DIR/train_log.txt

mkdir -p $OUT_DIR

sbt "run-main org.allenai.pnp.semparse.SemanticParserCli --trainingData $TRAIN --entityData $NP_LIST --testData $TEST --modelOut $MODEL_OUT" 
<commit_msg>fixing train script<commit_after>#!/bin/bash -e

TRAIN="data/geoquery/all_folds.ccg"
NP_LIST="data/geoquery/np_list.ccg"
TEST="data/geoquery/test.ccg"

EXPERIMENT_NAME="71"
OUT_DIR="experiments/geoquery/output/$EXPERIMENT_NAME/"
MODEL_OUT="experiments/geoquery/output/$EXPERIMENT_NAME/parser.ser"
LOG=$OUT_DIR/train_log.txt

mkdir -p $OUT_DIR

sbt "run-main org.allenai.pnp.semparse.SemanticParserCli --trainingData $TRAIN --entityData $NP_LIST --testData $TEST --modelOut $MODEL_OUT" > $LOG

{'fraction_non_alphanumeric': 0.14814814814814814, 'fraction_numerical': 0.00411522633744856, 'mean_word_length': 6.2611940298507465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6020491', 'n_tokens_mistral': 400, 'n_tokens_neox': 391, 'n_words': 49}