Skip to content

Commit

Permalink
Exact window model path
Browse files Browse the repository at this point in the history
  • Loading branch information
PleahMaCaka committed Mar 23, 2023
1 parent 279ea7b commit 71b4497
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions alpaca_turbo.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ def __init__(self, auto_load=True) -> None:
self.temp = 0.5
self.repeat_last_n = 64
self.repeat_penalty = 1.3

if platform.system() == "Windows":
Assistant.model_path = os.path.expanduser(Assistant.model_path).replace("/", "\\")

self.model_path = os.path.expanduser(Assistant.model_path)

self.persona = "chat transcript between human and a bot named devil and the bot remembers everything from previous response"
Expand Down

0 comments on commit 71b4497

Please sign in to comment.