Skip to content
Discussion options

You must be logged in to vote

Before getting into the details: I wouldn't expect adding TAG or DEP as features to help the ner performance much, but there's obviously nothing preventing you from trying it out. We'd be curious about the results!

Since tagger and parser both listen to the same tok2vec, replacing the listeners will make the model larger and slower without much other benefit. And you can either source the components or train them from scratch with different features, not both, so you can't do this:

[components.tagger]
source = ${paths.source}

...

[components.tagger.model.tok2vec.embed]
@architectures = "spacy.MultiHashEmbed.v1"
attrs = ["NORM","DEP"]

You can't change the attrs for a sourced component (i…

Replies: 2 comments 1 reply

Comment options

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

Answer selected by michel-ds
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / ner Feature: Named Entity Recognizer feat / config Feature: Training config
3 participants