artitw / BERT_QA

Accelerating the development of question-answering systems based on BERT and TF 2.0
https://arxiv.org/abs/1909.05017
Apache License 2.0
19 stars 4 forks source link

Problems import BERT_QA #6

Open locb1706606 opened 3 years ago

locb1706606 commented 3 years ago

I can't import bert_qa .

When I import library "from bert_qa import squad" , I got the following error: ImportError: cannot import name 'network' from 'tensorflow.python.keras.engine' (/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/init.py) On GoogleColab Can you help me fix this problem? Thank you!

artitw commented 3 years ago

Please take a look at https://github.com/artitw/text2text and ask questions there if necessary.