I'm trying to start training a blank model, but I'm blocked by being able to init a new model. I'm on Prodigy 1.7.1 (due to license) and Spacy 2.0.17 (If I read correctly > 2.0.17 models are incompatible with 1.7.1) and when trying to initialize a new model I get a
Creating model...
0it [00:00, ?it/s]
Traceback (most recent call last):
File "/Users/sharkmaul/.pyenv/versions/3.6.4/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/Users/sharkmaul/.pyenv/versions/3.6.4/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/sharkmaul/.pyenv/versions/3.6.4/lib/python3.6/site-packages/spacy/__main__.py", line 31, in <module>
plac.call(commands[command], sys.argv[1:])
File "/Users/sharkmaul/.pyenv/versions/3.6.4/lib/python3.6/site-packages/plac_core.py", line 328, in call
cmd, result = parser.consume(arglist)
File "/Users/sharkmaul/.pyenv/versions/3.6.4/lib/python3.6/site-packages/plac_core.py", line 207, in consume
return cmd, self.func(*(args + varargs + extraopts), **kwargs)
File "/Users/sharkmaul/.pyenv/versions/3.6.4/lib/python3.6/site-packages/spacy/cli/init_model.py", line 51, in init_model
nlp = create_model(lang, probs, oov_prob, clusters, vectors_data, vector_keys, prune_vectors)
File "/Users/sharkmaul/.pyenv/versions/3.6.4/lib/python3.6/site-packages/spacy/cli/init_model.py", line 93, in create_model
for word in vector_keys:
TypeError: 'NoneType' object is not iterable
I've tried initializing a new model, removing an NER pipe from an existing model and initializing a new model through nlp = spacy.blank('en')
then saving to disk. Any guidance on how to either download a blank model that is compatible or initialize one without failing.