human
I wrote the below code

    def create_sequence_generator(config, **kwargs):
        return MelodyRnnSequenceGenerator(melody_rnn_model.MelodyRnnModel(config), config.details, steps_per_quarter=config.steps_per_quarter, **kwargs)
    return {key: partial(create_sequence_generator, config) for (key, config) in melody_rnn_model.default_configs.items()}

What's a good function header?
assistant
#Here's a good function header.

def get_generator_map():