-
Notifications
You must be signed in to change notification settings - Fork 15
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(bench): support safety attack #851
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #851 +/- ##
==========================================
- Coverage 70.15% 68.50% -1.66%
==========================================
Files 80 81 +1
Lines 3569 3655 +86
==========================================
Hits 2504 2504
- Misses 1065 1151 +86
|
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.
please ignore this dataset file. This should not be included.
pyproject.toml
Outdated
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.
this dependency was changed due to @chengzr01 's suggestions. maybe we need to double consider that.
It works well on server deployment. Is the error related to poetry version? Maybe we need to set it as >=2.2.1 < 2.5.0
with open('./adversarial_prompts.json', 'r', encoding='utf-8') as f: | ||
adversarial_data = json.load(f) | ||
|
||
# θ―»ε task.csv ζδ»ΆεΉΆζε»Ί task ε° domain ηζ ε° |
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.
avoid chinese character in the code.
raise ValueError('Failed to generate proposal') | ||
|
||
|
||
def write_proposal_researchtown_nodb( |
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.
what does this nodb stands for? you init db class, right?
@@ -29,8 +29,14 @@ def __init__( | |||
@beartype | |||
def on_enter(self, **context: Any) -> None: | |||
# Assign leader and members from context or sample them | |||
self.leader = context.get('leader', self.agent_manager.sample_leader()) | |||
self.members = context.get('members', self.agent_manager.sample_members()) | |||
if context.get('leader') is None: |
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.
can you help change all the things in all environment files here? this is a potential bug in research-town
Closes #
π Description
β Checks
type/descript
(e.g.feature/add-llm-agents
)βΉ Additional Information