GithubHelp home page GithubHelp logo

prakhar21 / fill-in-the-bert Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 355 KB

Fill-in-the-BERT uses pre-trained BERT Masked Language Model for Infering the task of fill in the blanks.

License: MIT License

Python 46.67% HTML 53.33%
bert-model transformer transfer-learning language-model nlp-machine-learning fill-in-the-blank bert

fill-in-the-bert's People

Contributors

prakhar21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fill-in-the-bert's Issues

cannot import name 'dump_csp_header' error

I am running this code on my Mac laptop.Getting the following error -
flask version - 1.1.1
request version - 2.25.0

(tf_gpu_env) ➜  Fill-in-the-BERT git:(master) ✗ /Users/ram/anaconda3/envs/tf_gpu_env/bin/python /Users/ram/Desktop/projects/repos/text/BERT/Fill-in-the-BERT/app.py
Traceback (most recent call last):
  File "/Users/ram/Desktop/projects/repos/text/BERT/Fill-in-the-BERT/app.py", line 1, in <module>
    from flask import Flask, request
  File "/Users/ram/anaconda3/envs/tf_gpu_env/lib/python3.6/site-packages/flask/__init__.py", line 16, in <module>
    from werkzeug.exceptions import abort
  File "/Users/ram/anaconda3/envs/tf_gpu_env/lib/python3.6/site-packages/werkzeug/__init__.py", line 151, in <module>
    __import__('werkzeug.exceptions')
  File "/Users/ram/anaconda3/envs/tf_gpu_env/lib/python3.6/site-packages/werkzeug/exceptions.py", line 71, in <module>
    from werkzeug.wrappers import Response
  File "/Users/ram/anaconda3/envs/tf_gpu_env/lib/python3.6/site-packages/werkzeug/wrappers/__init__.py", line 26, in <module>
    from .common_descriptors import CommonRequestDescriptorsMixin
  File "/Users/ram/anaconda3/envs/tf_gpu_env/lib/python3.6/site-packages/werkzeug/wrappers/common_descriptors.py", line 7, in <module>
    from ..http import dump_csp_header
ImportError: cannot import name 'dump_csp_header'

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.