Skip to content

A http server that provides an API for the BERT Transformer model, fine tuned to answer questions based on context from a paragraph

License

Notifications You must be signed in to change notification settings

vineet192/bert-qa-server

Repository files navigation

bert-qa-server

The documentation for the live server can be found here

Steps To Run

  • Create a Python virtual environment
  • Once in the environment, run pip install -r requirements.txt
  • Download the BERT model and save it into a folder named mymodel in the project directory
  • Create a file named .env in the project folder and in it type (the vocab file will be in the assest folder) :
PATH_TO_VOCAB_FILE=<path_to_vocab.txt>
PATH_TO_MODEL=<path_to_model>

About

A http server that provides an API for the BERT Transformer model, fine tuned to answer questions based on context from a paragraph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published