]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Fix phi3 chat template confusion with zephyr (#7449)
authorTristan Druyen <redacted>
Thu, 23 May 2024 14:15:15 +0000 (16:15 +0200)
committerGitHub <redacted>
Thu, 23 May 2024 14:15:15 +0000 (16:15 +0200)
commit007489e895bad02e4e54758bf0bdf2d6a4cdb7c1
treef400e674d191ef7a9dac8f01b44f9a7542a62e23
parent8b94e799dfa482adf63419df4905dc79b37e179f
Fix phi3 chat template confusion with zephyr (#7449)

* Fix phi3 template matching vs zephyr

* Add regression test for new phi3 chat template

* Implement review suggestions

* Fix phi3 jinja test templates & match by <|end|>

* Apply suggestion

Co-authored-by: Xuan Son Nguyen <redacted>
* Add all phi3 template variants in tests

* Remove unneeded message trimming

Co-authored-by: Xuan Son Nguyen <redacted>
* Fix tests to not expect trimmed messages

---------

Co-authored-by: Xuan Son Nguyen <redacted>
llama.cpp
tests/test-chat-template.cpp