]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
main : alternative instruct mode (Vicuna support, etc.) (#863)
authorTomáš Pazdiora <redacted>
Fri, 14 Apr 2023 15:19:17 +0000 (17:19 +0200)
committerGitHub <redacted>
Fri, 14 Apr 2023 15:19:17 +0000 (18:19 +0300)
commitf4d277ae17247ee51129ef1a9ff74d377cc90b1b
tree6473c4a1d5ac2ccfe39f496d6c8c60395b84c10d
parentc9a59b70a54e0bc05777df287feaea3dbe0310c4
main : alternative instruct mode (Vicuna support, etc.) (#863)

* Add support for configs, add configurable prefixes / suffixes, deprecate instruct mode, add stop prompt

* Add multiline mode, update text input.

* bugfix

* update implementation

* typos

* Change --multiline implementation to be toggled by EOF.

* bugfix

* default multiline mode

* add more configs

* update formating

* update formatting

* apply suggestions
12 files changed:
configs/alpaca-native-enhanced.txt [new file with mode: 0644]
configs/alpaca.txt [new file with mode: 0644]
configs/chat-with-bob.txt [new file with mode: 0644]
configs/llama.txt [new file with mode: 0644]
configs/vicuna-simple.txt [new file with mode: 0644]
configs/vicuna-stop.txt [new file with mode: 0644]
configs/vicuna.txt [new file with mode: 0644]
examples/common.cpp
examples/common.h
examples/main/main.cpp
prompts/alpaca.txt [deleted file]
prompts/chat-with-bob.txt [deleted file]