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

        return EncoderDecoder(config=self.model_config, encoder=encoder, decoder=decoder, num_gpus=self.num_gpus)
        return EncoderDecoder(config=self.model_config, encoder=encoder, decoder=decoder)
Build a flat recurrent encoder-decoder dialogue model