<commit_before>!obj:pylearn2.scripts.train.Train {
    "dataset": !obj:pylearn2.datasets.npy_npz.NpyDataset &dataset {
        "file" : 'garbage.npy' # Should be an N x 300 matrix on disk.
    },
    "model": !obj:pylearn2.autoencoder.DenoisingAutoencoder {
        "nvis" : 300,
        "nhid" : 400,
        "irange" : 0.05,
        "corruptor": !obj:pylearn2.corruption.BinomialCorruptor {
            "corruption_level": 0.5,
        },
        "act_enc": "tanh",
        "act_dec": null,    # Linear activation on the decoder side.
    },
    "algorithm": !obj:pylearn2.training_algorithms.sgd.UnsupervisedExhaustiveSGD {
        "learning_rate" : 1e-3,
        "batch_size" : 10,
        "monitoring_batches" : 5,
        "monitoring_dataset" : *dataset,
        "cost" : !obj:pylearn2.costs.autoencoder.MeanSquaredReconstructionError {},
        "termination_criterion" : !obj:pylearn2.training_algorithms.sgd.EpochCounter {
            "max_epochs": 50,
        },
    },
    "save_path": "garbage.pkl"
}<commit_msg>Give an actual save path in autoencoder_example.<commit_after>!obj:pylearn2.scripts.train.Train {
    "dataset": !obj:pylearn2.datasets.npy_npz.NpyDataset &dataset {
        "file" : 'garbage.npy' # Should be an N x 300 matrix on disk.
    },
    "model": !obj:pylearn2.autoencoder.DenoisingAutoencoder {
        "nvis" : 300,
        "nhid" : 400,
        "irange" : 0.05,
        "corruptor": !obj:pylearn2.corruption.BinomialCorruptor {
            "corruption_level": 0.5,
        },
        "act_enc": "tanh",
        "act_dec": null,    # Linear activation on the decoder side.
    },
    "algorithm": !obj:pylearn2.training_algorithms.sgd.UnsupervisedExhaustiveSGD {
        "learning_rate" : 1e-3,
        "batch_size" : 10,
        "monitoring_batches" : 5,
        "monitoring_dataset" : *dataset,
        "cost" : !obj:pylearn2.costs.autoencoder.MeanSquaredReconstructionError {},
        "termination_criterion" : !obj:pylearn2.training_algorithms.sgd.EpochCounter {
            "max_epochs": 50,
        },
    },
    "save_path": "./garbage.pkl"
}
{'fraction_non_alphanumeric': 0.1366906474820144, 'fraction_numerical': 0.02685851318944844, 'mean_word_length': 2.6596491228070174, 'pattern_counts': {'":': 18, '<': 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': '5386662', 'n_tokens_mistral': 789, 'n_tokens_neox': 740, 'n_words': 116}