]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Add chat template support for llama-cli (#8068)
authorXuan Son Nguyen <redacted>
Tue, 25 Jun 2024 11:56:49 +0000 (13:56 +0200)
committerGitHub <redacted>
Tue, 25 Jun 2024 11:56:49 +0000 (21:56 +1000)
commit48e6b92cc378c937e59719f2c0f482bf76c9ca81
treebc0a4febb8db815dfa1b37642b0b73b04ab8e0e7
parent3791ad219323389106dc3fd80814eb5bbb7b80de
Add chat template support for llama-cli (#8068)

* add chat template support for llama-cli

* add help message

* server: simplify format_chat

* more consistent naming

* improve

* add llama_chat_format_example

* fix server

* code style

* code style

* Update examples/main/main.cpp

Co-authored-by: Georgi Gerganov <redacted>
---------

Co-authored-by: Georgi Gerganov <redacted>
common/common.cpp
common/common.h
examples/main/main.cpp
examples/server/server.cpp
examples/server/utils.hpp
llama.cpp
tests/test-chat-template.cpp