prakhar21 / fill-in-the-bert Goto Github PK
View Code? Open in Web Editor NEWFill-in-the-BERT uses pre-trained BERT Masked Language Model for Infering the task of fill in the blanks.
License: MIT License
Fill-in-the-BERT uses pre-trained BERT Masked Language Model for Infering the task of fill in the blanks.
License: MIT License
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.