Giter Club home page Giter Club logo

bert_qa's People

Contributors

artitw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bert_qa's Issues

Problems import BERT_QA

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!

It doesn't work while fitting.

While I was running BERT, suddenly I got the following error message.
'''
inputs, attrs, num_outputs)
tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'NcclAllReduce' used by {{node while/body/_1/AdamWeightDecay/NcclAllReduce}} with these attrs: [reduction="sum", shared_name="c1", T=DT_FLOAT, num_devices=2]
Registered devices: [CPU, GPU, XLA_CPU, XLA_GPU]
Registered kernels:

     [[while/body/_1/AdamWeightDecay/NcclAllReduce]] [Op:__inference_train_steps_46285]

'''
I don't know what does it mean. Please Help..

Problems on Google Colab

Hi !! First of all I would like to congratulate you on the project..... It increases the productivity of a BERT-SQUAD application. Could you extract a requirements.txt?
I believe that the problem is related with TensorFlow version.
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.