-
Notifications
You must be signed in to change notification settings - Fork 979
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
Add the Command R chat format #1382
base: main
Are you sure you want to change the base?
Conversation
This should not strictly be necessary as recent GGUFs have the chat format embedded (which will be automatically applied through Jinja2ChatFormatter), I've submitted a request in older repos on HF to be updated (and many of them have already done so). If you have an outdated GGUF and don't wish to redownload it you can update your local file using the python gguf-new-metadata.py input.gguf output.gguf --chat-template-config tokenizer_config.json |
@CISC
As soon as more GGUFs have the formats embedded the situation changes. But right I now this merge would just be super helpful. The model is a powerhouse for the open weights community. Merge would be <3 <3 <3 |
@uncodecomplexsystems As you say, it's just a minor merge, I'm not opposed to it, I'm just saying it's not strictly necessary. :) |
Thanks, I didn't know that! I have various GGUFs for Qwen-1.5, Command R, and Llama 3's, and the automatic setup of the chat format looks like this:
I thought those with And confusingly, Command R kind of works with the |
Yes, None means it found an embedded template (that is not recognized as any specific template, enable verbose and it will output the full template), if no template can be guessed or found it will fall back to llama-2, see llama.py. |
Based on the inactivity both in this PR and the phi3 one I suppose your stance @abetlen is to not merge any more new chat templates into llama-cpp-python, right? |
@uncodecomplexsystems Patience, I'm sure there's just a lot going on (here or elsewhere) right now. |
it's worth noting that llama.cpp/examples/server now has an OpenAI API compatible endpoint its own chat template handling, which i believe is based on the ggerganov/llama.cpp#6822 |
No description provided.