I am looking to train a model that is capable of performing text classification for two different types of classes for the same training data.
I.e. my training data has two labels ‘Class1’ and ‘Class2’. I would like a model that is able to optimize error classification on both simultaneously.
Any leads as to how this can be done?