Skip to content

A user interface for a Question Answering task using a pretrained BERT model that is fine-tuned on the SQuAD dataset

Notifications You must be signed in to change notification settings

badran047/ask_me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ask Me

This is a simple Flask application that takes in user input consisting of a text and a question on that text and produces the answer using a pretrained BERT or DistilBert fine-tuned on the The Stanford Question Answering Dataset (SQuAD)

resources:

Huggingface

SQuAD

Installation

Using PIP:

$ python -m pip install -r requirements.txt

Usage

Running the localhost server:

$ flask run

Notes:

when in development, export the following environmental variable:

$ export FLASK_ENV=development

With this, you don't have to restart the server everytime you update your code.

About

A user interface for a Question Answering task using a pretrained BERT model that is fine-tuned on the SQuAD dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published