Custom NER training and debug config.cfg file #8268
-
Hi, I'm trying to train a custom NER model. Some useful details: I obtained the config.cfg file after running the command:
Then, I make no changes to the generated config.cfg file and run the following command as mentioned here for [debug].(https://spacy.io/api/cli#debug)
But, I get the following error as shown in the attached snapshot: If I ignore the error and train the custom NER model using the command: It starts to train (regarding results, I'll start a new discussion). I'm unable to understand that if there is an error regarding the tok2vec listener, how am I able to train and how does the output of the tok2vec layer go to the NER transition based parser? Please let me know if you need any further information from my side. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Hi! It looks like the generated config file doesn't have valid Could you retry your debug command like this?
|
Beta Was this translation helpful? Give feedback.
Hi!
It looks like the generated config file doesn't have valid
paths.train
andpaths.dev
sections, but thedebug model
script needs some example data to initialize the pipeline.Could you retry your debug command like this?