Skip to content

Commit

Permalink
Add example regexes for gemma 2 2b
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkarvonen committed Oct 25, 2024
1 parent 14b5025 commit aea66aa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions evals/shift_and_tpp/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,18 @@ def str_to_bool(value):
r".*blocks\.([4])\.hook_resid_post__trainer_(2|6|10|14)$",
]

# For Gemma-2-2b
sae_regex_patterns = [
r"sae_bench_gemma-2-2b_sweep_topk_ctx128_ef8_0824",
r"sae_bench_gemma-2-2b_sweep_standard_ctx128_ef8_0824",
r"(gemma-scope-2b-pt-res)",
]
sae_block_pattern = [
r".*blocks\.19(?!.*step).*",
r".*blocks\.19(?!.*step).*",
r".*layer_(19).*(16k).*",
]

sae_regex_patterns = None
sae_block_pattern = None

Expand Down

0 comments on commit aea66aa

Please sign in to comment.