Update README.md

main
randaller 3 years ago committed by GitHub
parent 8178f70fc2
commit 2ea108404b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save