tensorflow-1-public icon indicating copy to clipboard operation
tensorflow-1-public copied to clipboard

Deprecated material in NLP course

Open JaynouOliver opened this issue 2 years ago • 0 comments

I noticed that tf.keras.preprocessing.text.Tokenizer does not operate on tensors and is not recommended for new code. So shouldn't we update that in the NLP course and use tf.keras.layers.TextVectorization instead? image

https://github.com/keras-team/keras/blob/v2.15.0/keras/preprocessing/text.py#L329-L343 https://www.tensorflow.org/api_docs/python/tf/keras/layers/TextVectorization

JaynouOliver avatar Jan 23 '24 16:01 JaynouOliver