mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-26 06:31:13 +02:00
default trim_stop to true, which trims any tokens after a stop sequence and the stop sequence itself. This is potentially a breaking change.
This commit is contained in:
+3
-4
@@ -89,7 +89,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"stop_sequence": {
|
||||
"description": "An array of string sequences where the API will stop generating further tokens. The returned text WILL contain the stop sequence.",
|
||||
"description": "An array of string sequences where the API will stop generating further tokens. The returned text WILL contain the stop sequence if trim_stop is false.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -197,8 +197,8 @@
|
||||
}
|
||||
},
|
||||
"trim_stop": {
|
||||
"default": false,
|
||||
"description": "KoboldCpp ONLY. If true, also removes detected stop_sequences from the output and truncates all text after them.",
|
||||
"default": true,
|
||||
"description": "KoboldCpp ONLY. If true, also removes detected stop_sequences from the output and truncates all text after them. If false, output will also include stop sequence and potentially a few additional characters.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"render_special": {
|
||||
@@ -1779,7 +1779,6 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
<script>
|
||||
//self destruct into json if requested
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
|
||||
Reference in New Issue
Block a user