<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_defaults(self):
 """ Add each model entry with it's default """

        for key, value in self.spec.items():
            setattr(self, key.upper(), value.get("default", None))