I keep getting this wrong output, any solution for this? I already tried my best but it’s still wrong output
kindly provide details about which exersise you got this incorrect output
The fit_vectorizer part. I already wrote the code exactly like the instruction. I already use VOCAB_SIZE and MAX_LENGTH, and also input standardize_func. I keep getting this 7 word, when the expected is 1000
hi @icreative
Your codes are correct for fit_vectorizer, so the next place to check your codes would be train_val_dataset codes where train_dataset is recalled and used in the fit_vectorizer grade cells.
So make sure first you computed the correct number of sentences (train_size) which you will use in training(the first code) where you int to the len function to the data and multiple to TRAINING SPLIT
Then slice text and labels based on their position in the column
Then split the sentences and labels into train and validation splits into train_texts, validation_texts, train_labels and validation_labels using train_size
then create the train_dataset and validation dataset using tf.data.Dataset.from_tensor_slices to the previously recalled codes of train_validation splits.
Regards
DP
Thank you so much, there was something wrong with my code in train_val_dataset, I wrote the wrong number for column. Thank you so much for helping me