Commit graph

9 commits

Author SHA1 Message Date
anil
1eaace8ea3
Fix low_level_api_chat_cpp example to match current API (#1086)
* Fix low_level_api_chat_cpp to match current API

* Fix low_level_api_chat_cpp to match current API

* Using None instead of empty string to so that default prompt template can be used if no prompt provided

---------

Co-authored-by: Anil Pathak <anil@heyday.com>
2024-01-15 10:46:35 -05:00
Mug
996f63e9e1 Add utf8 to chat example 2023-05-06 15:16:58 +02:00
Mug
9797394c81 Wrong logit_bias parsed type 2023-05-06 13:27:52 +02:00
Mug
1895c11033 Rename postfix to suffix to match upstream 2023-05-06 13:18:25 +02:00
Mug
0e9f227afd Update low level examples 2023-05-04 18:33:08 +02:00
Mug
53d17ad003 Fixed end of text wrong type, and fix n_predict behaviour 2023-04-17 14:45:28 +02:00
Mug
3bb45f1658 More reasonable defaults 2023-04-10 16:38:45 +02:00
Mug
0cccb41a8f Added iterative search to prevent instructions from being echoed, add ignore eos, add no-mmap, fixed 1 character echo too much bug 2023-04-10 16:35:38 +02:00
Mug
16fc5b5d23 More interoperability to the original llama.cpp, and arguments now work 2023-04-07 13:32:19 +02:00
Renamed from examples/common.py (Browse further)