human
Here's a good function header given the following:
I wrote the below code

    def create_sequence_generator(config, **kwargs):
        return PerformanceRnnSequenceGenerator(performance_model.PerformanceRnnModel(config), config.details, steps_per_second=config.steps_per_second, num_velocity_bins=config.num_velocity_bins, note_density_conditioning=(config.density_bin_ranges is not None), pitch_histogram_conditioning=(config.pitch_histogram_window_size is not None), fill_generate_section=False, **kwargs)
    return {key: partial(create_sequence_generator, config) for (key, config) in performance_model.default_configs.items()}

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

def get_generator_map():