Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated material in NLP course #113

Open
JaynouOliver opened this issue Jan 23, 2024 · 0 comments
Open

Deprecated material in NLP course #113

JaynouOliver opened this issue Jan 23, 2024 · 0 comments

Comments

@JaynouOliver
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant