Repository navigation
ValueError : tried to update a NER, but can't find the right format for train data #6316
|
Currently working with the '3.0.0rc2' spacy version. I'm trying to retrain a NER to add new labels to the existing model. Here's a simplified version of my code: This leads to the following error : Apparently, the code given within the documentations is outdated I also tried to downgrade my spacy installation to go back to Spacy 2.1 but I couldn't do it. Python version: Python 3.8.3 |
Replies: 2 comments
|
Please the docs for v3 at https://nightly.spacy.io , and in particular the migration guide at https://nightly.spacy.io/usage/v3#migrating |
|
Thank you for your answer. One issue was that https://nightly.spacy.io/ search bar leads to https://spacy.io/, which is outdated. Regarding my issue, I found an up-to-date example here . |
Thank you for your answer. One issue was that https://nightly.spacy.io/ search bar leads to https://spacy.io/, which is outdated.
Regarding my issue, I found an up-to-date example here .
This part was very helpful :