Coder Social home page Coder Social logo

eqa's Introduction

Extractive Question Answering

A project by Ridhiman Dhindsa

Description:

This is an NLP model based on transformers for extractive question answering. The model has been fine-tuned on dataset gathered form PDFs available on various public websites.

Salient Features:

  1. I have used a transformer based encoder model. I selected the model after comparing various models available for NLP. Following criteria was used for selection of model:
  • Model file size should be small so that it can be accommodated on local machine for fine-tuning.
  • The number of parameters should not be too large for fine-tuning the model on a local machine with or without GPU.
  • It should not require too much compute.
  • The accuracy should be comparable to the alternative models available in the range.
  • Model should have good throughput.
  1. Collected and formatted dataset of 3700 question answer pairs in SQUAD 2.0 format (Stanford Question Answering Dataset).
  2. I have taken pre-trained model from Hugging Face. The model was fine-tuned for custom dataset. Results obtained till now are: Exact Match: 55.50 F1 Score: 75.54
  3. Future plan:
    I intend to Improve accuracy by tuning the hyper-parameters. I am also aiming at improvement of throughput and latency using tensorflow-tensorRT.
  4. Subsequent to above optimizations, I will deploy the model in Triton Inference Server.

eqa's People

Contributors

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