-
Notifications
You must be signed in to change notification settings - Fork 438
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 Adding retry functionality to PromptSendingOrchestrator #467
Open
blakebullwinkel
wants to merge
43
commits into
Azure:main
Choose a base branch
from
blakebullwinkel:blakebullwinkel/pso_retry
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
64a8a7f
removed incorrect line from refusal scorer system prompt
blakebullwinkel f2f6fa1
added suffix initialization parameter
blakebullwinkel 67e087a
added initial implementation of PSO retry functionality
blakebullwinkel e5da320
pointing Dockerfile git clone to blakebullwinkel/pso_retry branch
blakebullwinkel 342888d
fixed data types of RetryResult arguments
blakebullwinkel 9063ccf
added docstrings to PSO methods, ran pre-commit hooks
blakebullwinkel 64af4d8
ran pre-commit hooks on run.py
blakebullwinkel f4fe86b
updated gcg demo notebook to work with latest PSO changes
blakebullwinkel ea91581
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel dc7e864
reverting git clone to pyrit main
blakebullwinkel b218989
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel 0bf82a9
simplified and refactored PSO retry functionality
blakebullwinkel 1f3157e
updated gcg demo notebook with new PSO retry logic
blakebullwinkel dabddd1
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel cb8e000
addressed comments on PR and added RetryResult dataclass for readability
blakebullwinkel 2ddc194
changed retry_scorer arg type and added check for true_false scorer
blakebullwinkel 49e2f62
removed temporary git clone path from Dockerfile
blakebullwinkel d3e048c
added docstring to argument parser in run.py
blakebullwinkel 969ed2a
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel 3f20a00
updated max retries argument in demo notebook
blakebullwinkel ff2e82e
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel 5f36502
updated endpoint arg of AzureMLChatTarget
blakebullwinkel 0a10929
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel be00556
reran demo notebook
blakebullwinkel 7b82622
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel af5fa7b
added first test for PSO retry
blakebullwinkel 9697a48
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel aff7ecf
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel 216f758
standardized phi-3 model experiments under single phi-3 chat template
blakebullwinkel f91210e
added config files for phi-3-small and phi-3-medium
blakebullwinkel 20ebda1
added temporary installation path
blakebullwinkel 7f6b2b0
added phi_3_small and phi_3_medium to list of supported models for gcg
blakebullwinkel 2858ad0
reformatted gcg_azure_ml demo notebook
blakebullwinkel ff85028
stashing changes
blakebullwinkel de01d78
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel 841198b
Merge branch 'main' into blakebullwinkel/pso_retry
blakebullwinkel b3ca4c0
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel 6b4781f
removing default initialization of retry_scorer because we don't know…
blakebullwinkel 6c6b283
fixing pso retry functionality
blakebullwinkel 55548d2
Merge remote-tracking branch 'blakebullwinkel/main' into blakebullwin…
blakebullwinkel 9cefc30
added draft PromptSendingOrchestratorWithRetries class
blakebullwinkel db78318
updated GCG demo notebook
blakebullwinkel bc614da
temporarily commented out PSO retry tests
blakebullwinkel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ...¿∆ΠΩμ*?. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...¿∆ΠΩμ*?.