Skip to content

Demo web server app that shows how BERT model trained on SQuAD dataset deals with the machine comprehension task.

License

Notifications You must be signed in to change notification settings

jurekkow/bert-squad-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bert-squad-demo

Demo web server app that shows how BERT model trained on SQuAD dataset deals with the machine comprehension task.

It was implemented for the purposes of presentation on STX Next Tech Power Summit 2019. Slides from the presentation are available here.

Quick guide

Before running the app, please make sure that you have all requirements installed and download BERT model for machine comprehension.

To run the server, navigate into the main project's directory and type

$ flask run

Requests sent to the BERT web server should have the following form:

{
  "context": "Bert is a yellow Muppet character...",
  "question": "Who was the first Bert performer?"
}  

You can expect answers of the form:

{
    "answer": "Frank Oz"
}

About

Demo web server app that shows how BERT model trained on SQuAD dataset deals with the machine comprehension task.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages