diff options
author | Wouter <9594229+DifferentialityDevelopment@users.noreply.github.com> | 2024-04-21 15:03:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-21 16:03:39 +0300 |
commit | 7dbdba5690ca61b3ee8c92cfac8e7e251042e787 (patch) | |
tree | e69ec3c9ed66163800320ffa180b7ec47391ae73 /examples/chat.sh | |
parent | c1386c936e9fbc38eb2816c711ab28f13355708e (diff) |
llama : add llama-3 chat template (#6751)
* Added llama-3 chat template
* Update llama.cpp
Co-authored-by: Samuel Tallet <36248671+SamuelTallet@users.noreply.github.com>
* Update llama.cpp
Co-authored-by: Samuel Tallet <36248671+SamuelTallet@users.noreply.github.com>
* Update tests/test-chat-template.cpp
Co-authored-by: Samuel Tallet <36248671+SamuelTallet@users.noreply.github.com>
* 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 <65483435+reneleonhardt@users.noreply.github.com>
* Update tests/test-chat-template.cpp
Co-authored-by: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com>
* 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 <tichelaarw@spar.net>
Co-authored-by: Samuel Tallet <36248671+SamuelTallet@users.noreply.github.com>
Co-authored-by: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com>
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'examples/chat.sh')
0 files changed, 0 insertions, 0 deletions