code: def build_fred(self):
          '''Build a flat recurrent encoder-decoder dialogue model'''
  
          encoder = Encoder(data=self.data, config=self.model_config)
          decoder = Decoder(data=self.data, config=self.model_config, encoder=encoder)
  
          return EncoderDecoder(config=self.model_config, encoder=encoder, decoder=decoderf build_fred(self):
          '''Build a flat recurrent encoder-decoder dialogue model'''
  
          encoder = Encoder(data=self.data, config=self.model_config)
          decoder = Decoder(data=self.data, config=self.model_config, encoder=encoder)
  
          return EncoderDecoder(config=self.model_config, encoder=encoder, decoder=decoder)
docs: Build a flat recurrent encoder-decoder dialogue model