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

FEAT: Add example_count field to ManyShotJailbreakOrchestrator #748

Merged

Conversation

nina-msft
Copy link
Contributor

@nina-msft nina-msft commented Mar 1, 2025

Description

Added an example_count field to the ManyShotJailbreakOrchestrator. This was in response to a failing notebook, which illustrated that including all 400 examples from the dataset by default exceeded token limits for the objective target.

The notebook now feeds in the first 5 examples for illustration purposes, and the orchestrator by default sends up to the first 100 examples.

Tests and Documentation

Jupyter Notebook run manually and passes. Unit test updated to reflect changes in orchestrator.

Copy link
Contributor

@romanlutz romanlutz left a comment

Choose a reason for hiding this comment

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

Looks good! Just a comment and maybe a test update/addition needed?

@nina-msft nina-msft merged commit 95e85b3 into Azure:main Mar 3, 2025
14 checks passed
@nina-msft nina-msft deleted the users/nina-msft/many_shot_jailbreak_bug_fix branch March 26, 2025 00:27
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.

4 participants