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

Add hyperparamter sweep to sweep.py; Fall back to eig when eigh fails #235

Merged
merged 15 commits into from
May 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
also pass num_shots into prompt_loader
  • Loading branch information
AlexTMallen committed May 1, 2023
commit ae85dbaf8d97acad8bdde39fa7494972c99f620e
3 changes: 2 additions & 1 deletion elk/extraction/extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,10 @@ def extract_hiddens(
prompt_ds = load_prompts(
ds_names[0],
binarize=cfg.binarize,
num_shots=cfg.num_shots,
num_variants=cfg.num_variants,
split_type=split_type,
template_path=cfg.template_path,
num_variants=cfg.num_variants,
rank=rank,
world_size=world_size,
)
Expand Down