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

Safety level control #2516

Merged
merged 5 commits into from Apr 14, 2023
Merged

Safety level control #2516

merged 5 commits into from Apr 14, 2023

Conversation

shahules786
Copy link
Collaborator

This will enable us to control the safety level. There are two levels for safety Bot now

  • safety_level set to 1 means we intervene only in prompts considered highly harmful like CSAM whereas in 2 topics like body shaming, etc will be intervened.

inference/worker/work.py Outdated Show resolved Hide resolved
@olliestanley olliestanley merged commit 8069ebc into LAION-AI:main Apr 14, 2023
1 check 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.

None yet

2 participants