Add instruct mode guidebook page.

This commit is contained in:
SillyLossy
2023-05-12 14:33:06 +03:00
parent 87ac2583ac
commit 401706f5b4
2 changed files with 49 additions and 2 deletions

View File

@@ -42,8 +42,9 @@
"#@markdown Enables Silero text-to-speech module\n",
"extras_enable_sd = True #@param {type:\"boolean\"}\n",
"#@markdown Enables SD picture generation\n",
"SD_Model = \"ckpt/anything-v4.5-vae-swapped\" #@param [ \"ckpt/anything-v4.5-vae-swapped\", \"ckpt/sd15\" ]\n",
"SD_Model = \"ckpt/anything-v4.5-vae-swapped\" #@param [ \"ckpt/anything-v4.5-vae-swapped\", \"philz1337/clarity\", \"ckpt/sd15\" ]\n",
"#@markdown * ckpt/anything-v4.5-vae-swapped - anime style model\n",
"#@markdown * philz1337/clarity - realistic style model\n",
"#@markdown * ckpt/sd15 - base SD 1.5\n",
"\n",
"import subprocess\n",

View File

@@ -416,7 +416,53 @@ _When using Pygmalion models these anchors are automatically disabled, since Pyg
## Instruct Mode
_This section is under construction. Please check later._
Instruct Mode allows you to adjust the prompting for instruction-following models, such as Alpaca, Metharme, WizardLM, etc.
**This is not supported for OpenAI API.**
### Instruct Mode Settings
#### System Prompt
Added to the beginning of each prompt. Should define the instructions for the model to follow.
For example:
```
Write one reply in internet RP style for {{char}}. Be verbose and creative.
```
#### Presets
Provides ready-made presets with prompts and sequences for some well-known instruct models.
*Changing a preset resets your system prompt to default!*
#### Input Sequence
Text added before the user's input.
#### Output Sequence
Text added before the character's reply.
#### System Sequence
Text added before the system prompt.
#### Stop Sequence
Text that denotes the end of the reply. Will be trimmed from the output text.
#### Include Names
If enabled, prepend character and user names to chat history logs after inserting the sequences.
*Always enabled for group chats!*
#### Wrap Sequences with Newline
Each sequence text will be wrapped with newline characters when inserted to the prompt. Required for Alpaca and its derivatives.
## Chat import