Skip to content
Discussion options

You must be logged in to vote

Hi @thefirebanks ,

However, my main concern is - what if I want to use pre-trained vectors from the en_core_web_lg models from spacy? How can I train a textcat model using the en_core_web_lg as a base model, instead of using a blank pipeline spacy.blank("en")?.

If you want to do this programmatically, you can use the train() function in spacy.cli.train. Import it and then provide the override you need. In order to use the en_core_web_lg model, you can specify the paths.vectors parameter in the configuration file (null -> en_core_web_lg).

From the code example, it's not clear to me what it's trying to measure. In any case, you can write a custom logger that suits your needs.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by thefirebanks
Comment options

You must be logged in to vote
2 replies
@ljvmiranda921
Comment options

@thefirebanks
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
training Training and updating models feat / textcat Feature: Text Classifier
2 participants