I've been wanting to give tensorflow a shot for designing a chatbot. However, guides i've seen feel like they were all using an older version of Tensorflow because the one i'm using is the most recent one (2.16.1), which leads to some imports not being available in this version.
Badically, i'm using this place as a short guide. They used the following imports:
from tensorflow.keras.preprocessing.text import Tokenizer
from tensorflow.keras.preprocessing.sequence import pad_sequences
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Embedding, LSTM, Dense
The issue is I can't really do that. Even when I do tensorflow.python.keras, packages like preprocessing aren't available. What version of Tensorflow has all of those?