#1401·bert

ValueError: A KerasTensor is symbolic: it's a placeholder for a shape an a dtype. It doesn't have any actual numerical value. You cannot convert it to a NumPy array.

Author: accioharshitaCreated Mar 26, 2024Updated Dec 31, 2024

Hey, so I've downloaded the preprocessing & encoder layer of BERT in order to build a simple email classification model. When I'm finally building my model to pass the training data it throws this error. Can someone tell me what's wrong?

Screenshot 2024-03-27 021032 Screenshot 2024-03-27 021007