<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_params_from_file(self, fname: str, allow_missing_params: bool = False):
 """ Loads parameters from a file and sets the parameters of the underlying module and this model instance. :param fname: File name to load parameters from. :param allow_missing_params: If set, the given parameters are allowed to be a subset of the Module parameters. """

        super().load_params_from_file(fname)  # sets self.params & self.aux_params
        self.module.set_params(arg_params=self.params,
                               aux_params=self.aux_params,
                               allow_missing=allow_missing_params)