<commit_before>"""Provides interface for constant values."""

# Learning rate for the optimizer.
LR = 0.001
# Damping coefficient for momentum.
DC = 0.9
# The rows, columns, and channels of the input-image.
ROWS = 256
COLS = 256
CHAN = 3
# Color space that the input-image will be converted to.
COLOR_SPACE = 'CIELAB'
# Provides `encoding` argument for `preprocessing.ImagePreprocessor.preprocess_directory`.
# WARNING DANGER HAZARD: ANY CHANGE TO THE LABELS MUST BE ACCOUNTED FOR IN `LABEL_SHAPE` BELOW!
ENCODING = {'cats': [1, 0], 'dogs': [0, 1]}
# Shape of a label as shown above in `encoding`.
LABEL_SHAPE = [1, 2]
# Provides `train_dir` argument for `preprocessing.ImagePreprocessor.preprocess_directory`.
TRAIN_DIR = 'data/train'
# X/Y : X is the name of the directory that will hold saved data about the model.
# Y is the prefix for the .data, .index, and .meta files.
SAVEMODEL_DIR = 'saved/model'
# This directory will hold tensorboard files.
TENSORBOARD_DIR = 'tensorboard'<commit_msg>This can also be used for RMSProp<commit_after>"""Provides interface for constant values."""

# Learning rate for the optimizer.
LR = 0.001
# Damping coefficient for momentum, or decay rate for rmsprop.
DC = 0.9
# The rows, columns, and channels of the input-image.
ROWS = 256
COLS = 256
CHAN = 3
# Color space that the input-image will be converted to.
COLOR_SPACE = 'CIELAB'
# Provides `encoding` argument for `preprocessing.ImagePreprocessor.preprocess_directory`.
# WARNING DANGER HAZARD: ANY CHANGE TO THE LABELS MUST BE ACCOUNTED FOR IN `LABEL_SHAPE` BELOW!
ENCODING = {'cats': [1, 0], 'dogs': [0, 1]}
# Shape of a label as shown above in `encoding`.
LABEL_SHAPE = [1, 2]
# Provides `train_dir` argument for `preprocessing.ImagePreprocessor.preprocess_directory`.
TRAIN_DIR = 'data/train'
# X/Y : X is the name of the directory that will hold saved data about the model.
# Y is the prefix for the .data, .index, and .meta files.
SAVEMODEL_DIR = 'saved/model'
# This directory will hold tensorboard files.
TENSORBOARD_DIR = 'tensorboard'
{'fraction_non_alphanumeric': 0.09965635738831616, 'fraction_numerical': 0.018654884634266077, 'mean_word_length': 4.661111111111111, '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': '1826226', 'n_tokens_mistral': 689, 'n_tokens_neox': 651, 'n_words': 262}