Configuration Error during SpaCy Model Training #9118
-
|
Hello! I am working to train a text extraction model using SpaCy. I am using this tutorial: this tutorial Here is my base_config.cfg file (it's the exact same as in the link): I then ran However, when I try To counter the error, I created an empty placeholder file called I doubt that my data is causing this error. I am using the latest SpaCy and followed every step in the tutorial. Thus, I tried the debug command Here's some additional information that might possibly help:
Would really appreciate any help on this issue. If you need any information about my system, python version, libraries, etc, I can definitely send it over. The only thing I cannot send is my Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
You need to provide an actual data file for
An empty placeholder file is not a valid DocBin, which is why you're getting that error. |
Beta Was this translation helpful? Give feedback.
You need to provide an actual data file for
dev.spacy. If you don't have one you can just usetrain.spacyagain (--paths.dev train.spacy). But you should hold out some of your data so you can tell your model is actually learning to generalize and not overfitting.An empty placeholder file is not a valid DocBin, which is why you're getting that error.