Skip to content

John Snow Labs NLP Test 1.5.0: Amplifying Model Comparisons, Bias Tests, Runtime Checks, Harnessing HF Datasets for Superior Text Classification and Introducing Augmentation Proportion Control

Compare
Choose a tag to compare
@ArshaanNazir ArshaanNazir released this 16 Jun 14:49
· 3266 commits to main since this release
192ca0b

πŸ“’ Overview

NLP Test 1.5.0 πŸš€ comes with brand new features, including: new capabilities to run comparisons between different models from same/different hubs in a single Harness for robustness, representation, bias, fairness and accuracy tests. It includes support for runtime checks and ability to pass custom replacement dictionaries for bias testing. Also added support for HF datasets for text classification task and many other enhancements and bug fixes!

A big thank you to our early-stage community for their contributions, feedback, questions, and feature requests πŸŽ‰

Make sure to give the project a star right here ⭐


πŸ”₯ New Features & Enhancements

  • Adding support for Model Comparisons #514
  • Adding support for passing custom replacement dictionaries #509
  • Adding support for hf datasets for text classification task #511
  • Adding support for runtime checks #515
  • Adding support for Augmentation Proportion Control #506
  • Adding new tutorial notebooks #526

πŸ› Bug Fixes

  • Review issues with add-context for QA #507

❓ How to Use

Get started now! πŸ‘‡

pip install nlptest

Create your test harness in 3 lines of code πŸ§ͺ

# Defining a dictionary to run model comparisons
models = {
  "ner.dl": "johnsnowlabs",
  "en_core_web_sm": "spacy"
}


# Import and create a Harness object
from nlptest import Harness
h = Harness(task='ner', model=models, data='/Path-to-test-conll')

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

πŸ“– Documentation


❀️ 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!

We would love to have you join the mission πŸ‘‰ open an issue, a PR, or give us some feedback on features you'd like to see! πŸ™Œ


♻️ Changelog

What's Changed

Full Changelog: v1.4.0...v1.5.0