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

[P1] Question about the dataset #128

Open
csaiedu opened this issue Mar 7, 2025 · 1 comment
Open

[P1] Question about the dataset #128

csaiedu opened this issue Mar 7, 2025 · 1 comment
Assignees

Comments

@csaiedu
Copy link

csaiedu commented Mar 7, 2025

In the tutorials,
How do you actually go about generating thise model weights?

lsreft = torch.load(f"../results/prod_{model_name}_{layer}_concept16k_lsreft/train/LsReFT_weight.pt")
lsreft_metadata = load_jsonl(f"../results/prod_{model_name}_{layer}_concept16k_lsreft/train/metadata.jsonl")

thanks

@frankaging frankaging changed the title Question about the dataset [P1] Question about the dataset Mar 8, 2025
@frankaging frankaging self-assigned this Mar 8, 2025
@frankaging
Copy link
Collaborator

Hi, once you download the dataset from our HuggingFace repo here, you can train them using commands like:

torchrun --nproc_per_node=4 --master_port=30000 axbench/scripts/train.py \
  --config axbench/sweep/wuzhengx/2b/l20/16k_lsreft.yaml \
  --dump_dir axbench/results/prod_2b_l20_concept16k_lsreft \
  --overwrite_data_dir axbench/concept16k/prod_2b_l20_v1/generate \
  --run_name official

the yaml files are all released. see: https://github.com/stanfordnlp/axbench/blob/main/axbench/sweep/wuzhengx/2b/l20/16k_lsreft.yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants