def METHOD_NAME(self, epoch_length: int = 100):
    data_size = epoch_length * self.batch_size * self.block_size
    # Make sure the data remained is at least as big as data_size
    while len(self.data_remained) < (data_size):
        self.data_remained += self.construct_text_corpus(min_data_len=data_size)
    self.data = self.data_remained[:data_size]
    del self.data_remained[:data_size]