rpo19 / AIQuestionAnswering

"Question Answering: Structured vs Unstructured" project for Artificial Intelligence master course of University Milano Bicocca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question Answering: Structured vs Unstructured

This project is for the master course of Artificial Intelligence from UniversitĂ  Milano Bicocca.

The project aims to explore and compare open domain question answering approaches over both structured (Knowledge Graph) and unstructured data (Free-text), using respectively DBPedia and Wikipedia as information sources. A prototype of both types of approaches has been implemented. This has highlighted the issues and complexities behind the implementation of a QA system in a real-world scenario. To understand the pros and cons of the implemented approaches different kinds of evaluation have been performed.

To know more about the project look at the Presentation.pdf

Demp

Directory structure

demo # demo interface
knowledgeGraph # knowledge graph QA
text # free text QA
evaluation # evaluation script to compare the two approaches
data # create this folder and put models there

Run the demo

The demo loads both the Graph based and the Free text QA therefore requires much memory.

With docker (suggested)

Install docker and docker-compose (https://docs.docker.com/get-docker/ https://docs.docker.com/compose/install/), then:

cd docker
docker-compose up -d
# some time is required at first start to download models

Now open http://localhost and you should access QA demo.

Install python requirements

The project has been developed on python3.8

About

"Question Answering: Structured vs Unstructured" project for Artificial Intelligence master course of University Milano Bicocca

License:MIT License


Languages

Language:Jupyter Notebook 74.3%Language:Python 23.2%Language:Java 2.3%Language:Shell 0.2%