This classifier class should have our model as an attribute, have a .train() method, have a method to load the data, have methods to classify new text, etc.
It'll make it easier for non-experts to be able to deal our model without having to learn torch.
This classifier class should have our model as an attribute, have a
.train()
method, have a method to load the data, have methods to classify new text, etc.It'll make it easier for non-experts to be able to deal our model without having to learn torch.