Skip to content

Commit

Permalink
Add models (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
natolambert authored Sep 13, 2024
1 parent 6552e93 commit 82bd441
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
27 changes: 26 additions & 1 deletion scripts/configs/eval_configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -734,4 +734,29 @@ Skywork/Skywork-Reward-Llama-3.1-8B:
batch_size: 8
dpo: False
torch_dtype: bfloat16
trust_remote_code: False
trust_remote_code: False
LxzGordon/URM-LLaMa-3.1-8B:
model: LxzGordon/URM-LLaMa-3.1-8B
tokenizer: LxzGordon/URM-LLaMa-3.1-8B
chat_template: # none for tokenizer
batch_size: 4
dpo: False
trust_remote_code: True
quantized: False
LxzGordon/URM-LLaMa-3-8B:
model: LxzGordon/URM-LLaMa-3-8B
tokenizer: LxzGordon/URM-LLaMa-3-8B
chat_template: # none for tokenizer
batch_size: 4
dpo: False
trust_remote_code: True
quantized: False
# Skywork/Skywork-Critic-Llama-3.1-8B:
# model: Skywork/Skywork-Critic-Llama-3.1-8B
# tokenizer: Skywork/Skywork-Critic-Llama-3.1-8B
# chat_template: # none for tokenizer
# batch_size: 4
# dpo: False
# generative: True
# num_gpus: 1

3 changes: 3 additions & 0 deletions scripts/submit_eval_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@
d["tasks"][0]["arguments"][0] += " --pref_sets"
if eval_bfloat16:
d["tasks"][0]["arguments"][0] += " --torch_dtype=bfloat16"
if model_config["quantized"] is not None:
if not model_config["quantized"] and not eval_dpo:
d["tasks"][0]["arguments"][0] += " --not_quantized"

# for run_rm only, for now, and gemma-2-27b RMs
if "attention_implementation" in model_config:
Expand Down

0 comments on commit 82bd441

Please sign in to comment.