Can anybody know?
- I could not split between training and validation. It all goes to training
after this
# Split the sentences and labels into train/validation splits
train_sentences = sentences[0:training_size]
train_labels = labels[0:training_size]
I got this
There are 2225 sentences for training.
There are 2225 labels for training.
There are 0 sentences for validation.
There are 0 labels for validation.
- What would be this sentence? I can’t find it anywhere.
Convert sequences to a numpy array. Don’t forget to substact 1 from every entry in the array!
label_seq_np = np
Thanks, Anthony