Created
July 11, 2021 16:52
-
-
Save omchaithanyav/c5b648c057208e45e75639bbf4b20115 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text = X_train | |
# text preprocessing | |
Tokenizer = Tokenizer() | |
Tokenizer.fit_on_texts(text) | |
Tokenizer_vocab_size = len(Tokenizer.word_index) + 1 | |
Tokenizer_vocab_size, X_train.shape, y_train.shape |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment