-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Prompt format | ||
You can use `{prompt}` or `{{prompt}}` to indicate a prompt. | ||
The system prompt can be specified at the beginning of the template in the format `[system](<your system prompt>)`. | ||
|
||
## BOS option: | ||
Adds the Begin Of Session token to the beginning of the prompt. | ||
|
||
## EOS option: | ||
Adds the End Of Session token to the end of the prompt. | ||
|
||
## Option Special: | ||
If enabled, the tokenizer will accept special tokens in the template, such as `<|user|>`. | ||
|
||
## Option reverse prompts: | ||
Allows you to specify sequences at the occurrence of which the prediction will be stopped. The sequences are specified using commas. | ||
Example: `<|end|>,user:`. | ||
|
||
## Option skip tokens: | ||
Allows you to specify tokens (in string format) that will not be displayed in the prediction results. Tokens are specified using commas. | ||
Example: `<|end|>,<|assistant|>`. | ||
|
||
Translated with DeepL.com (free version) |