mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-18 16:00:41 +00:00
fix: guanaco output
This commit is contained in:
@@ -57,7 +57,7 @@ class BaseOutputParser(ABC):
|
||||
output = data["text"][skip_echo_len:].strip()
|
||||
elif "guanaco" in CFG.LLM_MODEL:
|
||||
# output = data["text"][skip_echo_len + 14:].replace("<s>", "").strip()
|
||||
output = data["text"][skip_echo_len:].replace("<s>", "").strip()
|
||||
output = data["text"][skip_echo_len + 2:].replace("<s>", "").strip()
|
||||
else:
|
||||
output = data["text"].strip()
|
||||
|
||||
|
Reference in New Issue
Block a user