]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
perplexity : do not escape input data by default (#9548)
authorSigbjørn Skjæret <redacted>
Fri, 20 Sep 2024 06:38:10 +0000 (08:38 +0200)
committerGitHub <redacted>
Fri, 20 Sep 2024 06:38:10 +0000 (09:38 +0300)
examples/perplexity/perplexity.cpp

index 18e75a7a20f1a010801390d3cbc93eb24a784278..cbd4666567ea55b5d38502cc671ec21f1a9b23d3 100644 (file)
@@ -1961,6 +1961,7 @@ int main(int argc, char ** argv) {
 
     params.n_ctx = 512;
     params.logits_all = true;
+    params.escape = false;
 
     if (!gpt_params_parse(argc, argv, params, LLAMA_EXAMPLE_PERPLEXITY)) {
         return 1;