Skip to content
Discussion options

You must be logged in to vote

Hello,
you also need to source the tok2vec layer from the pre-trained model.

[components.tok2vec]
source = "en_core_web_sm"

You'll also need to add the tok2vec component to the pipeline variable in the [nlp] section
pipeline = ["senter", "transformer", "tok2vec", "parser", "tagger", "attribute_ruler", "entity_ruler", "ner", "lemmatizer"]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@spatiebalk
Comment options

Answer selected by thomashacker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / config Feature: Training config
2 participants
Converted from issue

This discussion was converted from issue #10615 on April 04, 2022 13:21.