llama.cpp/examples/llama.swiftui/llama.cpp.swift
Huifeng Ou 69b9945b44
llama.swiftui: fix end of generation bug (#8268)
* fix continuing generating blank lines after getting EOT token or EOS token from LLM

* change variable name to is_done (variable name suggested by ggerganov)

* minor : fix trailing whitespace

* minor : add space

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-07-20 16:09:37 +03:00
..
LibLlama.swift llama.swiftui: fix end of generation bug (#8268) 2024-07-20 16:09:37 +03:00