mirror of
https://github.com/p-e-w/heretic.git
synced 2026-09-26 05:51:25 -07:00
fix: adjust good/bad prompts hack to match tests
This commit is contained in:
+2
-2
@@ -413,13 +413,13 @@ def run():
|
|||||||
# TODO: Introduce a dedicated dataset setting for test prompts.
|
# TODO: Introduce a dedicated dataset setting for test prompts.
|
||||||
good_prompts_dataset = DatasetSpecification(
|
good_prompts_dataset = DatasetSpecification(
|
||||||
dataset="mlabonne/harmless_alpaca",
|
dataset="mlabonne/harmless_alpaca",
|
||||||
split="train[:400]",
|
split="train[:5]",
|
||||||
column="text",
|
column="text",
|
||||||
)
|
)
|
||||||
|
|
||||||
bad_prompts_dataset = DatasetSpecification(
|
bad_prompts_dataset = DatasetSpecification(
|
||||||
dataset="mlabonne/harmful_behaviors",
|
dataset="mlabonne/harmful_behaviors",
|
||||||
split="train[:400]",
|
split="train[:5]",
|
||||||
column="text",
|
column="text",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user