Giter Club home page Giter Club logo

answer-selection's Introduction

Answer-Selection

The goal of answer selection is to find the correct answer to a given question from a set of possible answers. Correct answers are possible. In contrast to previous research, which has typically focused on the semantic similarity between a question and its answer. We hypothesize that the question-answer. Pairs are frequently analogical to one another. We will use analogical inference. In this case, we pro- pose a framework and a neural network architecture for dedicated learning. Sentence embeddings that preserve analogical relationships semantic properties in the semantic space. We assess on benchmark datasets, the proposed method for answering questions and demonstrating that our analogical properties are captured better by sentence embeddings than by conventional embeddings, and analogy-based question answering outperforms a comparable similarity-based technique. LSTM and Bert were applied on the SQuad Dataset which was used in the making of this project.

Results

On applying the BERT Algorithm on the SQuad Dataset, we obtained the exact match EM score, which is the number of answers that are exactly correct in range of (0,1), the highest being 1. The highest F1 Score for dataset is 0.66%. We employed Deep Learning to put our dataset to the test, employing the Long Short Term Memory (LSTM) network which had five layers: embedding, dense, input, bidirectional and flatten. The network is trained for 10, 25, 50 and 100 epochs, with 300 batches. The highest accuracy obtained is 96.89% for a batch size of 300 with 10 epochs. Our proposed method can reach significantly better accuracy which demonstrates the superiority of Deep Learning approach.

answer-selection's People

Contributors

sohalibaisla 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.