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

Add Intel/toxic-prompt-roberta to toxicity detection microservice #749

Merged

Conversation

daniel-de-leon-user293
Copy link
Contributor

Description

Replacing the current toxicity detection model with Intel/toxic-prompt-roberta

Issues

n/a

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

n/a

Tests

Successfully tested with:

  • docker build and run
  • python toxicity_detection.py
  • ran test_guardrails_toxicity_detection.sh script

Signed-off-by: Daniel Deleon <[email protected]>
Signed-off-by: Daniel Deleon <[email protected]>
Copy link
Collaborator

@ashahba ashahba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ashahba ashahba merged commit f6f620a into opea-project:main Sep 27, 2024
10 checks passed
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.

3 participants