Inifinite generation via context swapping (#71)

This commit is contained in:
Georgi Gerganov 2023-03-25 21:36:22 +02:00
parent 03f7e33560
commit e2d490dafd
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
4 changed files with 100 additions and 40 deletions

View file

@ -7,4 +7,10 @@
cd `dirname $0`
cd ..
./main -m ./models/7B/ggml-model-q4_0.bin -b 128 -n 256 --repeat_penalty 1.0 --color -i -r "User:" -f prompts/chat-with-bob.txt
# Important:
#
# "--keep 48" is based on the contents of prompts/chat-with-bob.txt
#
./main -m ./models/7B/ggml-model-q4_0.bin -c 2048 -b 1024 -n 256 --keep 48 \
--repeat_penalty 1.0 --color -i \
-r "User:" -f prompts/chat-with-bob.txt