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
This commit is contained in:
parent
c9a59b70a5
commit
f4d277ae17
12 changed files with 445 additions and 121 deletions
9
configs/alpaca.txt
Normal file
9
configs/alpaca.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
--clean-interface
|
||||
--interactive-first
|
||||
--keep -1
|
||||
--ins-prefix-bos
|
||||
--ins-prefix "\n\n### Instruction:\n\n"
|
||||
--ins-suffix "\n\n### Response:\n\n"
|
||||
--reverse-prompt "### Instruction:\n\n"
|
||||
|
||||
-p "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n"
|
Loading…
Add table
Add a link
Reference in a new issue