Skip to content

Commit

Permalink
release v0.2.2, fix #1478 #1466
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyouga committed Nov 13, 2023
1 parent 87390ae commit 35cc1e2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/llmtuner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
from llmtuner.webui import create_ui, create_web_demo


__version__ = "0.2.1"
__version__ = "0.2.2"
8 changes: 8 additions & 0 deletions src/llmtuner/extras/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ def register_model_group(
)


register_model_group(
models={
"LingoWhale-8B": "deeplang-ai/LingoWhale-8B"
},
module="qkv_proj"
)


register_model_group(
models={
"LLaMA-7B": "huggyllama/llama-7b",
Expand Down
2 changes: 1 addition & 1 deletion src/llmtuner/webui/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _parse_train_args(self, data: Dict[Component, Any]) -> Dict[str, Any]:
args["upcast_layernorm"] = True

if args["stage"] == "ppo":
args["reward_model"] = get("train.reward_model")
args["reward_model"] = get_save_dir(get("top.model_name"), get("top.finetuning_type"), get("train.reward_model"))

if args["stage"] == "dpo":
args["dpo_beta"] = get("train.dpo_beta")
Expand Down

0 comments on commit 35cc1e2

Please sign in to comment.