learn = text_classifier_learner(dls, AWD_LSTM, drop_mult=0.5, metrics=F1Score)
I would expect that you may need to instantiate the metrics in this case. So try passing F1Score()
instead.
learn = text_classifier_learner(dls, AWD_LSTM, drop_mult=0.5, metrics=F1Score)
I would expect that you may need to instantiate the metrics in this case. So try passing F1Score()
instead.