GithubHelp home page GithubHelp logo

pradeepdev-1995 / question-answering-python Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 4.0 12.78 MB

Question answering (QA) is a computer science discipline within the fields of information retrieval and natural language processing (NLP), which is concerned with building systems that automatically answer questions posed by humans in a natural language.

Jupyter Notebook 94.36% Python 5.64%
machine-learning deep-learning artificial-intelligence natual-language-inference python cdqa transformer bert albert ktrain

question-answering-python's Introduction

Question answering natural language processing

Question answering (QA) is a computer science discipline within the fields of information retrieval and natural language processing (NLP), which is concerned with building systems that automatically answer questions posed by humans in a natural language.

Alt text

There are two domains in question answering.
1 - Open domain question answering (ODQA)
2 - Closed domain question answering (CDQA)

Open domain question answering (ODQA)

The ability to answer factoid questions is a key feature of any dialogue system. Formally speaking, to give an answer based on the document collection covering wide range of topics is called open-domain question answering (ODQA). The ODQA task combines the challenges of document retrieval (finding the relevant articles) with that of machine comprehension of text (identifying the answer span from those articles). An ODQA system can be used in many applications. Chatbots apply ODQA to answer user requests, while the business-oriented Natural Language Processing (NLP) solutions leverage ODQA to answer questions based on internal corporate documentation. The picture below shows a typical dialogue with an ODQA system.

Alt text

Closed domain question answering (CDQA)

When no restriction is made on the domain of the questions we are talking about open domain question answering. Instead, when questions are bound to a specific domain we are talking about closed (or restricted) domain question answering (CDQA). Here we are providing a paragraph or a document with a question. The CDQA system will extract the answer to the question by analysing the given paragraph or document;

Alt text

Here I am explaining different approaches for both open domain question answering and closed domain question answering.

Closed domain question answering

1 - Adaptnlp
2 - Deeppavlov
3 - Distilbert
4 - Cdqa-suite
5 - Transformer
6 - Transformer Pipeline
7 - Simple Transformers
8 - txtai
9 - Haystack
10 - Ktrain simpleQA

Open domain question answering

1 - Deeppavlov
2 - Wikipedia QA

question-answering-python's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.