<commit_before>#!/usr/bin/env sh

python src/launcher.py \
--phase=train \
--data-path=gwdb/word_labels_train_clean.txt \
--data-base-dir=gwdb \
--model-dir=model_demo \
--log-path=log_gwdb_words.txt \
--load-model 
<commit_msg>new changes to run code<commit_after>#!/usr/bin/env sh

# Words
python3 src/launcher.py \
--phase=train \
--data-path=gwdb/word_labels_train.txt \
--data-base-dir=gwdb \
--model-dir=model_gwdb \
--log-path=log_gwdb_words_train.txt \
--no-load-model \
--batch-size=8 \
--gpu-id=0 \
--use-gru

# Lines - use model weights from words
python3 src/launcher.py \
--phase=train \
--data-path=gwdb/transcription_train.txt \
--data-base-dir=gwdb \
--model-dir=model_gwdb \
--log-path=log_gwdb_lines.txt \
--batch-size=8 \
--gpu-id=0 \
--use-gru
{'fraction_non_alphanumeric': 0.1913499344692005, 'fraction_numerical': 0.007863695937090432, 'mean_word_length': 3.0423280423280423, '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': '2430066', 'n_tokens_mistral': 338, 'n_tokens_neox': 330, 'n_words': 44}