-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb92e62
commit d5dce46
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
lib/style-transfer/bash/experiment/rb_gen/az/llama3.2-3b-complete-replaced.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export CUDA_VISIBLE_DEVICES=$1 | ||
python style_transfer/run_rb_gen.py model.name=meta-llama/Llama-3.2-3B-Instruct \ | ||
model.peft_config.target_modules='["q_proj", "k_proj", "v_proj", "o_proj", "gate_proj", "up_proj", "down_proj"]' \ | ||
dataset.name=bio-datasets/mimic-iii-gpt4o-tokens \ | ||
max_steps=5 \ | ||
dataset.num_generated_samples=3500 \ | ||
score.model.model_name_or_path=sentence-transformers/all-mpnet-base-v2 \ | ||
dataset.sft_ratio=0.06 \ | ||
dataset.gen_ratio=0.7 \ | ||
dataset.sft_dataset=null \ | ||
sft.training_args.eval_steps=30 \ | ||
score.train.train_size=0.6 \ | ||
dpo.training_args.num_train_epochs=10 \ | ||
dpo.percentile=70 \ | ||
score.batch_size=8 |
15 changes: 15 additions & 0 deletions
15
lib/style-transfer/bash/experiment/rb_gen/az/llama3.2-3b-pb-seed-replaced.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export CUDA_VISIBLE_DEVICES=$1 | ||
python style_transfer/run_rb_gen.py model.name=meta-llama/Llama-3.2-3B-Instruct \ | ||
model.peft_config.target_modules='["q_proj", "k_proj", "v_proj", "o_proj", "gate_proj", "up_proj", "down_proj"]' \ | ||
dataset.name=bio-datasets/mimic-iii-gpt4o-tokens \ | ||
max_steps=5 \ | ||
dataset.num_generated_samples=3500 \ | ||
score.model.model_name_or_path=sentence-transformers/all-mpnet-base-v2 \ | ||
dataset.sft_ratio=0.06 \ | ||
dataset.gen_ratio=0.7 \ | ||
sft.training_args.eval_steps=30 \ | ||
score.train.train_size=0.6 \ | ||
dataset.sft_dataset.size=977 \ | ||
dpo.training_args.num_train_epochs=20 \ | ||
dpo.percentile=70 \ | ||
score.batch_size=8 |