<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _load_architectures(self, family):
 """Load in all of the architectural overlays for this family. An architecture adds configuration information that is used to build a common set of source code for a particular hardware and situation. They are stackable so that you can specify a chip and a configuration for that chip, for example. """


        if "architectures" not in family:
            raise InternalError("required architectures key not in build_settings.json for desired family")

        for key, val in family['architectures'].items():
            if not isinstance(val, dict):
                raise InternalError("All entries under chip_settings must be dictionaries")

            self.archs[key] = deepcopy(val)