Skip to content

Commit

Permalink
fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
natolambert committed Jul 3, 2024
1 parent e7b62d8 commit 94bde23
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rewardbench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def map_conversations_ift(example):
]
return example

dataset = raw_dataset.map(
dataset = unrolled_dataset.map(
map_conversations_ift,
# fn_kwargs={"core_set": core_set},
num_proc=8,
Expand Down
9 changes: 9 additions & 0 deletions scripts/configs/eval_configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,15 @@ Ahjeong/MMPO_Gemma_7b:
batch_size: 2
trust_remote_code: False
dpo: True
Ahjeong/MMPO_Gemma_7b_gamma1.1_epoch3:
model: Ahjeong/MMPO_Gemma_7b_gamma1.1_epoch3
ref_model: kykim0/gemma-7b-ultrachat-sft
tokenizer: Ahjeong/MMPO_Gemma_7b_gamma1.1_epoch3
chat_template: # none for tokenizer
num_gpus: 2
batch_size: 2
trust_remote_code: False
dpo: True
wenbopan/Faro-Yi-9B-DPO:
model: wenbopan/Faro-Yi-9B-DPO
ref_model: wenbopan/Faro-Yi-9B
Expand Down
2 changes: 2 additions & 0 deletions scripts/run_generative.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ def main():
is_prometheus = True
elif "gemini" in args.model:
model_modifier = "gemini"
else:
model_modifier = None

############################
# Load dataset
Expand Down

0 comments on commit 94bde23

Please sign in to comment.