Coder Social home page Coder Social logo

aizaan / nlptest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnsnowlabs/langtest

0.0 0.0 0.0 76.9 MB

Deliver safe & effective NLP models

Home Page: http://nlptest.org

License: Apache License 2.0

Python 99.75% CSS 0.05% Makefile 0.09% Batchfile 0.11%

nlptest's Introduction

NLP Test: Deliver Safe & Effective Models

Project's WebsiteKey FeaturesHow To UseCommunity SupportContributingMissionLicense

screenshot

Project's Website

Take a look at our official page for user documentation and examples: nlptest.org

Key Features

  • Generate & run over 50 test types with 1 line of code
  • Test all aspects of model quality: robustness, bias, representation, fairness and accuracy
  • Automatically augment training data based on test results
  • Support for popular NLP libraries: Spark NLP, Hugging Face Transformers & spaCy
  • Support for popular NLP tasks: Named Entity Recognition and Text Classification

How To Use

# Install nlptest
!pip install nlptest

# Import and create a Harness object
from nlptest import Harness
h = Harness(task='ner', model='dslim/bert-base-NER', hub='huggingface')

# Generate test cases, run them and view a report
h.generate().run().report()

Note For more extended examples of usage and documentation, head over to nlptest.org

Community Support

  • Slack For live discussion with the NLP Test community, join the #nlptest channel
  • GitHub For bug reports, feature requests, and contributions
  • Discussions To engage with other community members, share ideas, and show off how you use NLP Test!

Mission

While there is a lot of talk about the need to train AI models that are safe, robust, and fair - few tools have been made available to data scientists to meet these goals. As a result, the front line of NLP models in production systems reflects a sorry state of affairs.

We propose here an early stage open-source community project that aims to fill this gap, and would love for you to join us on this mission. We aim to build on the foundation laid by previous research such as Ribeiro et al. (2020), Song et al. (2020), Parrish et al. (2021), van Aken et al. (2021) and many others.

John Snow Labs has a full development team allocated to the project and is committed to improving the library for years, as we do with other open-source libraries. Expect frequent releases with new test types, tasks, languages, and platforms to be added regularly. We look forward to working together to make safe, reliable, and responsible NLP an everyday reality.

Contributing

We welcome all sorts of contributions:

  • Ideas
  • Feedback
  • Documentation
  • Bug reports
  • Development and testing

Feel free to clone the repo and submit pull-requests! You can also contribute by opening issues in this repo.

Contributors

We would like to acknowledge all contributors of this open-source community project.

License

NLP Test is released under the Apache License 2.0, which guarantees commercial use, modification, distribution, patent use, private use and sets limitations on trademark use, liability and warranty.

nlptest's People

Contributors

arshaannazir avatar luca-martial avatar alytarik avatar chakravarthik27 avatar alierenak avatar julesbelveze avatar agsfer avatar gadde5300 avatar sugatoray avatar vkocaman avatar mauro-nievoff 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.