<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _generate_configs_from_default(self, overrides=None):
 # type: (Dict[str, int]) -> Dict[str, int] """ Generate configs by inheriting from defaults """

        config = DEFAULT_CONFIG.copy()
        if not overrides:
            overrides = {}
        for k, v in overrides.items():
            config[k] = v
        return config