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 models #179

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
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
Loading