We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#prepare a tokenizer for reviews on training data y_tokenizer = Tokenizer(num_words=tot_cnt-cnt) y_tokenizer.fit_on_texts(list(y_tr))
#convert text sequences into integer sequences y_tr_seq = y_tokenizer.texts_to_sequences(y_tr) y_val_seq = y_tokenizer.texts_to_sequences(y_val)
#padding zero upto maximum length y_tr = pad_sequences(y_tr_seq, maxlen=max_summary_len, padding='post') y_val = pad_sequences(y_val_seq, maxlen=max_summary_len, padding='post')
#size of vocabulary y_voc = y_tokenizer.num_words +1
I am getting this error at line 3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
#prepare a tokenizer for reviews on training data
y_tokenizer = Tokenizer(num_words=tot_cnt-cnt)
y_tokenizer.fit_on_texts(list(y_tr))
#convert text sequences into integer sequences
y_tr_seq = y_tokenizer.texts_to_sequences(y_tr)
y_val_seq = y_tokenizer.texts_to_sequences(y_val)
#padding zero upto maximum length
y_tr = pad_sequences(y_tr_seq, maxlen=max_summary_len, padding='post')
y_val = pad_sequences(y_val_seq, maxlen=max_summary_len, padding='post')
#size of vocabulary
y_voc = y_tokenizer.num_words +1
I am getting this error at line 3
The text was updated successfully, but these errors were encountered: