mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-14 18:22:27 +03:00
Rephrase.
This commit is contained in:
parent
64c40d16f0
commit
f6d9e5c4df
|
@ -754,8 +754,9 @@ path = "textcat_examples.json"
|
||||||
|
|
||||||
If you want to perform few-shot learning with a binary classifier (i. e. a text
|
If you want to perform few-shot learning with a binary classifier (i. e. a text
|
||||||
either should or should not be assigned to a given class), you can provide
|
either should or should not be assigned to a given class), you can provide
|
||||||
positive and negative examples with the POS/NEG label. An example for spam
|
positive and negative examples with answers of "POS" or "NEG". "POS" means that
|
||||||
classification:
|
this example should be assigned the class label defined in the configuration,
|
||||||
|
"NEG" means it shouldn't. E. g. for spam classification:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue
Block a user