Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 49c4cae

Browse files
committed
update CI
Signed-off-by: minmingzhu <[email protected]>
1 parent 572add3 commit 49c4cae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev/scripts/patch_yaml_config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ def patch_yaml_config():
7272
else:
7373
result["General"]["lora_config"] = None
7474
if args.dpo:
75+
if "finetuning_model" not in result["Training"]:
76+
result["Training"]["finetuning_model"] = {}
77+
7578
if args.models == "mistralai/Mistral-7B-v0.1":
7679
result["Dataset"]["train_file"] = "examples/data/sample_dpo_data.jsonl"
7780
result["Training"]["beta"] = 0.1

0 commit comments

Comments
 (0)