1
$\begingroup$

I am working with a text classification system. Here, my data-set has around 30 intents. But the problem is I have no system developed to handle inputs that don't go under any of the intents. So, in this case, I am going to train a One class classification model. To teach it how normal data looks, I am going to merge all my training data (of all intents) and train with them. Which feature-extraction and algorithm combo will be best suited for these kinds of tasks? Is there any trade-off, best practice, or other information to know?

$\endgroup$

1 Answer 1

0
$\begingroup$

Just have n_classes + 1 intents. Name the last one as 'Others'. Accumulate some data that doesn't fit into any of your 30 intents in this class. Treat it as new intent and train your model for these 31 intents/classes. The best SOTA model for text classification would be microsoft/deberta-v3-base. You should be good to go. And evaluate appropriately.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.