language
language copied to clipboard
/usr/bin/python: No module named language.question_answering.bert_joint
When I try to run python -m language.question_answering.bert_joint.prepare_nq_data --logtostderr --input_jsonl ~/data/nq-train-??.jsonl.gz --output_tfrecord ~/output_dir/nq-train.tfrecords-00000-of-00001 --max_seq_length=512 --include_unknowns=0.02 --vocab_file=bert-joint-baseline/vocab-nq.txt
It throws the error
/usr/bin/python: No module named language.question_answering.bert_joint
I get a similar error:
language/question_answering/bert_joint/run_nq.py", line 29, in <module>
from bert import modeling
ModuleNotFoundError: No module named 'bert'
Just a guess...
@rohitagarwal257 Did you run the command inside the root directory of the project language
?
@zzj0402 Did you do pip install bert-tensorflow natural-questions
?
Did any of you happen to find a resolution to this problem?