]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Add OpenChat, Alpaca, Vicuna chat templates (#6397)
authorkaizau <redacted>
Wed, 3 Apr 2024 15:24:31 +0000 (23:24 +0800)
committerGitHub <redacted>
Wed, 3 Apr 2024 15:24:31 +0000 (17:24 +0200)
commit1ff4d9f3d683f02ef8a12e04bfac84300c44bd3a
tree009636b2cdb905fac501121c6234d0a8d0b09698
parent076b08649ecc3b0e1c0709c2a086a63eddd1bf32
Add OpenChat, Alpaca, Vicuna chat templates (#6397)

* Add openchat chat template

* Add chat template test for openchat

* Add chat template for vicuna

* Add chat template for orca-vicuna

* Add EOS for vicuna templates

* Combine vicuna chat templates

* Add tests for openchat and vicuna chat templates

* Add chat template for alpaca

* Add separate template name for vicuna-orca

* Remove alpaca, match deepseek with jinja output

* Regenerate chat template test with add_generation_prompt

* Separate deepseek bos from system message

* Match openchat template with jinja output

* Remove BOS token from templates, unprefix openchat
llama.cpp
tests/test-chat-template.cpp