All Projects → dice-group → TeBaQA

dice-group / TeBaQA

Licence: AGPL-3.0 license
A question answering system which utilises machine learning.

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to TeBaQA

semanticilp
Question Answering as Global Reasoning over Semantic Abstractions (AAAI-18)
Stars: ✭ 33 (+94.12%)
Mutual labels:  question-answering
hf-experiments
Experiments with Hugging Face 🔬 🤗
Stars: ✭ 37 (+117.65%)
Mutual labels:  question-answering
Question-Answering-based-on-SQuAD
Question Answering System using BiDAF Model on SQuAD v2.0
Stars: ✭ 20 (+17.65%)
Mutual labels:  question-answering
exams-qa
A Multi-subject High School Examinations Dataset for Cross-lingual and Multilingual Question Answering
Stars: ✭ 25 (+47.06%)
Mutual labels:  question-answering
FlowQA
Implementation of conversational QA model: FlowQA (with slight improvement)
Stars: ✭ 197 (+1058.82%)
Mutual labels:  question-answering
backprop
Backprop makes it simple to use, finetune, and deploy state-of-the-art ML models.
Stars: ✭ 229 (+1247.06%)
Mutual labels:  question-answering
COVID19-IRQA
No description or website provided.
Stars: ✭ 32 (+88.24%)
Mutual labels:  question-answering
strategyqa
The official code of TACL 2021, "Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategies".
Stars: ✭ 27 (+58.82%)
Mutual labels:  question-answering
HAR
Code for WWW2019 paper "A Hierarchical Attention Retrieval Model for Healthcare Question Answering"
Stars: ✭ 22 (+29.41%)
Mutual labels:  question-answering
pair2vec
pair2vec: Compositional Word-Pair Embeddings for Cross-Sentence Inference
Stars: ✭ 62 (+264.71%)
Mutual labels:  question-answering
NS-CQA
NS-CQA: the model of the JWS paper 'Less is More: Data-Efficient Complex Question Answering over Knowledge Bases.' This work has been accepted by JWS 2020.
Stars: ✭ 19 (+11.76%)
Mutual labels:  question-answering
python-weka-wrapper3
Python 3 wrapper for Weka using python-javabridge.
Stars: ✭ 126 (+641.18%)
Mutual labels:  weka
GrailQA
No description or website provided.
Stars: ✭ 72 (+323.53%)
Mutual labels:  question-answering
TriB-QA
吹逼我们是认真的
Stars: ✭ 45 (+164.71%)
Mutual labels:  question-answering
Instahelp
Instahelp is a Q&A portal website similar to Quora
Stars: ✭ 21 (+23.53%)
Mutual labels:  question-answering
ProQA
Progressively Pretrained Dense Corpus Index for Open-Domain QA and Information Retrieval
Stars: ✭ 44 (+158.82%)
Mutual labels:  question-answering
django-simple-forum
full featured forum, easy to integrate and use.
Stars: ✭ 65 (+282.35%)
Mutual labels:  question-answering
dialogbot
dialogbot, provide search-based dialogue, task-based dialogue and generative dialogue model. 对话机器人,基于问答型对话、任务型对话、聊天型对话等模型实现,支持网络检索问答,领域知识问答,任务引导问答,闲聊问答,开箱即用。
Stars: ✭ 96 (+464.71%)
Mutual labels:  question-answering
Dynamic-Coattention-Network-for-SQuAD
Tensorflow implementation of DCN for question answering on the Stanford Question Answering Dataset (SQuAD)
Stars: ✭ 14 (-17.65%)
Mutual labels:  question-answering
KitanaQA
KitanaQA: Adversarial training and data augmentation for neural question-answering models
Stars: ✭ 58 (+241.18%)
Mutual labels:  question-answering

Template-Based Question Answering (TeBaQA)

Build Status Codacy Badge

TeBaQA is available at https://tebaqa.demos.dice-research.org/

Execution

TeBaQA implements microservices architecture. The application comprises following 5 modules:

  • Template Classification :- to classify query templates (localhost:8081)
  • Entity Linking :- finding and linking entities and relations (localhost:8082)
  • Query Ranking :- candidate query execution, ranking (localhost:8083)
  • TeBaQA Controller :- central controller, frontend application (localhost:8080)
  • NLP Server :- CoreNLP Server endpoint (localhost:8085)

Additionally, Entity Linking requires Elasticsearch indices for data and ontology of the knowledge base. We provide dumps of DBPedia (2016-10 release). Find the dump files along with the instructions at Hobbit data. The indices were generated on Elastiscearch 6.6.1. You have to install Elasticsearch to use the Entity Linking components of TeBaQA. However, TeBaQA can also be run on your own knowledge base. Check the instruction in this file for more information on creating your own Elasticsearch indices. The script for createing the indices is located here

There are two ways to run TeBaQA

1. Run locally

  • Checkout the project

  • make files executable (chmod +x <filename>.sh)

  • Build all modules

    ./build-script.sh

  • Run all modules

    ./run-script.sh

2. Run as Docker (installation guide, Ubuntu 20.04) containers

  • Checkout the project

  • Build docker images for each module

    ./docker/build-images.sh

  • To run all containers

    ./docker/run-containers.sh

  • To stop all containers

    ./docker/stop-containers.sh

Citation

Vollmers, D., Jalota, R., Moussallem, D., Topiwala, H., Ngomo, A. C. N., & Usbeck, R. (2021). Knowledge Graph Question Answering using Graph-Pattern Isomorphism. arXiv preprint arXiv:2103.06752. https://arxiv.org/abs/2103.06752

Question Answering

  • To answer a question, simply execute an HTTP POST request to
  • Parameters:
    • query: A string which contains a question (required).
    • lang: The language of the question (default:en) Note: Other languages than English haven't been implemented yet.
  • An example request could look like this:
    • http://localhost:8080/qa?query=Where is the birthplace of Angela Merkel?&lang=en

Evaluation

Ablation study

Credit

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].