Tfmodelforquestionanswering in eval mode
how can i put the tfmodelforquestionanswering in eval mode ? or is it not needed ?i see the eval function available in bertmodel.
2020-10-29T14:50:06Z
Hi, not sure if I understand your question correctly, but TF model does not have eval mode (unlike Pytorch).In TF Keras model, for example, we can usemodel.evaluate()ormodel.predict()directly where Keras will automatically turn on eval mode for us.
2020-10-29T16:55:58Z
great! thanks for the info.