GithubHelp home page GithubHelp logo

Adding QA Pipeline about embeddings HOT 2 CLOSED

laugustyniak avatar laugustyniak commented on June 1, 2024
Adding QA Pipeline

from embeddings.

Comments (2)

ktagowski avatar ktagowski commented on June 1, 2024

TODO @mkossakowski19 :

from embeddings.

ktagowski avatar ktagowski commented on June 1, 2024

TODO (17.02):

  • Add tests for the QA evaluator
  • Adjust tests for pipeline
    Fix errors and add more detailed metrics checks. Currently, in tests, metrics are compared as 0 < mt < 100, but it should be changed to 7 decimal precision, e.g., assert_almost_equal(mt, 0.1234567).
  • Move batch encoding kwargs to LightningBasicConfig class
    Create QALightningBasicConfig that is more suited for QA (2 batch_encoding parameters and 1 QA-specific parameter (doc_stride)
  • Fix linter
    There are issues with styling and pyflakes

Optional tasks (lower priority):

  • [optional] Adjust LightningModule class logic
    Currently, there is code duplication between LightningModules (setup, freeze_transformer, forward). However, it needs restructuration of the inheritance hierarchy as HuggingFaceLightningModule are specific for Classification tasks.
  • [optional] Notebook with QA pipeline example
    Add an example how "easy" it is to run a QA pipeline

from embeddings.

Related Issues (20)

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.