Skip to content

Commit

Permalink
Adapted the rest of the scripts to the PEP8 standard
Browse files Browse the repository at this point in the history
  • Loading branch information
Hukasx0 committed Nov 20, 2023
1 parent 526e06a commit be7421a
Show file tree
Hide file tree
Showing 4 changed files with 730 additions and 244 deletions.
9 changes: 8 additions & 1 deletion app/main-mistral-webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ def load_models():
"temperature": 0.8,
"context_length": 8192,
"gpu_layers": gpu_layers,
"stop": ["/s", "</s>", "<s>", "[INST]", "[/INST]", "<|im_end|>"],
"stop": [
"/s",
"</s>",
"<s>",
"[INST]",
"[/INST]",
"<|im_end|>"
],
},
)

Expand Down
9 changes: 8 additions & 1 deletion app/main-mistral.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,14 @@ def prepare_llm():
"temperature": 0.8,
"context_length": 8192,
"gpu_layers": gpu_layers,
"stop": ["/s", "</s>", "<s>", "[INST]", "[/INST]", "<|im_end|>"],
"stop": [
"/s",
"</s>",
"<s>",
"[INST]",
"[/INST]",
"<|im_end|>"
],
},
)

Expand Down
Loading

0 comments on commit be7421a

Please sign in to comment.