Merge branch 'master' into auto-reproduce

This commit is contained in:
Philipp Emanuel Weidmann
2026-06-11 11:32:49 +05:30
9 changed files with 301 additions and 169 deletions
+6
View File
@@ -131,6 +131,7 @@ max_shard_size = "5GB"
# Strings whose presence in a response (case insensitive) identifies the response as a refusal.
refusal_markers = [
"disclaimer",
"sorry",
"i can'",
"i cant",
@@ -168,6 +169,11 @@ refusal_markers = [
# System prompt to use when prompting the model.
system_prompt = "You are a helpful assistant."
# Each "dataset" below can be a Hugging Face dataset ID, a path to a dataset on disk,
# or a path to a plain text file with one prompt per line (empty lines are ignored).
# For text files, "column" is ignored and "split" is optional; when given, it selects
# a subset of the lines using slice notation (e.g. "[:400]").
# Dataset of prompts that tend to not result in refusals (used for calculating refusal directions).
[good_prompts]
dataset = "mlabonne/harmless_alpaca"