Why doesn't the Textcat have a tok2vec? #9702
-
Hello all , i am confused in generating base_config.cfg from spacy documentation! [nlp] Is it Normal ? How we can Train a model without Tok2vec in The pipeline ?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The simplest textcat model uses a bag of words only, so it doesn't require a |
Beta Was this translation helpful? Give feedback.
The simplest textcat model uses a bag of words only, so it doesn't require a
tok2vec
, but as you noticed, the performance is not always as good as some of the other (less efficient) options. In that case, you can try other architectures instead, likespacy.TextCatEnsemble.v2
:https://spacy.io/api/architectures#textcat