Hello Aditya. Congratulations on passing the exam. I have a question regarding question 4, the NLP one. Since the question says it’ll grade by passing in a random text to test, I assume we need to include TextVectorization layer inside the model.
However, in doing so, I can’t save said model as .h5. Tensorflow will yell that it can’t save because this layer’s weights are not Tf.Variable.
I have also used transfer learning to include a model that has preprocessor built-in but this model can’t get graded because it requires custom_objects upon loading.
I finished the whole exam in less than 40 minutes but spent 4 hours just trying to get this NLP modem graded, and I feel frustrated at being failed because of this issue. Could you share with me your strategies? Anything will be appreciated.
Thanks a lot
Tan