Skip to content

Add chat format to support baichuan#938

Merged
abetlen merged 1 commit intoabetlen:mainfrom
caiyesd:feature_support_baichuan_chat_format
Nov 23, 2023
Merged

Add chat format to support baichuan#938
abetlen merged 1 commit intoabetlen:mainfrom
caiyesd:feature_support_baichuan_chat_format

Conversation

@caiyesd
Copy link
Copy Markdown
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