8000 Add chat format to support baichuan by caiyesd · Pull Request #938 · abetlen/llama-cpp-python · GitHub
[go: up one dir, main page]

Skip to content

Add chat format to support baichuan #938

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

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

caiyesd
Copy link
Contributor
@caiyesd caiyesd commented Nov 23, 2023

Similar to #936, but support baichuan 1 (https://huggingface.co/baichuan-inc/Baichuan-13B-Chat)

How to use it

launch llama-cpp-python server with " --chat_format baichuan"

python3 -m llama_cpp.server --model models/baichuan-13b-chat-baichuan-Q3_K_M.gguf --host 0.0.0.0 --port 9000 --n_gpu_layers -1 --chat_format baichuan

Signed-off-by: caiyesd <caiyesd@gmail.com>
@abetlen abetlen merged commit 4184835 into abetlen:main Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0