Closed mrshu closed 3 years ago
Thanks for the report! This is due to a formatting error in the quickstart recommendations. This should be fixed in the next release, v3.0.4, and hopefully a bit sooner on the website quickstart.
If you want to fix your local installation, you can add the edits from #7222 to spacy/cli/templates/quickstart_training_recommendations.yml
wherever you have spacy installed.
Or if it's easier, you can choose another language like en
to generate the config and then edit nlp.lang
and components.transformers.model.name
to the transformer model you want (the default is iarfmoose/roberta-base-bulgarian
; we've tried to test that the recommend models run, but we're not familiar with all the models/resources for all languages, so there may be a better model to choose here).
Thanks for the quick response @adrianeboyd!
I actually did manage to get the model running and trained using the exact same approach as you suggested so I don't think there is any great urgency here.
I also see that the "(allegedly) human readable format" was at fault once again -- if I end up writing an article about YAML (on the order of https://noyaml.com), this will almost certainly make it in there.
From my point of view this issue no longer persists so please feel free to close the issue if that's helpful for you.
Thanks again!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
How to reproduce the behaviour
When I run the command
python -m spacy init config base_config.cfg --lang bg --pipeline ner --optimize accuracy --gpu -F
I get the following
You can reproduce this behavior in the following Google Colab:
https://colab.research.google.com/drive/1ma9Bm0n1F_deS_suAy3t2lN466FKQmqo
Info about spaCy