From 2ea108404b538dd75db9ff35c4507ac803e75c5d Mon Sep 17 00:00:00 2001 From: randaller Date: Thu, 9 Mar 2023 21:36:17 +0300 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 1455bd1..c354437 100644 --- a/README.md +++ b/README.md @@ -71,3 +71,9 @@ Place (torrentroot)/tokenizer.model file to the [/tokenizer] folder of this repo ``` python example-chat.py ./model ./tokenizer/tokenizer.model ``` + +### Enable multi-line answers + +If you wish to stop generations not by "\n" sign, but by another signature, like "User:" (which is also good idea), or any other, make the following modification in the llama/generator.py: + +![image](https://user-images.githubusercontent.com/22396871/224122767-227deda4-a718-4774-a7f9-786c07d379cf.png)