Skip to content

How to write a chat template for llama.cpp server? #5822

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AFKler opened this issue Mar 1, 2024 · 2 comments
Closed

How to write a chat template for llama.cpp server? #5822

AFKler opened this issue Mar 1, 2024 · 2 comments
Labels

Comments

@AFKler
Copy link

AFKler commented Mar 1, 2024

Which variables do i have to use in jina? How to define user-name and system-name?

#5766 (comment)

@ngxson
Copy link
Collaborator

ngxson commented Mar 2, 2024

Currently it's not possible, you can only use these templates: https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template

The ability to have custom prefix for user - system - assistant maybe added in the future

Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants