]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : add llama-3 chat template (#6751)
authorWouter <redacted>
Sun, 21 Apr 2024 13:03:39 +0000 (15:03 +0200)
committerGitHub <redacted>
Sun, 21 Apr 2024 13:03:39 +0000 (16:03 +0300)
commit7dbdba5690ca61b3ee8c92cfac8e7e251042e787
treee69ec3c9ed66163800320ffa180b7ec47391ae73
parentc1386c936e9fbc38eb2816c711ab28f13355708e
llama : add llama-3 chat template (#6751)

* Added llama-3 chat template

* Update llama.cpp

Co-authored-by: Samuel Tallet <redacted>
* Update llama.cpp

Co-authored-by: Samuel Tallet <redacted>
* Update tests/test-chat-template.cpp

Co-authored-by: Samuel Tallet <redacted>
* Added EOS stop sequence according to https://github.com/ggerganov/llama.cpp/pull/6751#issuecomment-2065602862

* Removed adding of BOS token before first message

* Removed bos token from expected output from llama-3

* Update tests/test-chat-template.cpp

Co-authored-by: Rene Leonhardt <redacted>
* Update tests/test-chat-template.cpp

Co-authored-by: Rene Leonhardt <redacted>
* Added <|end_of_text|> as another stop token

* Reverted last change of adding the end_of_text stop word for llama 3

---------

Co-authored-by: Wouter Tichelaar <redacted>
Co-authored-by: Samuel Tallet <redacted>
Co-authored-by: Rene Leonhardt <redacted>
Co-authored-by: Georgi Gerganov <redacted>
llama.cpp
tests/test-chat-template.cpp