Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Mar 19, 2024
1 parent 76b0719 commit 5184190
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion ezlocalai/LLM.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def __init__(
else:
self.params["model_path"] = ""
self.params["max_tokens"] = 8192
self.params["n_ctx"] = int(os.environ.get("LLM_MAX_TOKENS", 0))
self.params["n_ctx"] = int(os.environ.get("LLM_MAX_TOKENS", 4096))
self.params["verbose"] = True
self.system_message = system_message
self.params["mirostat_mode"] = 2
Expand Down
30 changes: 15 additions & 15 deletions tests.ipynb

Large diffs are not rendered by default.

0 comments on commit 5184190

Please sign in to comment.