We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb554a2 commit d056228Copy full SHA for d056228
llama_cpp/llama_chat_format.py
@@ -1074,7 +1074,7 @@ def format_nekomata(
1074
1075
### 応答:
1076
""".format(
1077
- instruction=system_msg["content"], input=user_msg["content"]
+ instruction=system_msg["content"].strip(), input=user_msg["content"].strip()
1078
)
1079
1080
else:
@@ -1086,7 +1086,7 @@ def format_nekomata(
1086
1087
1088
1089
- input=user_msg["content"]
+ input=user_msg["content"].strip()
1090
1091
1092
prompt = prompt.lstrip("\n")
0 commit comments