Skip to content

PierroG/Askme_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ask.me : Question Answering using BERT and Wikipedia

Student exploration of Question Answering.

Our project aims to answer general knowledge questions by using Wikipedia data and the following BERT model pre-trained on SQuAD :
bert-large-uncased-whole-word-masking-finetuned-squad.

this model is available here : https://huggingface.co/bert-large-uncased-whole-word-masking-finetuned-squad

The pipeline

The pipeline can be summed-up in 3 essential steps :

  • Subject extraction
  • Wikipedia article retrieval
  • Answer extraction

Run

Local

To run this project locally, you have download the WebApp file located in /Code/WebApp/
and run the file run_app.py with Python.

Online

Our code is functional and we deployed a web app that can be accessed here : https://askme-app.azurewebsites.net/

Requirements

The app can be launched locally with the following requirements :
flask==1.1.2
torch==1.6.0
transformers==3.3.1
scikit-learn==0.22.1
nltk==3.4.5
spacy==2.3.2
wikipedia==1.4.0
Wikipedia-API==0.5.4
langdetect==1.0.8
en_core_web_sm==2.3.1

Docker ready

The AzureAskme file with its Dockerfile can be used to create an image of our application. It will be ready to be deployed in a web service.

AzureAskme is available in /Results/

Created by

Pierre GONCALVES, Frederic ASSMUS, Axel DIDIER

M2 NLP - Université de Lorraine - 2020

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published