Open FatimahD-Alotaibi opened 1 year ago
Hi,
This is probably because you are using an incorrect version of spacy
. See this: https://stackoverflow.com/questions/70172383/modulenotfounderror-no-module-named-spacy-lang-en-tag-map-when-installing-pla
Best, Yu
Thank you, that's solved the problem. However, I still get this error when I try to run the code
raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 2022-11-28 12:49:38,853 - INFO - allennlp.models.archival - removing temporary unarchived model dir at /var/folders/34/h45g2gqs235g_cpww7_9nxnr0000gn/T/tmpt4kl4isk
Any suggestions on how to overcome it?
This error above is resolved finally.
I successfully run the code, however, the evaluation script stops suddenly and gives EM and F1, and the example counts as zeros. Do you have any idea why this is happening? Also, it seems that the Virtuoso becomes in-active every certain amount of time.
This is how it looks before it stops. 2022-11-30 15:14:23,632 - INFO - allennlp.training.util - Iterating over dataset 0%| | 0/1 [00:00<?, ?it/s]2022-11-30 15:14:24,430 - INFO - bert_seq2seq_reader - Reading instances from lines in file at: data/grailqa_v1.0_dev.json example_count: 0.00, exact_match_count: 0.00, exact_match: 0.00, F1: 0.00, exact_match_k: 0.00, MRR_k: 0.00 ||: : 66it [06:08, 19.38s/it]
Hi, I had this problem resolved also. The code is running without any issues now. However, the results are different. I tried to run the evaluation and the F1 and EM gave zero. is there any explanation for why that is happening?
Hi. Every time I run the code I get this error
ModuleNotFoundError: No module named 'spacy.lang.en.tag_map'
Spacy is installed and all other pipeline packages.
could you please help out?