mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-20 01:31:42 +02:00
interrogate max length increased
This commit is contained in:
+1
-1
@@ -3156,7 +3156,7 @@ ws ::= | " " | "\n" [ \t]{0,20}
|
|||||||
elif api_format==5:
|
elif api_format==5:
|
||||||
firstimg = genparams.get('image', "")
|
firstimg = genparams.get('image', "")
|
||||||
genparams["images"] = [firstimg]
|
genparams["images"] = [firstimg]
|
||||||
genparams["max_length"] = 42
|
genparams["max_length"] = 150
|
||||||
adapter_obj = {} if chatcompl_adapter is None else chatcompl_adapter
|
adapter_obj = {} if chatcompl_adapter is None else chatcompl_adapter
|
||||||
user_message_start = adapter_obj.get("user_start", "### Instruction:")
|
user_message_start = adapter_obj.get("user_start", "### Instruction:")
|
||||||
assistant_message_start = adapter_obj.get("assistant_start", "### Response:")
|
assistant_message_start = adapter_obj.get("assistant_start", "### Response:")
|
||||||
|
|||||||
Reference in New Issue
Block a user