Przeglądaj źródła

perplexity : do not escape input data by default (#9548)

Sigbjørn Skjæret 1 rok temu
rodzic
commit
722ec1eb51
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      examples/perplexity/perplexity.cpp

+ 1 - 0
examples/perplexity/perplexity.cpp

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