The images show that you have different text_vectorization_input
, text_vectorization
etc. (don’t forget to set name=
for each layer).
Make sure you understand what Input is, especially the first parameter.
Since we use a text_vectorizer
as the first layer in our sequential, the input shape should be (1). In other words, the input is the entire sentence.
Also, don’t forget to set the correct dtype=
argument.
Cheers