Skip to content

Set teacher ckptr output_dir to match student in KD configs #2185

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

Merged
merged 1 commit into from
Dec 19, 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
2 changes: 1 addition & 1 deletion recipes/configs/llama3_2/8B_to_1B_KD_lora_distributed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ teacher_checkpointer:
model-00004-of-00004.safetensors
]
recipe_checkpoint: null
output_dir: /tmp/Meta-Llama-3.1-8B-Instruct/
output_dir: ${output_dir}
model_type: LLAMA3

# Dataset and Sampler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ teacher_checkpointer:
model-00004-of-00004.safetensors
]
recipe_checkpoint: null
output_dir: /tmp/Meta-Llama-3.1-8B-Instruct/
output_dir: ${output_dir}
model_type: LLAMA3

# Dataset and Sampler
Expand Down
2 changes: 1 addition & 1 deletion recipes/configs/qwen2/1.5_to_0.5B_KD_lora_distributed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ teacher_checkpointer:
hf_model_0001_0.pt
]
recipe_checkpoint: null
output_dir: /tmp/Qwen2-1.5B-Instruct-lora-finetune
output_dir: ${output_dir}
model_type: QWEN2

resume_from_checkpoint: False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ teacher_checkpointer:
model.safetensors
]
recipe_checkpoint: null
output_dir: /tmp/Qwen2-1.5B-Instruct
output_dir: ${output_dir}
model_type: QWEN2

resume_from_checkpoint: False
Expand Down
Loading