How to set up tok2vec for annotating components for training #10532
-
I am training my own dependency parser, and I would like the output of the tagger to be used as a feature for my parser. I'm using a project.yml with a default.cfg training config. If I'm understanding the documentation correctly, I need to add the tagger output as an attrs of tok2vec. However when I change the line
Here is the whole config.cfg. What am I doing wrong, please?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Small markdown note: when including terminal output / config in a post, you should use the "code block" syntax (markdown fences) rather than the "blockquote" syntax. |
Beta Was this translation helpful? Give feedback.
-
Hi, the settings However, to take a step back, it is probably not going to be helpful to include |
Beta Was this translation helpful? Give feedback.
Hi, the settings
attrs
androws
need to be kept in sync so that they have the same length: rows specifies how many rows to use in the embeddings table for each attribute. See: https://spacy.io/api/architectures#MultiHashEmbedHowever, to take a step back, it is probably not going to be helpful to include
TAG
as a parser feature. See a few related threads: