Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding DistilBertForZeroShotClassification in python and scala #13765

Conversation

ahmedlone127
Copy link
Contributor

New Annotator DistilBertForZeroShotClassification

Description

Added DistilBertForZeroShotClassification in Scala and Python

How Has This Been Tested?

Scala and python unit tests ( last unit test does not work at the moment because of the sequence classifier bug)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Code improvements with no or little impact
  • [X ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

python/sparknlp/internal/__init__.py Outdated Show resolved Hide resolved
@maziyarpanahi maziyarpanahi changed the base branch from master to release/441-release-candidate April 24, 2023 09:44
@maziyarpanahi maziyarpanahi merged commit aa0b3ca into release/441-release-candidate Apr 24, 2023
maziyarpanahi added a commit that referenced this pull request Apr 25, 2023
* Bump version to 4.4.1

* [skip test] Import examples for swin and convnext (#13755)

* SPARKNLP-800 Adding threshold parameter to all XXXForSequenceClassification and XXXForZeroShotClassification (#13760)

* adding DistilBertForZeroShotClassification in python and scala (#13765)

* adding DistilBertForZeroShotClassification in python and scala

* Fix coding style and wrong class in internal

---------

Co-authored-by: Maziyar Panahi <maziyar.panahi@iscpif.fr>

* Update CHANGELOG and docs [run doc]

* Update Scala and Python APIs

* Release 4.4.1 on Conda [skip test]

---------

Co-authored-by: Devin Ha <33089471+DevinTDHa@users.noreply.github.com>
Co-authored-by: Danilo Burbano <37355249+danilojsl@users.noreply.github.com>
Co-authored-by: ahmedlone127 <ahmedlone127@gmail.com>
Co-authored-by: github-actions <action@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants