You should either save the tokenizer in a separate file after you initialized it the first time and called .adapt() or include the tokenizer as a layer in your model to ensure that the data is tokenized in exactly the same way every time you use the model.