Errors in config when trying to train NER and Relation Extraction together #11075
-
Hi Team, I am trying to train a NER and Relation Extraction model together using the model provided here python -m spacy project clone tutorials/rel_component. In the video, Sofie mentioned that we would need to include the NER component in the config file but I am unsure how to do so. I took the config file that was provided and just added the NER components to it. However, when I try to train the model, I get the following error: =========================== Initializing pipeline =========================== For reference, here is my config file below:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Your Markdown isn't correct, please check the Github guide and use the preview function to make it easier for us to help you. Like the error states, the name you have isn't valid, because the particular field is not in your config. If you look you will see that |
Beta Was this translation helpful? Give feedback.
Your Markdown isn't correct, please check the Github guide and use the preview function to make it easier for us to help you.
Like the error states, the name you have isn't valid, because the particular field is not in your config. If you look you will see that
width
is in your config, but the location in the config file has noencode
in it. If you removeencode
I would expect it to work.