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

Fix eval yamls #609

Merged
merged 3 commits into from
Sep 20, 2023
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
2 changes: 1 addition & 1 deletion scripts/eval/yamls/hf_8bit_eval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ models:
model:
name: hf_causal_lm
pretrained_model_name_or_path: ${model_name_or_path}
init_device: cpu
init_device: mixed
pretrained: true
load_in_8bit: true
tokenizer:
Expand Down
2 changes: 1 addition & 1 deletion scripts/eval/yamls/hf_eval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ models:
model:
name: hf_causal_lm
pretrained_model_name_or_path: ${model_name_or_path}
init_device: cpu
init_device: mixed
pretrained: true
tokenizer:
name: ${model_name_or_path}
Expand Down
6 changes: 4 additions & 2 deletions scripts/eval/yamls/hf_lora_eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ precision: amp_fp16
# If you are using one model, put it here:
model_name_or_path: EleutherAI/gpt-neo-125m
# If you are using a seperated lora weight, put it here:
lora_id_or_path: nathan0/lora-gpt-neo-125m-alpaca
# lora weights must be compatible with the specified model
lora_id_or_path: edbeeching/gpt-neo-125M-imdb-lora # Example lora weights for gpt-neo-125m

# otherwise, write a block for each model you want to test in the `models` section

models:
Expand All @@ -14,7 +16,7 @@ models:
model:
name: hf_causal_lm
pretrained_model_name_or_path: ${model_name_or_path}
init_device: cpu
init_device: mixed
pretrained: true
pretrained_lora_id_or_path: ${lora_id_or_path}
tokenizer:
Expand Down
4 changes: 2 additions & 2 deletions scripts/eval/yamls/mpt_eval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ tokenizer_name: EleutherAI/gpt-neox-20b
seed: 1
precision: amp_fp16


models:
-
model_name: mpt_test
Expand All @@ -14,7 +13,8 @@ models:
model_max_length: ${max_seq_len}
model:
name: mpt_causal_lm
init_device: meta
init_device: mixed
dakinggg marked this conversation as resolved.
Show resolved Hide resolved
# Set the below model parameters to match the checkpoint specified with load_path
d_model: 768
n_heads: 12
n_layers: 12
Expand Down
Loading