Skip to content

Commit

Permalink
Merge pull request #136 from aiverify-foundation/ms-818
Browse files Browse the repository at this point in the history
fix bug on model rebuilding
  • Loading branch information
imda-jacksonboey authored Dec 6, 2024
2 parents 05443e6 + 825b74e commit 9bc4eb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions runners-modules/benchmarking.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,3 +1002,4 @@ def from_tuple(cls, cache_record: tuple) -> PromptArguments:
random_seed=cache_record[12],
system_prompt=cache_record[13],
)
PromptArguments.model_rebuild()
1 change: 1 addition & 0 deletions runners-modules/redteaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,3 +417,4 @@ def to_dict(self) -> dict:
"duration": str(self.connector_prompt.duration),
"start_time": self.start_time,
}
RedTeamingPromptArguments.model_rebuild()

0 comments on commit 9bc4eb8

Please sign in to comment.