rwkv.cpp/rwkv
Jarrett Ye ac663631e1
Improve the prompt & fix chinese display issue & support commands (#34)
* update the prompt

* Fix/chinese display issue

* remove debug code

* support commands (#1)

+reset +gen +i +qq +qa +++ ++ +

* run_rnn before decode

* remove debug code

* deep copy logits

* remove extra print()

* print newline if reach max_tokens_per_generation

* fix typo in init prompt

* Update rwkv/chat_with_bot.py

Co-authored-by: Alex <saharNooby@users.noreply.github.com>

* Update rwkv/chat_with_bot.py

Co-authored-by: Alex <saharNooby@users.noreply.github.com>

* Update rwkv/chat_with_bot.py

Co-authored-by: Alex <saharNooby@users.noreply.github.com>

* Update rwkv/chat_with_bot.py

Co-authored-by: Alex <saharNooby@users.noreply.github.com>

* refine code & type annotation

* add comments for commands

* support change temp & top_p during chat.

* set default language & prompt

---------

Co-authored-by: Alex <saharNooby@users.noreply.github.com>
2023-04-22 12:48:44 +05:00
..
20B_tokenizer.json Add text generation and chat scripts 2023-04-02 15:03:31 +04:00
chat_with_bot.py Improve the prompt & fix chinese display issue & support commands (#34) 2023-04-22 12:48:44 +05:00
convert_pytorch_to_ggml.py Update file format documentation 2023-04-14 18:59:16 +04:00
generate_completions.py suggestions 2023-04-03 08:25:54 +02:00
measure_pexplexity.py Add script that measures perplexity 2023-04-08 10:41:16 +04:00
merge_lora_into_ggml.py Add LoRA loading support 2023-04-15 20:46:30 +04:00
quantize.py Add Q4_1_O format 2023-04-07 09:55:39 +04:00
requirements.txt Add text generation and chat scripts 2023-04-02 15:03:31 +04:00
rwkv_cpp_model.py Add Q4_1_O format 2023-04-07 09:55:39 +04:00
rwkv_cpp_shared_library.py Remove reference impl comparison test 2023-04-08 10:01:29 +04:00
sampling.py Add text generation and chat scripts 2023-04-02 15:03:31 +04:00