Skip to content

Commit

Permalink
fix maxlen
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyouga committed Feb 3, 2024
1 parent f4ec551 commit 6faaaf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/imitater/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.0"
__version__ = "0.2.1"
2 changes: 1 addition & 1 deletion src/imitater/model/chat_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def add_cli_args(parser: "ArgumentParser") -> None:
parser.add_argument("--path", type=str)
parser.add_argument("--device", type=int, nargs="+")
parser.add_argument("--port", type=int)
parser.add_argument("--maxlen", type=int, default=4096)
parser.add_argument("--maxlen", type=int, default=2048)
parser.add_argument("--agent_type", type=str, choices=list_agents(), default="react")
parser.add_argument("--template", type=str, default=None)
parser.add_argument("--gen_config", type=str, default=None)
Expand Down

0 comments on commit 6faaaf7

Please sign in to comment.