Thank you for the reply. It now returns error "
TypeError                                 Traceback (most recent call last)
 in ()
----> 1 model = T5FineTuner(args)
 in init(self, hparams)
3     super(T5FineTuner, self).init()
4     # self.hparams = hparams
----> 5     self.hparams.update(hparams)
6
7     self.model = T5ForConditionalGeneration.from_pretrained(hparams.model_name_or_path)
TypeError: ‘Namespace’ object is not iterable".
Is it changing “self.hparams = hparams” into “self.hparams.update(hparams)”?