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

Small fixes #97

Merged
merged 12 commits into from
Feb 15, 2024
4 changes: 2 additions & 2 deletions src/coffee/newhelm_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@


@dataclasses.dataclass
class NewSutDescription:
class SutDescription:
key: str
display_name: str

def __hash__(self):
return super().__hash__()


class NewhelmSut(NewSutDescription, Enum):
class NewhelmSut(SutDescription, Enum):
GPT2 = "gpt2", "OpenAI GPT-2"
LLAMA_2_7B = "llama-2-7b", "Meta Llama 2, 7b parameters"
4 changes: 2 additions & 2 deletions tests/make_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def run_tests_for_harm_on_sut(harm, sut, max_instances):
#
# Recreates the test data for the things that use newhelm results loaded from disk.
#
# You shouldn't normally need to run this. If you do, perhaps because of a strucutral change
# That makes it impossible to laod the data, make sure all the related tests are consistent.
# You shouldn't normally need to run this. If you do, perhaps because of a structural change
# That makes it impossible to load the data, make sure all the related tests are consistent.
#

load_plugins()
Expand Down
Loading