llama_cpp_for_radxa_dragon_.../common
vvhg1 d3956aea53
main : escape prompt for cfg_negative_prompt and consecutive inputs in main with interactive (#3623)
* infill tokens correction

* serverinfill tokens correction

* removing any leading whitespace from infill suffix and removing leeading space token from suffix when params.escape

* removing any leading whitespace from infill suffix and removing leeading space token from suffix when params.escape

* only rm when params.escape, rm space if possible which is added back or rm added space token

* only rm when params.escape, rm space if possible which is added back or rm added space token

* Revert "only rm when params.escape, rm space if possible which is added back or rm added space token"

This reverts commit 63ba0b621f21077c0e3bc6ba6a327534123cb738.

* fix interactive prompt escaping and fix server infill leading space handling

* rm unnecessary bool check

* process escapes for neg prompt and interactive consec prompts

* removed unneccessary static string escape
2023-10-22 21:09:51 +03:00
..
CMakeLists.txt
common.cpp main : escape prompt for cfg_negative_prompt and consecutive inputs in main with interactive (#3623) 2023-10-22 21:09:51 +03:00
common.h
console.cpp
console.h
grammar-parser.cpp
grammar-parser.h
log.h
sampling.cpp
sampling.h
stb_image.h
train.cpp
train.h