Hello Prodigy team,
I'm following your tutorial here
Could you please help me debug the error in the title? I saw you were debugging it in the past here once, but I'm wasn't able to resolve my problem.
I'm quite sure I have the model installed and linked.
I am able to do
import spacy; spacy.load('en_core_web_lg');
prodigy train ner my_data en_vectors_web_lg --init-tok2vec ./tok2vec_cd8_model289.bin --output ./tmp_model --eval-split 0.2
I also tried linking to the model directly like this:
prodigy train ner my_data /Users/Jakub/.pyenv/versions/3.7.7/lib/python3.7/site-packages/spacy/data/en/en_core_web_lg-2.3.1 --init-tok2vec ../tok2vec_cd8_model289.bin --output ./tmp_model --eval-split 0.2 ✔ Loaded model '/Users/Jakub/.pyenv/versions/3.7.7/lib/python3.7/site-packages/spacy/data/en/en_core_web_lg-2.3.1' Created and merged data for 18 total examples Using 15 train / 3 eval (split 20%) Component: ner | Batch size: compounding | Dropout: 0.2 | Iterations: 10 ✔ Initializing with tok2vec weights ../tok2vec_cd8_model289.bin
.. but then I'm getting
ValueError: could not broadcast input array from shape (128) into shape (96)
Could you please help?