def txt_2_id(self, text):
    ids = np.array([self.vocab[i] for i in self.tokenizer(text)])
    return ids
def txt_2_id(self, text):
    ids = np.array([self.vocab[i] for i in self.tokenizer(text)])
    return ids