Skip to content
Discussion options

You must be logged in to vote

You can just rewrite your config to use a different architecture in the textcat component (updating other parameters as necessary, or leaving blank and using fill-config) and then retrain your model. You can use TextCatCNN for example.

We found a way to swap the model layers i.e. https://spacy.io/usage/layers-architectures#swap-architectures but it's not stating anywhere about swapping TextCatBOW with a modern technique.

The docs there describe the process of swapping architectures exactly, what about them is not what you're looking for? The example is changing an ensemble to BOW, but you can just change your BOW to something else.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / textcat Feature: Text Classifier feat / config Feature: Training config
2 participants