Skip to content

Commit

Permalink
Add merge_lora entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ProbablyFaiz committed Jun 16, 2024
1 parent bfa8d2b commit 58b8099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ build-backend = "setuptools.build_meta"
[project.scripts]
rl = "rl.cli.main:cli"
train_llm = "rl.llm.train_llm:main"
merge_lora = "rl.llm.merge_lora:merge_lora"

[tool.setuptools.packages]
find = {}
Expand Down
2 changes: 1 addition & 1 deletion rl/llm/train_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def get_trainer(
deepspeed=deepspeed_config,
# Save configuration
save_strategy="steps",
evaluation_strategy="steps",
eval_strategy="steps",
save_steps=eval_steps,
eval_steps=eval_steps,
save_total_limit=6,
Expand Down

0 comments on commit 58b8099

Please sign in to comment.