mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
NS Mode (comment fix)
This commit is contained in:
@ -530,7 +530,7 @@ def loadmodelsettings():
|
||||
if vars.model_type == "xglm" or js.get("compat", "j") == "fairseq_lm":
|
||||
vars.newlinemode = "s" # Default to </s> newline mode if using XGLM
|
||||
if vars.model_type == "opt":
|
||||
vars.newlinemode = "ns" # Default to </s> newline mode if using XGLM
|
||||
vars.newlinemode = "ns" # Handle </s> but don't convert newlines if using Fairseq models that have newlines trained in them
|
||||
vars.modelconfig = js
|
||||
if("badwordsids" in js):
|
||||
vars.badwordsids = js["badwordsids"]
|
||||
|
Reference in New Issue
Block a user