Skip to content

Commit

Permalink
Set mirostat mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Nov 18, 2023
1 parent fda8675 commit c4c44ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions local_llm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ def __init__(
self.params["stop"] = stop
else:
self.params["stop"] = ["</|im_end|>", "</s>"]
self.params["mirostat_mode"] = 2
if temperature:
self.params["temperature"] = temperature
if top_p:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="local-llm",
version="0.0.25",
version="0.0.26",
description="Local-LLM is a llama.cpp server in Docker with OpenAI Style Endpoints.",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit c4c44ae

Please sign in to comment.