mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-16 07:24:05 +00:00
debug: add info
This commit is contained in:
parent
7d753ac5d2
commit
876bf2a66a
@ -5,6 +5,8 @@ from pilot.conversation import ROLE_ASSISTANT, ROLE_USER
|
||||
|
||||
def guanaco_generate_output(model, tokenizer, params, device, context_len=2048):
|
||||
"""Fork from: https://github.com/KohakuBlueleaf/guanaco-lora/blob/main/generate.py"""
|
||||
|
||||
print(params)
|
||||
stop = params.get("stop", "###")
|
||||
messages = params["prompt"].split(stop)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user