mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
Merge branch 'master' into concedo_experimental
# Conflicts: # README.md
This commit is contained in:
commit
32102c2064
9 changed files with 30 additions and 15 deletions
|
@ -198,7 +198,6 @@ def load_model(model_filename):
|
|||
inputs.executable_path = (getdirpath()+"/").encode("UTF-8")
|
||||
inputs.debugmode = args.debugmode
|
||||
banned_tokens = args.bantokens
|
||||
print(banned_tokens)
|
||||
for n in range(ban_token_max):
|
||||
if not banned_tokens or n >= len(banned_tokens):
|
||||
inputs.banned_tokens[n] = "".encode("UTF-8")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue