check for self.config.mem_len instead of self.mem_len in _do_output_past
check for self.config.mem_len instead of self.mem_len in _do_output_past

huggingface/transformers,huggingface/pytorch-transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers