<commit_before>import yaml

from collections import namedtuple
from random import choice, randint, uniform

from .common_utils import parse_timedelta


Config = namedtuple('Config', '''
    dataset_name
    epochs
    time_limit
    batch_size
    reduce_lr_factor
    lemmatize_caption
    rare_words_handling
    words_min_occur
    learning_rate
    vocab_size
    embedding_size
    lstm_output_size
    dropout_rate
    bidirectional_rnn
''')


class ConfigBuilderBase(object):
    def build_config(self):<commit_msg>Group Config aesthetically by adding separating lines<commit_after>import yaml

from collections import namedtuple
from random import choice, randint, uniform

from .common_utils import parse_timedelta


Config = namedtuple('Config', '''
    dataset_name
    epochs
    time_limit
    batch_size
    reduce_lr_factor

    lemmatize_caption
    rare_words_handling
    words_min_occur

    learning_rate
    vocab_size
    embedding_size
    lstm_output_size
    dropout_rate

    bidirectional_rnn
''')


class ConfigBuilderBase(object):
    def build_config(self):
{'fraction_non_alphanumeric': 0.04415823367065318, 'fraction_numerical': 0.0, 'mean_word_length': 3.9454545454545453, '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': '341832', 'n_tokens_mistral': 339, 'n_tokens_neox': 326, 'n_words': 77}