Klasyfikacja tekstu bez przykładów (zero-shot)

Zero-shot text classification · id zeroshotclassification · aliases: zero-shot text classification, zero-shot classification, klasyfikacja zero-shot

Przypisywanie tekstom etykiet niewidzianych w treningu, zwykle przez przeformułowanie klas na hipotezy NLI lub prompt dla LLM.

Assigning texts labels unseen in training, usually by recasting classes as NLI hypotheses or as an LLM prompt.

In one sentence

Wpisujesz własne nazwy kategorii, a model od razu przydziela do nich teksty, bez przygotowanych wcześniej przykładów.

You type your own category names and the model sorts texts into them right away, with no prepared examples.

Problem it solves

Zebranie i opisanie tysięcy przykładów do każdej nowej kategorii trwa tygodnie, a kategorie ciągle się zmieniają.

Collecting and labelling thousands of examples for every new category takes weeks, and categories keep changing.

What it does

Zamienia każdą kategorię w zdanie typu „ten tekst jest o reklamacji” i sprawdza, które najlepiej pasuje.

It turns each category into a sentence like 'this text is about a complaint' and checks which fits best.

Everyday example

Mała firma od razu sortuje maile od klientów na „zwrot”, „faktura” i „pytanie o dostawę”, zmieniając kategorie z dnia na dzień.

A small shop sorts customer emails into 'return', 'invoice' and 'delivery question' at once, changing categories from day to day.

This concerns you if you…

Sources