Greetings!
I have built a Text Classification model which gets categories (such as 1,2,3 …) for a chunk of text
My learner is all set up, but I am finding it difficult to get predictions on my test set (in a separate file test.csv)
gives the error NameError: name 'DatasetType' is not defined
(this error is the reason why I tried the first approach, but in vain)
Basically I want to implement the final step in this notebook, (cell [38]) they have done preds, target = learn.get_preds(DatasetType.Test, ordered=True) labels = preds.numpy()