graykode / graykode/nlp-tutorial

Which kind of model is better for keyword-set classification?

Offen
#43 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
14.9k
Forks
3.9k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

There exists a similar task that is named text classification.

But I want to find a kind of model that the inputs are keyword set. And the keyword set is not from a sentence.

For example:
```
input ["apple", "pear", "water melon"] --> target class "fruit"
input ["tomato", "potato"] --> target class "vegetable"
```
Another example:
```
input ["apple", "Peking", "in summer"] --> target class "Chinese fruit"
input ["tomato", "New York", "in winter"] --> target class "American vegetable"
input ["apple", "Peking", "in winter"] --> target class "Chinese fruit"
input ["tomato", "Peking", "in winter"] --> target class "Chinese vegetable"
```

Thank you.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.