hjLabs AI Playground

Starting the on-device runtime…

Classify text into labels you make up on the spot

Zero-shot classification lets you invent the categories at query time: type "billing, bug report, feature request, spam" and the model scores your text against each one. It works by reframing the problem as natural language inference with a BART model fine-tuned on MNLI, so no training data and no fine-tuning are involved. It is slower per call than a dedicated classifier but immeasurably faster to set up, and everything runs locally.

zero shot classificationbart mnli demotext classification without trainingcustom label classifiernli classification onlineintent classification freetopic labelling tool

Frequently asked questions

How many labels can I use?

Each label costs one forward pass, so ten labels take ten times as long as one. Up to about a dozen labels stays comfortably interactive on a GPU; beyond that consider training a real classifier.

Can a text belong to more than one label?

Yes — switch off the single-label option and each label is scored independently, which is the right mode for tagging.

Models available for this task