<commit_before>import numpy as np

class BabiConfig(object):
    """
    Configuration for bAbI
    """
    def __init__(self, train_story, train_questions, dictionary):
        # init dict with pre-trained vectors, e.g. from fastText
        self.dictionary       = dictionary
        self.batch_size       = 32
        self.nhops            = 3
        self.nepochs          = 50
        self.lrate_decay_step = 25   # reduce learning rate by half every 25 epochs<commit_msg>chg: continue training for 100 epochs<commit_after>import numpy as np

class BabiConfig(object):
    """
    Configuration for bAbI
    """
    def __init__(self, train_story, train_questions, dictionary):
        # init dict with pre-trained vectors, e.g. from fastText
        self.dictionary       = dictionary
        self.batch_size       = 32
        self.nhops            = 3
        self.nepochs          = 100
        self.lrate_decay_step = 25   # reduce learning rate by half every 25 epochs
{'fraction_non_alphanumeric': 0.07048008171603677, 'fraction_numerical': 0.02247191011235955, 'mean_word_length': 2.1012658227848102, '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': '4242924', 'n_tokens_mistral': 296, 'n_tokens_neox': 269, 'n_words': 84}