John Snow Labs NLP Test 1.0.1: Patch Release
π’ Overview
NLP Test 1.0.1 π comes with several improvements and bug fixes, including: a clean display format for expected and actual results on NER tests, support for a default spaCy text classifier, a bug fix for token mismatches in transformers, and many other enhancements and bug fixes!
A big thank you to our early-stage community for their feedback, questions, and feature requests. π
Make sure to give the project a star right here β
π₯ New Features & Enhancements
- Clean display for actual and expected results on NER tests #301
- Added default spaCy text classifier support #285
- Removed memory location display when calling Harness methods #302
- Enhanced error messages for spaCy model downloads #286
- Standardize NER model outputs for all supported libraries #289
π Bug Fixes
- Fix
swap_entities
augmentation failures #284 - Linked
replace_to_inter_racial_lastnames
andreplace_to_native_american_lastnames
to transformation #300 - Fix token mismatch issue occurring with transformers #279
β How to Use
Get started now! π
pip install nlptest
Create your test harness in 3 lines of code π§ͺ
# Import and create a Harness object
from nlptest import Harness
h = Harness(task='ner', model='dslim/bert-base-NER', hub='transformers')
# 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
- Change default data_dir by @luca-martial in #277
- update tutorial notebook links by @ArshaanNazir in #278
- fix: add spaCy model download error message by @chakravarthik27 in #286
- Update README.md by @gadde5300 in #288
- strip bio-tag from jsl by @ArshaanNazir in #290
- chore: strip BIO tag in NEROutput comparison by @JulesBelveze in #289
- fix jsl offset issue by @ArshaanNazir in #293
- Issue 225 finalize augmentation issues by @chakravarthik27 in #284
- fix AddPunctuation test category by @ArshaanNazir in #295
- fix: add perturbation tests and compute transformations by @JulesBelveze in #279
- docs/Add disclaimers and information to tests by @alytarik in #291
- Implementing full test suite for GH actions by @alytarik in #285
- Add pydantic dependency by @luca-martial in #296
- add HF real world notebook by @ArshaanNazir in #298
- fix bias tests by @ArshaanNazir in #300
- Feature: NER label display cleanup by @luca-martial in #301
- Fix/remove output from h.generate() and h.run() and h.augment() by @alytarik in #302
- Fix/add contraction issue by @ArshaanNazir in #303
- Release v1.0.1 by @luca-martial in #306
New Contributors
- @gadde5300 made their first contribution in #288
Full Changelog: v1.0.0...v1.0.1